diff options
author | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2023-12-06 14:56:23 +0100 |
---|---|---|
committer | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2024-01-02 12:41:01 +0100 |
commit | 5615e16b705d74bf6ebb7c39523844f97a41cb6f (patch) | |
tree | 67e83673d93dffadd3e4eb7a2c83ca2fc3f37627 /src/policy | |
parent | fcd429664818f14cace580513e7e6159335b5416 (diff) | |
download | bitcoin-5615e16b705d74bf6ebb7c39523844f97a41cb6f.tar.xz |
tx fees: update `m_from_disconnected_block` to `m_mempool_limit_bypassed`
The boolean indicates whether the transaction was added without enforcing mempool
fee limits. m_mempool_limit_bypassed is the correct variable name.
Also changes NewMempoolTransactionInfo booleans descriptions to the format that
is consistent with the codebase.
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/fees.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index 74c688060d..5440548636 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -612,7 +612,7 @@ void CBlockPolicyEstimator::processTransaction(const NewMempoolTransactionInfo& // - the node is not behind // - the transaction is not dependent on any other transactions in the mempool // - it's not part of a package. - const bool validForFeeEstimation = !tx.m_from_disconnected_block && !tx.m_submitted_in_package && tx.m_chainstate_is_current && tx.m_has_no_mempool_parents; + const bool validForFeeEstimation = !tx.m_mempool_limit_bypassed && !tx.m_submitted_in_package && tx.m_chainstate_is_current && tx.m_has_no_mempool_parents; // Only want to be updating estimates when our blockchain is synced, // otherwise we'll miscalculate how many blocks its taking to get included. |