MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SignalsOptInRBF

Function SignalsOptInRBF

src/policy/rbf.cpp:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <policy/rbf.h>
6
7bool SignalsOptInRBF(const CTransaction &tx)
8{
9 for (const CTxIn &txin : tx.vin) {
10 if (txin.nSequence < std::numeric_limits<unsigned int>::max()-1) {
11 return true;
12 }
13 }
14 return false;
15}
16
17RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool)
18{

Callers 3

IsRBFOptInFunction · 0.85
feebumper.cppFile · 0.85
ConstructTransactionFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected