Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep track of sender fee #1183
Keep track of sender fee #1183
Changes from 13 commits
36c1d16
a1af198
21e49d5
512cc20
fd6e49c
ff11bb7
e12e5d4
fd2fa7c
bd99e8d
1e38c63
d3f1501
34019b5
7ec1f03
8549942
5d7d8e9
ae7cd58
73dfe47
ef84a44
a3b6dd5
9e5c80e
c0bd129
9b9e85f
ee5d901
0f60099
bb3a0f5
8da1c33
d2cb4a9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currentFee
->currentSenderTotalFees
/currentPoolTotalFees
?I like pool because this method is generic not only to
mempool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But
currentFee
looks good as well, however, I prefer a little bit more explanatory here.When I looked I needed to double check, with a better naming it will be quite clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
current fee means sum of systemFee & networkFee of all transactions in mempool from a specified sender, maybe there is better name for that:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is good but not so good...aehauheuaea
Because it gives the idea that it is the
currentFee
of the transaction.I will rename it to
totalSenderFeesFromPool
Pool
looks good because it is more generic to any set we want to compare against.