mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Add withdraw-claimed tracking to mempool and enforce it
This commit is contained in:
parent
16063366d9
commit
79d422acfa
4 changed files with 56 additions and 5 deletions
|
|
@ -140,8 +140,9 @@ CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(CTransaction &txn, CTxMemPool *po
|
|||
// Hack to assume either its completely dependent on other mempool txs or not at all
|
||||
CAmount inChainValue = hasNoDependencies ? txn.GetValueOut() : 0;
|
||||
|
||||
std::set<std::pair<uint256, COutPoint> > mapWithdrawsSpent;
|
||||
return CTxMemPoolEntry(txn, nFee, nTime, dPriority, nHeight,
|
||||
hasNoDependencies, inChainValue, spendsCoinbase, sigOpCost, lp);
|
||||
hasNoDependencies, inChainValue, spendsCoinbase, sigOpCost, lp, mapWithdrawsSpent);
|
||||
}
|
||||
|
||||
void Shutdown(void* parg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue