diff options
author | Pieter Wuille <pieter@wuille.net> | 2024-03-17 09:42:12 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2024-04-22 09:36:36 -0400 |
commit | b22901dfa9cc3af94bf13163a28300eb1ab25b22 (patch) | |
tree | 9227531a651b5a29fc2ef395f9da6c4ae6d21414 /src/txmempool.h | |
parent | ba7c67f609a3d9a6da194d4abb7f8a60934907c3 (diff) | |
download | bitcoin-b22901dfa9cc3af94bf13163a28300eb1ab25b22.tar.xz |
Avoid explicitly computing diagram; compare based on chunks
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 9dd4d56da7..52a3dc2d7d 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -738,7 +738,7 @@ public: } /** - * Calculate the old and new mempool feerate diagrams relating to the + * Calculate the sorted chunks for the old and new mempool relating to the * clusters that would be affected by a potential replacement transaction. * (replacement_fees, replacement_vsize) values are gathered from a * proposed set of replacement transactions that are considered as a single @@ -752,7 +752,7 @@ public: * @param[in] all_conflicts All transactions that would be removed * @return old and new diagram pair respectively, or an error string if the conflicts don't match a calculable topology */ - util::Result<std::pair<std::vector<FeeFrac>, std::vector<FeeFrac>>> CalculateFeerateDiagramsForRBF(CAmount replacement_fees, int64_t replacement_vsize, const setEntries& direct_conflicts, const setEntries& all_conflicts) EXCLUSIVE_LOCKS_REQUIRED(cs); + util::Result<std::pair<std::vector<FeeFrac>, std::vector<FeeFrac>>> CalculateChunksForRBF(CAmount replacement_fees, int64_t replacement_vsize, const setEntries& direct_conflicts, const setEntries& all_conflicts) EXCLUSIVE_LOCKS_REQUIRED(cs); /* Check that all direct conflicts are in a cluster size of two or less. Each * direct conflict may be in a separate cluster. |