Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b790f1a690
  1. 3
      iguana/iguana_recv.c

3
iguana/iguana_recv.c

@ -765,6 +765,8 @@ void iguana_bundle_set(struct iguana_info *coin,struct iguana_block *block,int32
} }
void iguana_hwmchain_set(struct iguana_info *coin,struct iguana_block *block,int32_t height) void iguana_hwmchain_set(struct iguana_info *coin,struct iguana_block *block,int32_t height)
{
if ( coin->RTheight > 0 )
{ {
if ( block->height == height ) if ( block->height == height )
{ {
@ -772,6 +774,7 @@ void iguana_hwmchain_set(struct iguana_info *coin,struct iguana_block *block,int
char str[65]; printf("SET HWM.%s ht.%d\n",bits256_str(str,block->RO.hash2),height); char str[65]; printf("SET HWM.%s ht.%d\n",bits256_str(str,block->RO.hash2),height);
} else printf("iguana_hwmchain_set: mismatched ht.%d vs %d\n",block->height,height); } else printf("iguana_hwmchain_set: mismatched ht.%d vs %d\n",block->height,height);
} }
}
void iguana_mainchain_clear(struct iguana_info *coin,struct iguana_block *mainchain,struct iguana_block *oldhwm,int32_t n) void iguana_mainchain_clear(struct iguana_info *coin,struct iguana_block *mainchain,struct iguana_block *oldhwm,int32_t n)
{ {

Loading…
Cancel
Save