From 0a505e302e99f01b45acfc91c2958de241326f9a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Nov 2018 07:12:45 -1100 Subject: [PATCH] +print --- src/txdb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/txdb.cpp b/src/txdb.cpp index cb853331f..5ff3beda4 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -453,7 +453,7 @@ UniValue CBlockTreeDB::Snapshot(int top) }; int64_t startingHeight = chainActive.Height(); - //fprintf(stderr, "Starting snapshot at height %lli\n", startingHeight); + fprintf(stderr, "Starting snapshot at height %lli\n", startingHeight); for (iter->SeekToLast(); iter->Valid(); iter->Prev()) { boost::this_thread::interruption_point(); @@ -467,7 +467,7 @@ UniValue CBlockTreeDB::Snapshot(int top) ssKey >> chType; ssKey >> indexKey; - //fprintf(stderr, "chType=%d\n", chType); + fprintf(stderr, "chType=%d vs %d\n", chType,DB_ADDRESSUNSPENTINDEX); if (chType == DB_ADDRESSUNSPENTINDEX) { try { @@ -512,7 +512,7 @@ UniValue CBlockTreeDB::Snapshot(int top) } UniValue addresses(UniValue::VARR); - //fprintf(stderr, "total=%f, totalAddresses=%li, utxos=%li, ignored=%li\n", (double) total / COIN, totalAddresses, utxos, ignoredAddresses); + fprintf(stderr, "total=%f, totalAddresses=%li, utxos=%li, ignored=%li\n", (double) total / COIN, totalAddresses, utxos, ignoredAddresses); for (std::pair element : addressAmounts) { vaddr.push_back( make_pair(element.second, element.first) );