Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
a47f4eeafb
  1. 2
      includes/iguana_defines.h
  2. 2
      includes/iguana_structs.h

2
includes/iguana_defines.h

@ -57,7 +57,7 @@
#define IGUANA_MAXBUNDLES (50000000 / 500)
#define IGUANA_MINPEERS 64
#define IGUANA_LOG2MAXPEERS 11
#define IGUANA_LOG2MAXPEERS 10 // affects ramchain data format!
#define IGUANA_LOG2PEERFILESIZE 23
#define IGUANA_MAXPEERS (1 << IGUANA_LOG2MAXPEERS)

2
includes/iguana_structs.h

@ -272,7 +272,7 @@ struct iguana_spend256 { bits256 prevhash2; uint64_t scriptpos:48,vinscriptlen:1
// permanent readonly structs
struct iguana_txid { bits256 txid; uint64_t txidind:29,firstvout:28,firstvin:28,bundlei:11,locktime:32,version:32,timestamp:32,extraoffset:32; uint16_t numvouts,numvins; }PACKEDSTRUCT;
struct iguana_unspent { uint64_t value; uint32_t txidind,pkind,prevunspentind,scriptpos; uint16_t scriptlen,hdrsi; uint16_t fileid:11,type:5; int16_t vout; }PACKEDSTRUCT;
struct iguana_unspent { uint64_t value; uint32_t txidind,pkind,prevunspentind,scriptpos; uint16_t scriptlen,hdrsi; uint16_t fileid:IGUANA_LOG2MAXPEERS+1,type:5; int16_t vout; }PACKEDSTRUCT;
struct iguana_spend { uint64_t scriptpos:48,scriptlen:16; uint32_t spendtxidind,sequenceid; int16_t prevout; uint16_t fileid:15,external:1; }PACKEDSTRUCT; // numsigs:4,numpubkeys:4,p2sh:1,sighash:4

Loading…
Cancel
Save