-
Notifications
You must be signed in to change notification settings - Fork 107
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
suggestion: Avoid new uses of lazy_static #5559
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## issue5452 #5559 +/- ##
=============================================
+ Coverage 78.82% 78.87% +0.05%
=============================================
Files 305 305
Lines 38126 38126
=============================================
+ Hits 30051 30073 +22
+ Misses 8075 8053 -22 |
@Mergifyio update |
✅ Branch has been successfully updated |
@Mergifyio update |
✅ Branch has been successfully updated |
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.
Thanks, i tried to do the const array as you do here but i was not able to remember how to do it. I didn't thought it was a big deal (we have lazy statics already).
Anyway, thanks for the fix. I also missed those documentations so thank you for adding them too.
* add fixed values to getblocktemplate rpc call response * suggestion: Avoid new uses of lazy_static (#5559) * Avoid using lazy_static * Add some missing documentation Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * minor fixes * move docs to struct * add fixed values to coinbase tx Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: teor <[email protected]>
Motivation
This is a suggestion on PR #5558.
It removes a new use of
lazy_static
, and adds some missing documentation.