Bitcoin Core
21.99.0
P2P Digital Currency
src
util
rbf.h
Go to the documentation of this file.
1
// Copyright (c) 2016-2019 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
SignalsOptInRBF
bool SignalsOptInRBF(const CTransaction &tx)
Definition:
rbf.cpp:9
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks.
Definition:
transaction.h:259
MAX_BIP125_RBF_SEQUENCE
static const uint32_t MAX_BIP125_RBF_SEQUENCE
Definition:
rbf.h:12
Generated on Sat Apr 10 2021 20:03:45 for Bitcoin Core by
1.8.17