Author

Topic: 1 (Read 165 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
1
November 19, 2019, 09:46:01 PM
#4
Don't forget 100MB speed isn't slow considering it's not sequential read, but random read.

But it might be very fast in future if address indexing is enabled on future version of Bitcoin Core. See https://github.com/bitcoin/bitcoin/pull/14053
newbie
Activity: 15
Merit: 2
November 19, 2019, 05:05:06 PM
#3
Because it scans the entire blockchain to see what transactions have an outout to to that address, so you can see it's balance and UTXO.
HCP
legendary
Activity: 2086
Merit: 4361
November 19, 2019, 04:46:37 PM
#2
Quote
importaddress "address" ( "label" rescan p2sh )

Note: This call can take over an hour to complete if rescan is true

Arguments:
1. address    (string, required) The Bitcoin address (or hex-encoded script)
2. label      (string, optional, default="") An optional label
3. rescan     (boolean, optional, default=true) Rescan the wallet for transactions
4. p2sh       (boolean, optional, default=false) Add the P2SH version of the script as well
Sounds like 20 minutes is better than 1 hour! Wink If you don't explicitly specify the rescan parameter as "false"... then every time you use the importaddress commmand, it will rescan the entire blockchain looking for transactions that relate to that address.

So, if you're importing multiple addresses, you should specify "rescan" as "false" until you get to the last address that you want to import... then specify that as "true" and it will rescan ALL of them at the same time.
newbie
Activity: 68
Merit: 0
November 19, 2019, 03:27:16 PM
#1
1
Jump to: