Skip to content

Commit f1684bb

Browse files
committed
rpc: mention that migratewallet can take a while
1 parent 9ecff99 commit f1684bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/rpc/wallet.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,8 @@ static RPCHelpMan migratewallet()
744744
"\nThe migration process will create a backup of the wallet before migrating. This backup\n"
745745
"file will be named <wallet name>-<timestamp>.legacy.bak and can be found in the directory\n"
746746
"for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet."
747-
"\nEncrypted wallets must have the passphrase provided as an argument to this call.",
747+
"\nEncrypted wallets must have the passphrase provided as an argument to this call.\n"
748+
"\nThis RPC may take a long time to complete. Increasing the RPC client timeout is recommended.",
748749
{
749750
{"wallet_name", RPCArg::Type::STR, RPCArg::DefaultHint{"the wallet name from the RPC endpoint"}, "The name of the wallet to migrate. If provided both here and in the RPC endpoint, the two must be identical."},
750751
{"passphrase", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "The wallet passphrase"},

0 commit comments

Comments
 (0)