diff --git a/gecko/gecko_blocks.c b/gecko/gecko_blocks.c index 51e93d12d..0791582b0 100755 --- a/gecko/gecko_blocks.c +++ b/gecko/gecko_blocks.c @@ -128,7 +128,10 @@ int32_t gecko_hwmset(struct supernet_info *myinfo,struct iguana_info *virt,struc } else return(-1); addr = &virt->internaladdr; if ( gecko_ensurebundle(virt,block,block->height,depth) == 0 ) + { + printf("no bundle for %s.%d\n",virt->symbol,block->height); return(-1); + } if ( iguana_ramchain_data(virt,addr,txdata,txarray,block->RO.txn_count,data,datalen) >= 0 ) { block->fpipbits = (uint32_t)addr->ipbits; @@ -155,7 +158,7 @@ int32_t gecko_hwmset(struct supernet_info *myinfo,struct iguana_info *virt,struc //printf("created block.%d [%d:%d] %d\n",block->height,bp!=0?bp->hdrsi:-1,block->height%virt->chain->bundlesize,bp->numsaved); } return(block->height); - } + } else printf("Error updating virt ramchain\n"); return(-1); } diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index 6a7400c7b..12463aeea 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -319,7 +319,7 @@ int32_t iguana_peerblockrequest(struct iguana_info *coin,uint8_t *blockspace,int if ( coin->virtualchain != 0 ) ; if ( block != 0 ) - printf("iguana_peerblockrequest: block.%p ht.%d mainchain.%d [%d:%d] from %s\n",block,block->height,block->mainchain,bp->hdrsi,bundlei,addr!=0?addr->ipaddr:"local"); + printf("iguana_peerblockrequest: block.%p ht.%d mainchain.%d [%d:%d] from %s bp.%p rdata.%p\n",block,block->height,block->mainchain,bp->hdrsi,bundlei,addr!=0?addr->ipaddr:"local",bp,bp!=0?bp->ramchain.H.data:0); else printf("iguana_peerblockrequest: block.%p [%d:%d]\n",block,bp->hdrsi,bundlei); } } //else printf("iguana_peerblockrequest: cant find %s\n",bits256_str(str,hash2));