MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsRBFOptInEmptyMempool

Function IsRBFOptInEmptyMempool

src/policy/rbf.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52RBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx)
53{
54 // If we don't have a local mempool we can only check the transaction itself.
55 return SignalsOptInRBF(tx) ? RBFTransactionState::REPLACEABLE_BIP125 : RBFTransactionState::UNKNOWN;
56}
57
58std::optional<std::string> GetEntriesForConflicts(const CTransaction& tx,
59 CTxMemPool& pool,

Callers 1

isRBFOptInMethod · 0.85

Calls 1

SignalsOptInRBFFunction · 0.85

Tested by

no test coverage detected