Raven Core
3.0.0
P2P Digital Currency
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
z
+
Functions
b
c
d
f
g
h
i
m
o
p
q
s
v
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
f
i
k
l
m
o
p
r
s
t
v
+
Enumerations
b
c
d
e
f
m
n
o
r
s
t
u
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Properties
+
Related Functions
a
c
d
f
o
p
t
u
v
w
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
z
+
Typedefs
b
c
h
i
k
m
n
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
j
m
n
o
q
r
s
t
w
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
r
s
t
u
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
policy
rbf.h
Go to the documentation of this file.
1
// Copyright (c) 2016 The Bitcoin Core developers
2
// Copyright (c) 2017-2019 The Raven Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef RAVEN_POLICY_RBF_H
7
#define RAVEN_POLICY_RBF_H
8
9
#include "
txmempool.h
"
10
11
static
const
uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
12
13
enum
RBFTransactionState
{
14
RBF_TRANSACTIONSTATE_UNKNOWN
,
15
RBF_TRANSACTIONSTATE_REPLACEABLE_BIP125
,
16
RBF_TRANSACTIONSTATE_FINAL
17
};
18
19
// Check whether the sequence numbers on this transaction are signaling
20
// opt-in to replace-by-fee, according to BIP 125
21
bool
SignalsOptInRBF
(
const
CTransaction
&tx);
22
23
// Determine whether an in-mempool transaction is signaling opt-in to RBF
24
// according to BIP 125
25
// This involves checking sequence numbers of the transaction, as well
26
// as the sequence numbers of all in-mempool ancestors.
27
RBFTransactionState
IsRBFOptIn
(
const
CTransaction
&tx,
CTxMemPool
&pool);
28
29
#endif // RAVEN_POLICY_RBF_H
RBFTransactionState
RBFTransactionState
Definition:
rbf.h:13
IsRBFOptIn
RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool)
Definition:
rbf.cpp:18
RBF_TRANSACTIONSTATE_REPLACEABLE_BIP125
Definition:
rbf.h:15
txmempool.h
SignalsOptInRBF
bool SignalsOptInRBF(const CTransaction &tx)
Definition:
rbf.cpp:8
CTxMemPool
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Definition:
txmempool.h:416
RBF_TRANSACTIONSTATE_UNKNOWN
Definition:
rbf.h:14
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition:
transaction.h:270
RBF_TRANSACTIONSTATE_FINAL
Definition:
rbf.h:16
Generated on Mon Jul 29 2019 02:32:19 for Raven Core by
1.8.13