From a8961ee0cced5098d60309ba6435569a55e0eb4a Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Nov 2016 12:36:13 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 2 ++ src/miner.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 568883b08..5ed928000 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -153,8 +153,10 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char * if ( strcmp(symbol,"KMD") != 0 ) opcode = 'I'; else opcode = 'X'; + printf("gateway deposits\n"); HASH_ITER(hh,PAX,pax,tmp) { + printf("pax.%p\n",pax); if ( pax->marked != 0 ) continue; if ( ASSETCHAINS_SYMBOL[0] != 0 ) diff --git a/src/miner.cpp b/src/miner.cpp index 76c1ae3a0..b692b47d7 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -125,7 +125,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) break; sleep(10); } - if ( ASSETCHAINS_SYMBOL[0] != 0 ) + if ( deposits != 0 ) printf("miner KOMODO_DEPOSIT %llu pblock->nHeight %d mempool.GetTotalTxSize(%d)\n",(long long)komodo_paxtotal(),(int32_t)chainActive.Tip()->nHeight,(int32_t)mempool.GetTotalTxSize()); // -regtest only: allow overriding block.nVersion with