diff options
| author | Alex Morcos <[email protected]> | 2017-01-20 09:24:35 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-03-03 16:50:20 -0500 |
| commit | 359e8a03d1667dca3e8375695131b8b5e6c54f0a (patch) | |
| tree | b92b29328bfce5456650488ad40ed87350697b1a /src/bench/mempool_eviction.cpp | |
| parent | [rpc] Remove priorityDelta from prioritisetransaction (diff) | |
| download | discoin-359e8a03d1667dca3e8375695131b8b5e6c54f0a.tar.xz discoin-359e8a03d1667dca3e8375695131b8b5e6c54f0a.zip | |
[cleanup] Remove coin age priority completely.
Remove GetPriority and ComputePriority. Remove internal machinery for tracking priority in CTxMemPoolEntry.
Diffstat (limited to 'src/bench/mempool_eviction.cpp')
| -rw-r--r-- | src/bench/mempool_eviction.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 5790d51a8..31a392ae7 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -12,14 +12,13 @@ static void AddTx(const CTransaction& tx, const CAmount& nFee, CTxMemPool& pool) { int64_t nTime = 0; - double dPriority = 10.0; unsigned int nHeight = 1; bool spendsCoinbase = false; unsigned int sigOpCost = 4; LockPoints lp; pool.addUnchecked(tx.GetHash(), CTxMemPoolEntry( - MakeTransactionRef(tx), nFee, nTime, dPriority, nHeight, - tx.GetValueOut(), spendsCoinbase, sigOpCost, lp)); + MakeTransactionRef(tx), nFee, nTime, nHeight, + spendsCoinbase, sigOpCost, lp)); } // Right now this is only testing eviction performance in an extremely small |