mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
make MAX_BIP125_RBF_SEQUENCE constexpr
This commit is contained in:
parent
3cf46f6055
commit
c6abeb76fb
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
class CTransaction;
|
class CTransaction;
|
||||||
|
|
||||||
static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
|
static constexpr uint32_t MAX_BIP125_RBF_SEQUENCE{0xfffffffd};
|
||||||
|
|
||||||
/** Check whether the sequence numbers on this transaction are signaling opt-in to replace-by-fee,
|
/** Check whether the sequence numbers on this transaction are signaling opt-in to replace-by-fee,
|
||||||
* according to BIP 125. Allow opt-out of transaction replacement by setting nSequence >
|
* according to BIP 125. Allow opt-out of transaction replacement by setting nSequence >
|
||||||
|
Loading…
x
Reference in New Issue
Block a user