jl777 8 years ago
parent
commit
9cc66cea5f
  1. 1
      basilisk/basilisk_ping.c
  2. 2
      iguana/iguana_notary.c

1
basilisk/basilisk_ping.c

@ -250,6 +250,7 @@ void basilisk_ping_process(struct supernet_info *myinfo,struct iguana_peer *addr
//for (i=0; i<datalen; i++)
// printf("%02x",data[i]);
printf("<<<<<<<<<<< input ping from.(%s) rel.%d numrelays.%d datalen.%d relay.%d Q.%d\n",ipbuf,basilisk_relayid(myinfo,(uint32_t)calc_ipbits(ipbuf)),numrelays,datalen,myinfo->NOTARY.RELAYID,QUEUEITEMS);
basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits(ipbuf),GENESIS_PUBKEY);
}
int32_t basilisk_ping_gen(struct supernet_info *myinfo,uint8_t *data,int32_t maxlen)

2
iguana/iguana_notary.c

@ -797,7 +797,7 @@ void dpow_handler(struct supernet_info *myinfo,struct basilisk_message *msg)
init_hexbytes_noT(bp->signedtx,&msg->data[32],msg->datalen-32);
if ( bits256_cmp(txid,srchash) == 0 )
{
printf("verify it is properly signed! set ht.%d signedtxid to %s\n",height,bits256_str(str,txid));
printf("verify (%s) it is properly signed! set ht.%d signedtxid to %s\n",bp->coin->symbol,height,bits256_str(str,txid));
bp->signedtxid = txid;
bp->state = 0xffffffff;
}

Loading…
Cancel
Save