[SOLVED] Will display of balances in the app be delayed when the chain grows?

Asked on Telegram, by Gym Yen

image
image

Over time, it will take longer to calculate the private balance of an account because of the following reasons:

  1. The more UTXOs, the longer calculation time takes. Meanwhile, the number of UTXOs of an account is increasing day by day.
  2. Moreover, Incognito will apply one-time addresses to transactions in the future. Then, in order to get all UTXOs of an account, we need to loop through each block of the chain.

However, we can improve this by caching UTXOs on the client instead of requesting to get all UTXOs to calculate the private balance.

4 Likes

I hope not, it isn’t that fast even now :pensive: