diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-02-22 11:03:19 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-02-22 11:03:19 -0500 |
commit | 8c7358e1ddc16048c3f2f3cd58caf8c1d7798ba4 (patch) | |
tree | 696f4ced464a63e50c9aba0767796a1102fcf58c /src | |
parent | e1bad25feec4ac7d26beb39cc61b62c2a0129cc2 (diff) | |
parent | ceaa13eff2486b5b311ead97223213c41d473092 (diff) |
Merge branch 'reorginfo' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
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; } |