mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Merge branch 'reorginfo' of https://github.com/sipa/bitcoin
This commit is contained in:
@ -1405,6 +1405,9 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew)
|
|||||||
BOOST_FOREACH(CTransaction& tx, vDelete)
|
BOOST_FOREACH(CTransaction& tx, vDelete)
|
||||||
tx.RemoveFromMemoryPool();
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user