Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
522bc74d68
  1. 2
      iguana/iguana777.h
  2. 1
      iguana/iguana_recv.c

2
iguana/iguana777.h

@ -276,7 +276,7 @@ struct iguana_block
int32_t height,fpos; uint32_t fpipbits,numrequests,issued;
uint16_t hdrsi,bundlei:12,mainchain:1,valid:1,queued:1,tbd:1,extra:8;
UT_hash_handle hh; bits256 *blockhashes;
} __attribute__((packed));
};// __attribute__((packed));
#define IGUANA_LHASH_BLOCKS 0

1
iguana/iguana_recv.c

@ -469,6 +469,7 @@ struct iguana_bundle *iguana_bundleset(struct iguana_info *coin,struct iguana_bl
fprintf(stderr,"bundleset block.%p vs origblock.%p\n",block,origblock);
if ( block != origblock )
iguana_blockcopy(coin,block,origblock);
fprintf(stderr,"copy %p\n",blockp);
*blockp = block;
prevhash2 = origblock->RO.prev_block;
fprintf(stderr,"set prevhash2\n");

Loading…
Cancel
Save