From 652b8e5bab216fcb1b12e157e0af2415b76bac19 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Oct 2016 13:26:51 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 4 ++-- iguana/tests/notaryinit | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index dacb5298d..f4efd8e67 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -32,7 +32,7 @@ bits256 dpow_getbestblockhash(struct supernet_info *myinfo,struct iguana_info *c { if ( (retstr= bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getbestblockhash","")) != 0 ) { - printf("getbestblockhash.(%s)\n",retstr); + printf("%s getbestblockhash.(%s)\n",coin->symbol,retstr); if ( is_hexstr(retstr,0) == sizeof(blockhash)*2 ) decode_hex(blockhash.bytes,sizeof(blockhash),retstr); free(retstr); @@ -56,7 +56,7 @@ cJSON *dpow_getblock(struct supernet_info *myinfo,struct iguana_info *coin,bits2 { sprintf(buf,"\"%s\"",bits256_str(str,blockhash)); retstr = bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getblock",buf); - printf("getblock.(%s)\n",retstr); + //printf("getblock.(%s)\n",retstr); } else if ( coin->FULLNODE > 0 || coin->VALIDATENODE > 0 ) { diff --git a/iguana/tests/notaryinit b/iguana/tests/notaryinit index e3417a52f..4b05eda53 100755 --- a/iguana/tests/notaryinit +++ b/iguana/tests/notaryinit @@ -8,6 +8,6 @@ tests/getinfoN_7776 curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}" ./wp curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"activehandle\"}" -coins/btc_7776 -coins/kmd_7776 +btc_7776 +kmd_7776 tests/dpow_7776