-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add a flag for enabling experimental features #2056
Conversation
e8dc46f
to
323824d
Compare
I'm assuming this should not be reviewed yet because it has [WIP]. |
@daira ready for review, now that #2035 (comment) is addressed. |
utACK |
@@ -2002,7 +2002,7 @@ Value encryptwallet(const Array& params, bool fHelp) | |||
if (!EnsureWalletIsAvailable(fHelp)) | |||
return Value::null; | |||
|
|||
auto fEnableWalletEncryption = GetBoolArg("-developerencryptwallet", false); | |||
auto fEnableWalletEncryption = fExperimentalMode && GetBoolArg("-developerencryptwallet", false); |
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 silently ignores -developerencryptwallet
when not in experimental mode. It should give an error.
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.
Otherwise ut(ACK+cov).
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.
Ah, you mean there should be an error saying "please enable -experimentalfeatures
".
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.
Given the check here, this change is no longer required. Does not block.
e78ad14
to
6f049ed
Compare
@bitcartel @daira Amended commit to add an init check. |
☔ The latest upstream changes (presumably #1965) made this pull request unmergeable. Please resolve the merge conflicts. |
6f049ed
to
b8eb377
Compare
ACK |
@zkbot r+ |
📌 Commit b8eb377 has been approved by |
Add a flag for enabling experimental features Closes #2035.
☀️ Test successful - zcash |
Closes #2035.