From 40f34206f8ef8d7e9e860f5acc9630da50b2328e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 14 Aug 2016 19:19:30 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 2 -- iguana/iguana_ramchain.c | 2 +- iguana/iguana_spendvectors.c | 3 ++- iguana/iguana_volatiles.c | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 4a65c5d6a..ed12085ff 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -536,9 +536,7 @@ int32_t iguana_utxogen(struct supernet_info *myinfo,struct iguana_info *coin,int coin->spendvectorsaved = (uint32_t)time(NULL); coin->spendvalidated = 0; printf("%s UTXOGEN spendvectorsaved <- %u\n",coin->symbol,coin->spendvectorsaved); -#ifdef ENABLE_UTXOADDR iguana_utxoaddr_gen(myinfo,coin,(coin->bundlescount - 1) * coin->chain->bundlesize); -#endif } else { diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 16c3ab036..536089ac7 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -209,7 +209,7 @@ uint32_t iguana_ramchain_addtxid(struct iguana_info *coin,RAMCHAIN_FUNC,bits256 } if ( ptr->hh.itemind != txidind ) { - printf("iguana_ramchain_addtxid warning: adding txidind.%u vs %u\n",txidind,ptr->hh.itemind); + printf("iguana_ramchain_addtxid %d warning: adding txidind.%u vs %u\n",ramchain->height,txidind,ptr->hh.itemind); } } return(txidind); diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index 32616cd0f..5e29a4f00 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -509,7 +509,8 @@ int32_t iguana_balancegen(struct iguana_info *coin,int32_t incremental,struct ig { utxoaddr->RTcredits += u->value; coin->RTcredits += u->value; - } + printf("[%d] u%u += %.8f\n",bp->hdrsi,u->pkind,dstr(u->value)); + } else printf("cant find utxoaddr\n"); } } else unspentind += T[txidind].numvouts; for (k=0; kRTdebits += spent_value; coin->RTdebits += spent_value; + printf("from.%d [%d] u%u -= %.8f\n",fromheight,spent_hdrsi,spent_pkind,dstr(spent_value)); } return(0); }