Author

Topic: Is a Bitcoin node is rescanning a specific wallet? (Read 119 times)

newbie
Activity: 3
Merit: 1
Thank you! I really appreciate your help!
HCP
legendary
Activity: 2086
Merit: 4363
Thanks a lot for your response!
I indeed talk about the Bitcoin Core.
I'm actually looking for a way to do it by the code, i.e. by the API of Bitcoin Core.
Do you know an API function that can fit?
Yes... use the getwalletinfo command... in the JSON return, there is a "scanning" value that is set to either false or contains the details of the scan progress:

Quote from: help getwalletinfo
...
"scanning" : {                          (json object) current scanning details, or false if no scan is in progress
    "duration" : n,                       (numeric) elapsed seconds since scan start
    "progress" : n                        (numeric) scanning progress percentage [0.0, 1.0]
  },
...
newbie
Activity: 3
Merit: 1
Thanks a lot for your response!
I indeed talk about the Bitcoin Core.
I'm actually looking for a way to do it by the code, i.e. by the API of Bitcoin Core.
Do you know an API function that can fit?
newbie
Activity: 3
Merit: 1
Is there a way to know whether a Bitcoin node is currently rescanning a specific wallet?
Thanks in advance!
Jump to: