Fix BlockAssembler::AddToBlock, CTxMemPool::PrioritiseTransaction logging
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user