Remove broken PrintWallet functionality

This commit is contained in:
Pieter Wuille
2013-10-19 17:30:11 +02:00
parent fe52346450
commit e010af7089
3 changed files with 0 additions and 25 deletions

View File

@@ -129,14 +129,6 @@ void static UpdatedTransaction(const uint256& hashTx)
pwallet->UpdatedTransaction(hashTx);
}
// dump all wallets
void static PrintWallets(const CBlock& block)
{
LOCK(cs_setpwalletRegistered);
BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered)
pwallet->PrintWallet(block);
}
// notify wallets about an incoming inventory (for request counts)
void static Inventory(const uint256& hash)
{
@@ -3031,8 +3023,6 @@ void PrintBlockTree()
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", block.GetBlockTime()).c_str(),
block.vtx.size());
PrintWallets(block);
// put the main time-chain first
vector<CBlockIndex*>& vNext = mapNext[pindex];
for (unsigned int i = 0; i < vNext.size(); i++)