Merge #11590: [Wallet] always show help-line of wallet encryption calls
commitbfb270acfa30713dc8c968bb9ee40cf5a2360359
authorMarcoFalke <falke.marco@gmail.com>
Thu, 2 Nov 2017 16:58:46 +0000 (2 12:58 -0400)
committerMarcoFalke <falke.marco@gmail.com>
Thu, 2 Nov 2017 16:58:56 +0000 (2 12:58 -0400)
tree72403b504950daf2cd3245526b2800e333a23dd7
parent1b8c88451b0554502435d3883c528ad0aad1b09b
parent720d9e8fa1d1c7516e8278eaaf60789d2f2c8a53
Merge #11590: [Wallet] always show help-line of wallet encryption calls

720d9e8fa [Wallet] always show help-line of wallet encryption calls (Jonas Schnelli)

Pull request description:

  We do currently show/hide the wallet encryption RPC calls from the help if the current wallet.
  In case of an encrypted wallet, `encryptwallet` is hidden and `walletpassphrasechange`, `walletpassphrasechange` and `walletlock` do appear in the help.

  This is no longer ideal in case of multiwallet due to the fact that one may want help infos in order to target a specific wallet.

  IMO its preferable to have a static help screen (show everything always). The currently show/hidden calls do handle the possible invalid encryption-state fine.

  Fixes #11588

Tree-SHA512: 513fecd15248a31361f5143685e8cdeb63dfd3fa7120828917e1db54d936dc3db60d48ce46efa5c3a563a48157fe962689879856eeeed53f904686b12aec204e
src/wallet/rpcwallet.cpp