Bitcoin Core  27.99.0
P2P Digital Currency
rbf.h
Go to the documentation of this file.
1 // Copyright (c) 2016-2021 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 constexpr uint32_t MAX_BIP125_RBF_SEQUENCE{0xfffffffd};
13 
21 bool SignalsOptInRBF(const CTransaction& tx);
22 
23 #endif // BITCOIN_UTIL_RBF_H
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:296
static constexpr uint32_t MAX_BIP125_RBF_SEQUENCE
Definition: rbf.h:12
bool SignalsOptInRBF(const CTransaction &tx)
Check whether the sequence numbers on this transaction are signaling opt-in to replace-by-fee,...
Definition: rbf.cpp:9