You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cache is refreshed every 120 seconds when using Liana Connect as a backend compared to 10 seconds otherwise.
When first creating the wallet, we will indicate to the user in #1361 that the wallet is still syncing. For Liana Connect, the wallet may appear to be syncing even once this has completed due to the longer cache refresh period.
For Liana Connect backends, we could refresh the cache more often while the wallet is still performing its initial sync (i.e. its height is still 0) and then revert to the current frequency.
The text was updated successfully, but these errors were encountered:
6f4eb79 gui: refresh cache more often while height is 0 (Michael Mallan)
a511102 gui(home): indicate that wallet is syncing (Michael Mallan)
b452966 gui(home): track blockheight from cache (Michael Mallan)
1d1e735 ui: add loading spinner that types text (Michael Mallan)
3c46a73 ui: add carousel loading spinner (Michael Mallan)
e4c1ab1 ui: render amount with chosen colors (Michael Mallan)
013feb3 ui: refactor amount function (Michael Mallan)
Pull request description:
This is to resolve#1361.
The home page considers the wallet to be syncing if its height is 0. In this case, the balance will slowly blink and a "Syncing..." text will appear just below.
The home page will check the wallet's height upon each cache refresh, and will reload the home page once the syncing has completed so that the updated balance is displayed without the user needing to do anything.
Both the blinking balance and "Syncing..." text use a new `Carousel` widget that cycles through different child widgets at a specified rate.
EDIT: I've added an extra commit to address #1363 as that is also related to the wallet height and cache refresh.
ACKs for top commit:
edouardparis:
ACK 6f4eb79
Tree-SHA512: 04214ccb1cf998ae6f7589f2c37335416a6d39b668269c4e07e30c8713e1a0e9e46257c60cea7b19ee6d6e35cbdccaf1122d25a66e6e7e905de51fce185f9180
The cache is refreshed every 120 seconds when using Liana Connect as a backend compared to 10 seconds otherwise.
When first creating the wallet, we will indicate to the user in #1361 that the wallet is still syncing. For Liana Connect, the wallet may appear to be syncing even once this has completed due to the longer cache refresh period.
For Liana Connect backends, we could refresh the cache more often while the wallet is still performing its initial sync (i.e. its height is still 0) and then revert to the current frequency.
The text was updated successfully, but these errors were encountered: