Bitcoin Core  0.19.99
P2P Digital Currency
rbf.h
Go to the documentation of this file.
1 // Copyright (c) 2016-2018 The Bitcoin Core 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_UTIL_RBF_H
6 #define BITCOIN_UTIL_RBF_H
7 
8 #include <cstdint>
9 
10 class CTransaction;
11 
12 static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
13 
14 // Check whether the sequence numbers on this transaction are signaling
15 // opt-in to replace-by-fee, according to BIP 125
16 bool SignalsOptInRBF(const CTransaction &tx);
17 
18 #endif // BITCOIN_UTIL_RBF_H
static const uint32_t MAX_BIP125_RBF_SEQUENCE
Definition: rbf.h:12
bool SignalsOptInRBF(const CTransaction &tx)
Definition: rbf.cpp:9
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:270