-
Notifications
You must be signed in to change notification settings - Fork 296
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
multi: move MinHighPriority into mining package. #1421
Conversation
f2e6609
to
52efbde
Compare
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.
Commit title has a typo in it.
MinhighPriority -> MinHighPriority
52efbde
to
1fc2502
Compare
mempool/mempool.go
Outdated
@@ -34,8 +34,10 @@ const ( | |||
|
|||
// MinHighPriority is the minimum priority value that allows a | |||
// transaction to be considered high priority. | |||
// | |||
// Deprecated: Use mining.MinHighPriority | |||
// TODO: Remove in next version update. | |||
MinHighPriority = dcrutil.AtomsPerCoin * 144.0 / 250 |
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.
Rather than leaving the second definition, which can easily get out of date, please define this in terms of the new one. That is to say:
// MinHighPriority is the minimum priority value that allows a
// transaction to be considered high priority.
//
// Deprecated: Use mining.MinHighPriority
// TODO: Remove in next version update.
MinHighPriority = mining.MinHighPriority
1fc2502
to
f5f97ed
Compare
f5f97ed
to
1110580
Compare
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.
This looks good, but I'll wait to merge until #1420 is finished since this one relies on it.
1110580
to
94b3ccd
Compare
94b3ccd
to
3b33c0c
Compare
This PR requires #1417, #1418, #1419 and #1420.
Port of upstream commit a18f883.