| 7 | #include "rbf.h" |
| 8 | |
| 9 | bool 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 | |
| 19 | bool IsRBFOptIn(const CTxMemPoolEntry &entry, CTxMemPool &pool) |
| 20 | { |