MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsRBFOptInEmptyMempool

Function IsRBFOptInEmptyMempool

src/policy/rbf.cpp:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44RBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx)
45{
46 // If we don't have a local mempool we can only check the transaction itself.
47 return SignalsOptInRBF(tx) ? RBFTransactionState::REPLACEABLE_BIP125 : RBFTransactionState::UNKNOWN;
48}
49
50std::optional<std::string> GetEntriesForConflicts(const CTransaction& tx,
51 CTxMemPool& pool,

Callers 1

isRBFOptInMethod · 0.85

Calls 1

SignalsOptInRBFFunction · 0.85

Tested by

no test coverage detected