diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-07-19 11:09:59 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-09-05 11:44:25 +0200 |
commit | fa831684e54783f6b40533ca218eb7636bdae667 (patch) | |
tree | 7b016530828cf75ca24592efab81edaa96403649 /src/policy/rbf.h | |
parent | df75e9f3ee4de2b841fe0e84514b58a4e630d258 (diff) | |
download | bitcoin-fa831684e54783f6b40533ca218eb7636bdae667.tar.xz |
refactor: Add IsRBFOptInEmptyMempool
Co-authored-by: John Newbery <jonnynewbs@gmail.com>
Diffstat (limited to 'src/policy/rbf.h')
-rw-r--r-- | src/policy/rbf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy/rbf.h b/src/policy/rbf.h index d335fbbb36..463c5b61e6 100644 --- a/src/policy/rbf.h +++ b/src/policy/rbf.h @@ -18,5 +18,6 @@ enum class RBFTransactionState { // This involves checking sequence numbers of the transaction, as well // as the sequence numbers of all in-mempool ancestors. RBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs); +RBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx); #endif // BITCOIN_POLICY_RBF_H |