diff options
| author | MarcoFalke <[email protected]> | 2019-02-23 11:04:20 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-02-25 10:12:29 -0500 |
| commit | fa5dc3534be1d58bbca641a32cd87cd97ce8882a (patch) | |
| tree | 04d695f854abddbc515f7e70301d659b16b7d9e0 /src/policy | |
| parent | Merge #15408: Remove unused TransactionError constants (diff) | |
| download | discoin-fa5dc3534be1d58bbca641a32cd87cd97ce8882a.tar.xz discoin-fa5dc3534be1d58bbca641a32cd87cd97ce8882a.zip | |
rpc: Pass mempool into MempoolToJSON
Diffstat (limited to 'src/policy')
| -rw-r--r-- | src/policy/rbf.cpp | 2 | ||||
| -rw-r--r-- | src/policy/rbf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp index 0dc130d10..c73a97fd7 100644 --- a/src/policy/rbf.cpp +++ b/src/policy/rbf.cpp @@ -14,7 +14,7 @@ bool SignalsOptInRBF(const CTransaction &tx) return false; } -RBFTransactionState IsRBFOptIn(const CTransaction &tx, CTxMemPool &pool) +RBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) { AssertLockHeld(pool.cs); diff --git a/src/policy/rbf.h b/src/policy/rbf.h index 581f489e1..a4f877731 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) EXCLUSIVE_LOCKS_REQUIRED(pool.cs); +RBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs); #endif // BITCOIN_POLICY_RBF_H |