Merge #11289: Add wallet backup text to import* and add* RPCs
commit77546a3182e5df622aa99446fc4ba8118db58351
authorWladimir J. van der Laan <laanwj@gmail.com>
Wed, 8 Nov 2017 08:55:40 +0000 (8 09:55 +0100)
committerWladimir J. van der Laan <laanwj@gmail.com>
Wed, 8 Nov 2017 09:29:11 +0000 (8 10:29 +0100)
treef04f7130ffc6c8dc699f3759fa811e034da01792
parent5ef3b6967b5c8936a137acf2e1a71d6f1d84c63c
parentc098c581968fa23b2a1987c127c47e04d13fb5c8
Merge #11289: Add wallet backup text to import* and add* RPCs

c098c58 Wrap dumpwallet warning and note scripts aren't dumped (MeshCollider)
a38bfbc Add wallet backup text to import*, add* and dumpwallet RPCs (MeshCollider)

Pull request description:

  Closes https://github.com/bitcoin/bitcoin/issues/11243

  Adds "Requires a new wallet backup" text to `addwitnessaddress`, `importprivkey`, `importmulti`, `importaddress`, `importpubkey`, and `addmultisigaddress`. Also adds a warning to `dumpwallet` that backing up the seed alone is not sufficient to back up non-HD addresses

Tree-SHA512: 76d7cdca54d5b458acf479154620322391b889922525fddd6153f4164cfee393ad743757400cb8f6b1b30f24947df68ea9043b4e509f7df77a8fa05dda370933
src/wallet/rpcdump.cpp
src/wallet/rpcwallet.cpp