-
Notifications
You must be signed in to change notification settings - Fork 38.8k
test: Add wallet_balance benchmark #15779
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
Conversation
2887a25 to
fa5944a
Compare
|
Going to reopen next week |
fac783b to
fabbac8
Compare
fabbac8 to
fa46ac3
Compare
|
this is ready for review now |
|
utACK fa46ac3 |
ryanofsky
left a comment
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.
utACK fa46ac3
| WalletTestingSetup wallet_t{}; | ||
| auto& wallet = wallet_t.m_wallet; | ||
| { | ||
| bool first_run; |
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.
I think there's no need for this to be indented, but I guess it's reasonable to limit the scope the first_run variable.
Further stylistic cleanups in touched files: * Sort the includes * Wrap long single-line constructors into multiple lines
fa0c89b to
fad7c33
Compare
|
Added a method to the wallet to handle notifications (and removed the |
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.
utACK fad7c33. I might squash or rearrange the commits to avoid adding code in one commit that just gets deleted in the next one. But overall this looks good and the cleanup is nice.
fad7c33 refactor: Add handleNotifications method to wallet (MarcoFalke) fa46ac3 bench: Add wallet_balance benchmarks (MarcoFalke) Pull request description: ACKs for commit fad7c3: ryanofsky: utACK fad7c33. I might squash or rearrange the commits to avoid adding code in one commit that just gets deleted in the next one. But overall this looks good and the cleanup is nice. Tree-SHA512: 231faac168cbe9bb0ab4bf10ac1d5b042c610364406d75061fba27f1e9d16c71867e74cc4606e9f42659aa980d7133c00e29fcc18bbba7da2fa7a80178b3246c
Summary: This is a partial backport of Core [[bitcoin/bitcoin#15779 | PR15779]] : bitcoin/bitcoin@fa46ac3 Also include pieces of [[bitcoin/bitcoin#15788 | PR15788]] that previously were ignored becauseit was dead code. Test Plan: ninja all check-all Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D6236
Summary: Further stylistic cleanups in touched files: * Sort the includes * Wrap long single-line constructors into multiple lines This is a partial backport of Core [[bitcoin/bitcoin#15779 | PR15779]] : bitcoin/bitcoin@fad7c33 Depends on D6236 Test Plan: ninja all check-all ./src/bench/bitcoin-bench Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D6239
|
|
||
| #include <boost/thread.hpp> | ||
|
|
||
| const std::string ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj"; |
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.
interesting. just curious, how to create this un-spendable address? @MarcoFalke
merge bitcoin#13219...bitcoin#15779: benchmarks
No description provided.