edouardparis 67c9262a30
Merge #1370: [GUI] Indicate wallet is syncing after completing installer
6f4eb79a5a45751a1c919565ea9c88f59fbda0ab gui: refresh cache more often while height is 0 (Michael Mallan)
a51110269c96e7a9d7c4143e0bd6f8cf27a703a3 gui(home): indicate that wallet is syncing (Michael Mallan)
b452966653da1f2d857dd5901972171aa9d1250c gui(home): track blockheight from cache (Michael Mallan)
1d1e735ae975bb73af5389090e1eee68c727c7ea ui: add loading spinner that types text (Michael Mallan)
3c46a7337c57ef646626d052a0ab23a7fa0ecb17 ui: add carousel loading spinner (Michael Mallan)
e4c1ab106d74ad193aa1ba2f5746ce598c4801e5 ui: render amount with chosen colors (Michael Mallan)
013feb3909ebed0a8850a51a7d61383f327b5d4d 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 6f4eb79a5a45751a1c919565ea9c88f59fbda0ab

Tree-SHA512: 04214ccb1cf998ae6f7589f2c37335416a6d39b668269c4e07e30c8713e1a0e9e46257c60cea7b19ee6d6e35cbdccaf1122d25a66e6e7e905de51fce185f9180
2024-10-18 14:46:14 +02:00
..
2024-09-12 14:26:40 +02:00
2024-09-12 14:26:40 +02:00
2023-04-18 13:48:24 +02:00
2024-06-16 16:02:07 +02:00

Liana GUI

The Liana graphical interface.

Dependencies

You will need a few dependencies in order to run correctly this software. For Linux systems, those are:

  • fontconfig for access to fonts (On Debian/Ubuntu apt install libfontconfig1-dev)
  • libudev-dev to communicate with devices through USB (On Debian/Ubuntu apt install libudev-dev)

In addition, if you want to build the project from source, you will need:

  • pkg-config (On Debian/Ubuntu apt install pkg-config)

Usage

For a quick guide to try out the software see ../doc/TRY.md.

liana-gui --datadir <datadir> --<network>

The default datadir is the same as for lianad (~/.liana for Linux). The default network is Bitcoin mainnet, but testnet signet and regtest are supported.

If the software is started with no parameter and no data directory is detected, a Liana installer will be spawned that will guide you in the processing of configuring Liana.

If the software is started and a reachable lianad is running, it will plug to it via lianad's JSONRPC interface.

The environment variable LOG_LEVEL with values error, warn, info, debug, trace, overrides the log settings from the config file.

Troubleshooting

  • If you encounter layout issue on X11, try to start the GUI with WINIT_X11_SCALE_FACTOR manually set to 1