Skip to content

Commit bb5b1c0

Browse files
author
Mason Simon
committed
[Docs] upgrade rescan time warning from minutes to >1 hour
1 parent 9d86aad commit bb5b1c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wallet/rpcdump.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ UniValue importprivkey(const JSONRPCRequest& request)
115115
"1. \"privkey\" (string, required) The private key (see dumpprivkey)\n"
116116
"2. \"label\" (string, optional, default=\"\") An optional label\n"
117117
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
118-
"\nNote: This call can take minutes to complete if rescan is true, during that time, other rpc calls\n"
118+
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
119119
"may report that the imported key exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
120120
"\nExamples:\n"
121121
"\nDump a private key\n"
@@ -268,7 +268,7 @@ UniValue importaddress(const JSONRPCRequest& request)
268268
"2. \"label\" (string, optional, default=\"\") An optional label\n"
269269
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
270270
"4. p2sh (boolean, optional, default=false) Add the P2SH version of the script as well\n"
271-
"\nNote: This call can take minutes to complete if rescan is true, during that time, other rpc calls\n"
271+
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
272272
"may report that the imported address exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
273273
"If you have the full public key, you should call importpubkey instead of this.\n"
274274
"\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\n"
@@ -448,7 +448,7 @@ UniValue importpubkey(const JSONRPCRequest& request)
448448
"1. \"pubkey\" (string, required) The hex-encoded public key\n"
449449
"2. \"label\" (string, optional, default=\"\") An optional label\n"
450450
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
451-
"\nNote: This call can take minutes to complete if rescan is true, during that time, other rpc calls\n"
451+
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
452452
"may report that the imported pubkey exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
453453
"\nExamples:\n"
454454
"\nImport a public key with rescan\n"
@@ -1158,7 +1158,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
11581158
" {\n"
11591159
" \"rescan\": <false>, (boolean, optional, default: true) Stating if should rescan the blockchain after all imports\n"
11601160
" }\n"
1161-
"\nNote: This call can take minutes to complete if rescan is true, during that time, other rpc calls\n"
1161+
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
11621162
"may report that the imported keys, addresses or scripts exists but related transactions are still missing.\n"
11631163
"\nExamples:\n" +
11641164
HelpExampleCli("importmulti", "'[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }, "

0 commit comments

Comments
 (0)