1

I have a Bitcoin node having over 800K addresses. Recently I have been facing an issue with getbalances RPC call as it times out. I am using timeout as 100 seconds. I can see that if I increase the timeout it may work but I am looking for any better other than this.

My question is: Will use getbalance "*" 1 will take less time than getbalances? I am more interested in getting the confirmed balance.

Or Is there any alternate way i can get the wallet balance faster than afoementioned RPC calls?

1 Answer 1

0

Unfortunately there is currently no faster way to get the balance information, but there is ongoing work to change how the calculation is done so that it can run much faster. Currently, the balance is calculated by iterating all transactions in the wallet, so if you have a lot of tranasctions, it will spend a lot of time going through everything.

The only real suggestion that I have is to create a new wallet and send all of your coins to the new one.

1
  • Thanks for the suggestion, Ava. Creating a new wallet is not applicable in my case. Feb 23 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.