From 35506c9ae6da43b94853025c9a9d0ca41f211d73 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 21 Sep 2018 20:31:19 -1100 Subject: [PATCH] Test --- src/rpcblockchain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index bec1692c6..b78d46e19 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -1417,8 +1417,10 @@ UniValue getchaintips(const UniValue& params, bool fHelp) of another block. */ std::set setTips; + int32_t n = 0; BOOST_FOREACH(const PAIRTYPE(const uint256, CBlockIndex*)& item, mapBlockIndex) { + fprintf(stderr,"iterator %d\n",n++); setTips.insert(item.second); } BOOST_FOREACH(const PAIRTYPE(const uint256, CBlockIndex*)& item, mapBlockIndex)