 |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the documentation of this file.
27 uint64_t noLimit = std::numeric_limits<uint64_t>::max();
std::set< txiter, CompareIteratorByHash > setEntries
indexed_transaction_set::nth_index< 0 >::type::const_iterator txiter
RBFTransactionState
The rbf state of unconfirmed transactions.
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
RBFTransactionState IsRBFOptInEmptyMempool(const CTransaction &tx)
bool CalculateMemPoolAncestors(const CTxMemPoolEntry &entry, setEntries &setAncestors, uint64_t limitAncestorCount, uint64_t limitAncestorSize, uint64_t limitDescendantCount, uint64_t limitDescendantSize, std::string &errString, bool fSearchForParents=true) const EXCLUSIVE_LOCKS_REQUIRED(cs)
Try to calculate all in-mempool ancestors of entry.
The basic transaction that is broadcasted on the network and contained in blocks.
RecursiveMutex cs
This mutex needs to be locked when accessing mapTx or other members that are guarded by it.
#define AssertLockHeld(cs)
@ FINAL
Neither this tx nor a mempool ancestor signals rbf.
bool exists(const GenTxid >xid) const
@ UNKNOWN
Unconfirmed tx that does not signal rbf and is not in the mempool.
const uint256 & GetHash() const
RBFTransactionState IsRBFOptIn(const CTransaction &tx, const CTxMemPool &pool)
Determine whether an unconfirmed transaction is signaling opt-in to RBF according to BIP 125 This inv...
@ REPLACEABLE_BIP125
Either this tx or a mempool ancestor signals rbf.
bool SignalsOptInRBF(const CTransaction &tx)