diff options
| author | Alex Morcos <[email protected]> | 2017-01-19 14:59:28 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-02-27 11:23:50 -0500 |
| commit | 400b15147cf1c4757927935222611e8d3481e739 (patch) | |
| tree | 60b8bf57b3c698f333640daa3cc10fe4f791d445 /src/miner.cpp | |
| parent | [mining] Remove -blockprioritysize. (diff) | |
| download | discoin-400b15147cf1c4757927935222611e8d3481e739.tar.xz discoin-400b15147cf1c4757927935222611e8d3481e739.zip | |
[debug] Change -printpriority option
-printpriority output is now changed to only show the fee rate and hash of transactions included in a block by the mining code.
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index 1198dbb09..75c9d82a2 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -263,11 +263,7 @@ void BlockAssembler::AddToBlock(CTxMemPool::txiter iter) bool fPrintPriority = GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY); if (fPrintPriority) { - double dPriority = iter->GetPriority(nHeight); - CAmount dummy; - mempool.ApplyDeltas(iter->GetTx().GetHash(), dPriority, dummy); - LogPrintf("priority %.1f fee %s txid %s\n", - dPriority, + LogPrintf("fee %s txid %s\n", CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(), iter->GetTx().GetHash().ToString()); } |