aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-04-25 22:57:18 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-05-05 08:11:05 +0200
commitcbba1d2da42a9c813c50ea3b3c13ec9a518bc147 (patch)
tree37a7f16a114cde0d2fc65dafa5afa72deafb957e /src/policy
parentf82e1c94821212cc8962775a7a29599ebd92eee0 (diff)
downloadbitcoin-cbba1d2da42a9c813c50ea3b3c13ec9a518bc147.tar.xz
Add compile time checking for all ::mempool.cs runtime locking assertions
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/rbf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/rbf.h b/src/policy/rbf.h
index b10532addf..c0a25f75b5 100644
--- a/src/policy/rbf.h
+++ b/src/policy/rbf.h
@@ -23,6 +23,6 @@ bool SignalsOptInRBF(const CTransaction &tx);
// according to BIP 125
// This involves checking sequence numbers of the transaction, as well
// as the sequence numbers of all in-mempool ancestors.
-RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool);
+RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);
#endif // BITCOIN_POLICY_RBF_H