-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few nitpicks with recent getrawmempool updates.
This commit addresses a few nitpicks in the recent getrawmppol update which populates the starting and current priority fields. In particular: - Move the new calcInputValueAge function before the function which invokes it so it is consistent with the rest of the mempool code - Double space after periods for consistency - Correct the comments for calcInputValueAge to indiciate that inputs which are in the the memory pool count as zero toward the value age rather than the incorrect claim that that the overal input value age is zero when one of them does - Rename endingPriority to currentPriority to match the RPC field and its actual function - Make the comment about using zero when input transactions can't be found for some reason more accurate since there can be (and frequently is) more than one input transaction
- Loading branch information
Showing
2 changed files
with
42 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters