Call importaddress with param rescan true,then other calls will take so long time #12807

issue cyssxt opened this issue on March 28, 2018
  1. cyssxt commented at 2:04 AM on March 28, 2018: none

    <!-- Describe the issue -->

    Call importaddress with param rescan true,then other calls will take so long time,Can‘t response immediately!’

    <!--- What behavior did you expect? -->

    When i importaddress with param rescan true ,other rpc calls can response immediately!

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    Other rpc calls blocked!

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    Open two terminal,One call importaddress method,another call listaccount method! Then the listaccount will wait long time!

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    0.15

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    centos

  2. fanquake added the label RPC/REST/ZMQ on Mar 28, 2018
  3. sipa commented at 2:11 AM on March 28, 2018: member

    Yes, this is expected. No wallet operations are possible until the rescan completes.

    If you want to import multiple addresses at once, you're better off with the importmulti RPC which can import multiple addresses at the same time, and rescan only once.

  4. cyssxt commented at 1:48 AM on March 29, 2018: none

    @sipa I found that,importmulti can rescan, and rpc call also can response immediately! As long as it is not the request without rescan param‘s value is true!

  5. cyssxt closed this on Mar 11, 2020

  6. DrahtBot locked this on Feb 15, 2022
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me