- Notifications
You must be signed in to change notification settings - Fork 399
fix: unblinded re/issuance for non-policy asset greater than 21 million #1445
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
delta1 commented Apr 3, 2025
- test: add test for unblinded re/issuance greater than 21 million
- fix: unblinded re/issuance for greater than 21 million
Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>
Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>
| closes #1443 |
| utACK d3502ce |
| utACK d3502ce -- though this is a hardforking change and we need to be careful about where/how we deploy it. |
| Updated to enable this with a consensus parameter ( |
| Modified to remove This is technically a hard fork, but can be released safely in advance so long as block signers apply |
883c5c9 to fc82dbc Compare fc82dbc to 0c6faca Compare
delta1 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.
ACK 0c6faca
Ran tests locally, left a few comments
41f3833 to 2b7dd1a Compare
delta1 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.
ACK 2b7dd1a
Ran tests locally
| | ||
| std::vector<std::string> elements_hidden_args = {"-con_fpowallowmindifficultyblocks", "-con_fpownoretargeting", "-con_nsubsidyhalvinginterval", "-con_bip16exception", "-con_bip34height", "-con_bip65height", "-con_bip66height", "-con_npowtargettimespan", "-con_npowtargetspacing", "-con_nrulechangeactivationthreshold", "-con_nminerconfirmationwindow", "-con_powlimit", "-con_bip34hash", "-con_nminimumchainwork", "-con_defaultassumevalid", "-npruneafterheight", "-fdefaultconsistencychecks", "-fmineblocksondemand", "-fallback_fee_enabled", "-pchmessagestart"}; | ||
| | ||
| argsman.AddArg("-acceptunlimitedissuances", strprintf("Relay and mine unblinded issuance transactions (default: %u)", DEFAULT_ACCEPT_UNLIMITED_ISSUANCES), ArgsManager::ALLOW_ANY, OptionsCategory::ELEMENTS); |
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.
Minor, can be done in followup: I think this could be slightly more descriptive
| argsman.AddArg("-acceptunlimitedissuances", strprintf("Relay and mine unblinded issuance transactions (default: %u)", DEFAULT_ACCEPT_UNLIMITED_ISSUANCES), ArgsManager::ALLOW_ANY, OptionsCategory::ELEMENTS); | |
| argsman.AddArg("-acceptunlimitedissuances", strprintf("Allow unblinded issuance amounts to exceed 21 million units (default: %u)", DEFAULT_ACCEPT_UNLIMITED_ISSUANCES), ArgsManager::ALLOW_ANY, OptionsCategory::ELEMENTS); |