aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-02-22 11:03:19 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-02-22 11:03:19 -0500
commit8c7358e1ddc16048c3f2f3cd58caf8c1d7798ba4 (patch)
tree696f4ced464a63e50c9aba0767796a1102fcf58c /src
parente1bad25feec4ac7d26beb39cc61b62c2a0129cc2 (diff)
parentceaa13eff2486b5b311ead97223213c41d473092 (diff)
Merge branch 'reorginfo' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 812386a801..520d1ab87c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1405,6 +1405,9 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew)
BOOST_FOREACH(CTransaction& tx, vDelete)
tx.RemoveFromMemoryPool();
+ printf("REORGANIZE: Disconnected %i blocks; %s..%s\n", vDisconnect.size(), pfork->GetBlockHash().ToString().substr(0,20).c_str(), pindexBest->GetBlockHash().ToString().substr(0,20).c_str());
+ printf("REORGANIZE: Connected %i blocks; %s..%s\n", vConnect.size(), pfork->GetBlockHash().ToString().substr(0,20).c_str(), pindexNew->GetBlockHash().ToString().substr(0,20).c_str());
+
return true;
}