diff options
author | Greg Sanders <gsanders87@gmail.com> | 2024-03-26 08:42:20 -0400 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2024-03-26 11:42:42 -0400 |
commit | ee1b9b231a0a7e89b77cbf8ea54e0534f0970dd0 (patch) | |
tree | 31018ed9fc4aa7bf785ec3cb75048106f11e664b /src | |
parent | a9d42b9aa579f54922ffd17fdeb61e704539b92c (diff) | |
download | bitcoin-ee1b9b231a0a7e89b77cbf8ea54e0534f0970dd0.tar.xz |
CalculateFeerateDiagramsForRBF: update misleading description of old diagram contents
Diffstat (limited to 'src')
-rw-r--r-- | src/txmempool.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 9adad694a9..82eec6241f 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -1294,9 +1294,10 @@ util::Result<std::pair<std::vector<FeeFrac>, std::vector<FeeFrac>>> CTxMemPool:: // direct_conflicts that is at its own fee/size, along with the replacement // tx/package at its own fee/size - // old diagram will consist of each element of all_conflicts either at - // its own feerate (followed by any descendant at its own feerate) or as a - // single chunk at its descendant's ancestor feerate. + // old diagram will consist of the ancestors and descendants of each element of + // all_conflicts. every such transaction will either be at its own feerate (followed + // by any descendant at its own feerate), or as a single chunk at the descendant's + // ancestor feerate. std::vector<FeeFrac> old_chunks; // Step 1: build the old diagram. |