MCPcopy Create free account
hub / github.com/LUX-Core/lux / SignalsOptInRBF

Function SignalsOptInRBF

src/rbf.cpp:9–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

IsRBFOptInFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected