Skip to content

Commit ee1b9b2

Browse files
committed
CalculateFeerateDiagramsForRBF: update misleading description of old diagram contents
1 parent a9d42b9 commit ee1b9b2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/txmempool.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,9 +1294,10 @@ util::Result<std::pair<std::vector<FeeFrac>, std::vector<FeeFrac>>> CTxMemPool::
12941294
// direct_conflicts that is at its own fee/size, along with the replacement
12951295
// tx/package at its own fee/size
12961296

1297-
// old diagram will consist of each element of all_conflicts either at
1298-
// its own feerate (followed by any descendant at its own feerate) or as a
1299-
// single chunk at its descendant's ancestor feerate.
1297+
// old diagram will consist of the ancestors and descendants of each element of
1298+
// all_conflicts. every such transaction will either be at its own feerate (followed
1299+
// by any descendant at its own feerate), or as a single chunk at the descendant's
1300+
// ancestor feerate.
13001301

13011302
std::vector<FeeFrac> old_chunks;
13021303
// Step 1: build the old diagram.

0 commit comments

Comments
 (0)