Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui: Avoid wallet tryGetBalances calls before TransactionChanged or B…
…lockTip notifications interfaces::Wallet::tryGetBalances was recently updated in bitcoin#18160 to avoid computing balances internally, but this not efficient as it could be with bitcoin#10102 because tryGetBalances is an interprocess call. Implementing the TransactionChanged / BlockTip check outside of tryGetBalances also allows tryGetBalances to be simplified in next commit 'Revert "gui: Avoid Wallet::GetBalance in WalletModel::pollBalanceChanged"'.
- Loading branch information