Closes #2637. Make z_shieldcoinbase an experimental feature where it

can be enabled with: zcashd -experimentalfeatures -zshieldcoinbase.
This commit is contained in:
Simon
2017-09-27 10:27:50 -07:00
parent 14148301e6
commit 5023af7bd5
3 changed files with 15 additions and 2 deletions

View File

@@ -790,6 +790,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (!fExperimentalMode) {
if (mapArgs.count("-developerencryptwallet")) {
return InitError(_("Wallet encryption requires -experimentalfeatures."));
} else if (mapArgs.count("-zshieldcoinbase")) {
return InitError(_("RPC call z_shieldcoinbase requires -experimentalfeatures."));
}
}