diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index ab48649af..54881879b 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -82,7 +82,7 @@ int32_t basilisk_submit(struct supernet_info *myinfo,cJSON *reqjson,int32_t time int32_t i,j,k,l,r2,r,n; struct iguana_peer *addr; struct iguana_info *coin; char *reqstr; cJSON *tmpjson; tmpjson = basilisk_json(myinfo,reqjson,ptr->basilisktag,timeout); reqstr = jprint(tmpjson,1); - //printf("basilisk_submit.(%s)\n",reqstr); + printf("basilisk_submit.(%s)\n",reqstr); if ( fanout <= 0 ) fanout = BASILISK_MINFANOUT; else if ( fanout > BASILISK_MAXFANOUT ) @@ -100,6 +100,7 @@ int32_t basilisk_submit(struct supernet_info *myinfo,cJSON *reqjson,int32_t time if ( (addr= &coin->peers.active[j]) != 0 && addr->supernet != 0 && addr->usock >= 0 ) { ptr->submit = (uint32_t)time(NULL); + printf("submit to (%s)\n",addr->ipaddr); iguana_send_supernet(addr,reqstr,0); if ( n++ > fanout ) break; diff --git a/basilisk/basilisk_bitcoin.c b/basilisk/basilisk_bitcoin.c index c78f591f1..0d461651b 100755 --- a/basilisk/basilisk_bitcoin.c +++ b/basilisk/basilisk_bitcoin.c @@ -606,6 +606,7 @@ char *basilisk_bitcoinrawtx(struct supernet_info *myinfo,struct iguana_info *coi jaddstr(hexjson,"method","rawtx"); jaddstr(hexjson,"activecoin",coin->symbol); jadd(hexjson,"vals",jduplicate(valsobj)); + printf("issue\n"); if ( (ptr= basilisk_issue(myinfo,hexjson,timeoutmillis,0,1,basilisktag)) != 0 ) { for (i=0; inumresults; i++)