-
Notifications
You must be signed in to change notification settings - Fork 648
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
Range proof mantissa minimum bit length #1117
Range proof mantissa minimum bit length #1117
Conversation
…a length produced by cli_wallet.
…matic) to 49 (the largest bit length that won't exceed GRAPHENE_MAX_SHARE_SUPPLY).
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.
Looks good to me. Best if can wrap the long lines (I'd recommend maximum 130 chars per line).
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.
All looks good to me as well. Thanks @christophersanborn.
Note: I'm not marking this approved, as I too would like pmconrad to take a look.
tests/cli/main.cpp
Outdated
generate_block(app1); head_block++; | ||
|
||
// ** Check head block: | ||
BOOST_MESSAGE("Check that all expected blocks have processed"); |
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 fails to compile for me (Boost-1.60.0):
tests/cli/main.cpp:474:68: error: ‘BOOST_MESSAGE’ was not declared in this scope
BOOST_MESSAGE("Check that all expected blocks have processed");
Changing to BOOST_TEST_MESSAGE works.
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! Missed that. (Must have older Boost version.)
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!
Fixes issue #480 - "Choice of range proof params in cli wallet reveals transaction magnitude to very narrow range for Blinded transfers" and provides test case of cli_wallet blind transfers.