| 5 | #include <policy/rbf.h> |
| 6 | |
| 7 | bool 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 | |
| 17 | RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool) |
| 18 | { |
no test coverage detected