Main commit gui: Avoid wallet tryGetBalances calls
is one-line change to WalletModel::pollBalanceChanged
that returns early if there hasn’t been a new TransactionChanged
or BlockTip
notification since the previous poll call. This is the same behavior that was implemented in #18160, now implemented in a simpler way.
The other commits are a straight revert of #18160, and two tweaks to avoid relying on WalletModel::m_client_model
lifetime which were causing travis failures with earlier versions of this PR.
Motivation for this change is to be able to revert #18160 and cut down on unnecessary cross-process calls that happen when #18160 is combined with #10102
This PR is part of the process separation project.