Dash Core  0.12.2.1
P2P Digital Currency
rbf.h
Go to the documentation of this file.
1 // Copyright (c) 2016 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_POLICY_RBF_H
6 #define BITCOIN_POLICY_RBF_H
7 
8 #include "txmempool.h"
9 
10 // Check whether the sequence numbers on this transaction are signaling
11 // opt-in to replace-by-fee, according to BIP 125
12 bool SignalsOptInRBF(const CTransaction &tx);
13 
14 // Determine whether an in-mempool transaction is signaling opt-in to RBF
15 // according to BIP 125
16 // This involves checking sequence numbers of the transaction, as well
17 // as the sequence numbers of all in-mempool ancestors.
18 bool IsRBFOptIn(const CTxMemPoolEntry &entry, CTxMemPool &pool);
19 
20 #endif // BITCOIN_POLICY_RBF_H
bool SignalsOptInRBF(const CTransaction &tx)
Definition: rbf.cpp:7
bool IsRBFOptIn(const CTxMemPoolEntry &entry, CTxMemPool &pool)
Definition: rbf.cpp:17