mempool_entry: add mempool entry sequence number

This commit is contained in:
Anthony Towns
2023-06-05 09:15:31 +10:00
parent 54ba330f79
commit 1e9684f39f
10 changed files with 18 additions and 10 deletions

View File

@@ -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));
}