From 96babdff6ad61969319ff451cbd61ffd808b635a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 May 2016 18:21:26 -0500 Subject: [PATCH] test --- iguana/SuperNET.c | 4 ++-- iguana/iguana_payments.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index d3f6400a9..a76015bcf 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -778,7 +778,7 @@ char *SuperNET_p2p(struct iguana_info *coin,struct iguana_peer *addr,int32_t *de return(0); } else { char str[65]; printf("GENESIS recv %s\n",bits256_str(str,senderpub)); } } else printf("GENESIS recv GENESIS\n"); - } else printf("decrypted mypriv.%llx senderpub.%llx\n",(long long)privkey.txid,(long long)senderpub.txid); + } //else printf("decrypted mypriv.%llx senderpub.%llx\n",(long long)privkey.txid,(long long)senderpub.txid); //for (i=0; ivalidpub > 0 ) addr->validpub >>= 1; else addr->validpub--; - printf("validpub.%d: %x vs %x priv.%llx senderpub.%llx\n",addr->validpub,checkc,othercheckc,(long long)myinfo->privkey.txid,(long long)senderpub.txid); + //printf("validpub.%d: %x vs %x priv.%llx senderpub.%llx\n",addr->validpub,checkc,othercheckc,(long long)myinfo->privkey.txid,(long long)senderpub.txid); } maxdelay = juint(json,"maxdelay"); //if ( 1 && jstr(json,"method") != 0 && strcmp(jstr(json,"method"),"getpeers") != 0 ) diff --git a/iguana/iguana_payments.c b/iguana/iguana_payments.c index bc61fd163..735233e8e 100755 --- a/iguana/iguana_payments.c +++ b/iguana/iguana_payments.c @@ -410,7 +410,7 @@ char *iguana_rawtxissue(struct supernet_info *myinfo,struct iguana_info *coin,cJ { struct rawtx_queue *ptr; struct iguana_peer *addr; uint8_t spendscript[IGUANA_MAXSCRIPTSIZE]; int32_t i,n,spendlen,delay = 0; cJSON *reqjson,*valsobj,*txobj = 0; uint32_t rawtxtag; char *rawtx = 0; double expiration; *vinsp = 0; - if ( coin->VALIDATENODE != 0 || coin->RELAYNODE != 0 ) + if ( 0 && (coin->VALIDATENODE != 0 || coin->RELAYNODE != 0) ) { if ( (txobj= bitcoin_txcreate(coin,locktime)) != 0 ) {