aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-02-03 19:13:28 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-06-05 23:14:34 +0000
commitb005bf21a7cabe827ef62f266c22adf2ee745b61 (patch)
treeb5c1181a3e3300eeaf458c0b588510700bf50e69 /src/policy
parent575cde4605c9a321ad591dbb7d632dd0ef946d40 (diff)
Introduce MAX_BIP125_RBF_SEQUENCE constant
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/rbf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/policy/rbf.h b/src/policy/rbf.h
index 139aec5760..22c73f3319 100644
--- a/src/policy/rbf.h
+++ b/src/policy/rbf.h
@@ -7,6 +7,8 @@
#include "txmempool.h"
+static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
+
enum RBFTransactionState {
RBF_TRANSACTIONSTATE_UNKNOWN,
RBF_TRANSACTIONSTATE_REPLACEABLE_BIP125,