diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-06-05 09:15:31 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-08-03 13:42:45 +1000 |
commit | 1e9684f39fba909b3501e9402d5b61f4bf744ff2 (patch) | |
tree | 7524d67ec7719984df88b260ea1b00215e9fbe42 /src/bench/mempool_eviction.cpp | |
parent | 54ba330f7984cebc2164fa4ad449d0164a765108 (diff) | |
download | bitcoin-1e9684f39fba909b3501e9402d5b61f4bf744ff2.tar.xz |
mempool_entry: add mempool entry sequence number
Diffstat (limited to 'src/bench/mempool_eviction.cpp')
-rw-r--r-- | src/bench/mempool_eviction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 735dc92dfb..1a9b013277 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -13,11 +13,12 @@ static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& po { int64_t nTime = 0; unsigned int nHeight = 1; + uint64_t sequence = 0; bool spendsCoinbase = false; unsigned int sigOpCost = 4; LockPoints lp; pool.addUnchecked(CTxMemPoolEntry( - tx, nFee, nTime, nHeight, + tx, nFee, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp)); } |