aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeshCollider <[email protected]>2017-10-19 22:01:30 +1300
committerMeshCollider <[email protected]>2017-10-19 22:02:13 +1300
commitc098c581968fa23b2a1987c127c47e04d13fb5c8 (patch)
tree7fcf481923015a4ad8392d1adfc5e2c6312aeec3
parentAdd wallet backup text to import*, add* and dumpwallet RPCs (diff)
downloaddiscoin-c098c581968fa23b2a1987c127c47e04d13fb5c8.tar.xz
discoin-c098c581968fa23b2a1987c127c47e04d13fb5c8.zip
Wrap dumpwallet warning and note scripts aren't dumped
-rw-r--r--src/wallet/rpcdump.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp
index 88332e381..67ef4edd5 100644
--- a/src/wallet/rpcdump.cpp
+++ b/src/wallet/rpcdump.cpp
@@ -601,7 +601,9 @@ UniValue dumpwallet(const JSONRPCRequest& request)
throw std::runtime_error(
"dumpwallet \"filename\"\n"
"\nDumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.\n"
- "Note that if your wallet contains keys which are not derived from your HD seed (e.g. imported keys), these are not covered by only backing up the seed itself, and must be backed up too (e.g. ensure you back up the whole dumpfile).\n"
+ "Imported scripts are not currently included in wallet dumps, these must be backed up separately.\n"
+ "Note that if your wallet contains keys which are not derived from your HD seed (e.g. imported keys), these are not covered by\n"
+ "only backing up the seed itself, and must be backed up too (e.g. ensure you back up the whole dumpfile).\n"
"\nArguments:\n"
"1. \"filename\" (string, required) The filename with path (either absolute or relative to bitcoind)\n"
"\nResult:\n"