mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Make orphan logging more verbose, displaying mapOrphanTransactions.size()
Old log message: storing orphan tx df2244f6bc New log message: storing orphan tx df2244f6bc (mapsz 51) Also, trim a few trailing whitespace in main.cpp.
This commit is contained in:
parent
6c513a45d5
commit
6d64a0bfed
1 changed files with 7 additions and 5 deletions
|
@ -2704,7 +2704,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||
}
|
||||
else if (fMissingInputs)
|
||||
{
|
||||
printf("storing orphan tx %s\n", inv.hash.ToString().substr(0,10).c_str());
|
||||
printf("storing orphan tx %s (mapsz %d)\n",
|
||||
inv.hash.ToString().substr(0,10).c_str(),
|
||||
mapOrphanTransactions.size() + 1);
|
||||
AddOrphanTx(vMsg);
|
||||
|
||||
// DoS prevention: do not allow mapOrphanTransactions to grow unbounded
|
||||
|
|
Loading…
Add table
Reference in a new issue