mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
Fix BlockAssembler::AddToBlock, CTxMemPool::PrioritiseTransaction logging
This commit is contained in:
parent
7f7bd3111c
commit
c17f554fcc
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ void BlockAssembler::AddToBlock(CTxMemPool::txiter iter)
|
||||||
|
|
||||||
bool fPrintPriority = gArgs.GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY);
|
bool fPrintPriority = gArgs.GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY);
|
||||||
if (fPrintPriority) {
|
if (fPrintPriority) {
|
||||||
LogPrintf("fee %s txid %s\n",
|
LogPrintf("fee rate %s txid %s\n",
|
||||||
CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(),
|
CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(),
|
||||||
iter->GetTx().GetHash().ToString());
|
iter->GetTx().GetHash().ToString());
|
||||||
}
|
}
|
||||||
|
|
|
@ -924,7 +924,7 @@ void CTxMemPool::PrioritiseTransaction(const uint256& hash, const CAmount& nFeeD
|
||||||
++nTransactionsUpdated;
|
++nTransactionsUpdated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LogPrintf("PrioritiseTransaction: %s feerate += %s\n", hash.ToString(), FormatMoney(nFeeDelta));
|
LogPrintf("PrioritiseTransaction: %s fee += %s\n", hash.ToString(), FormatMoney(nFeeDelta));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CTxMemPool::ApplyDelta(const uint256& hash, CAmount &nFeeDelta) const
|
void CTxMemPool::ApplyDelta(const uint256& hash, CAmount &nFeeDelta) const
|
||||||
|
|
Loading…
Add table
Reference in a new issue