edouardparis d0065898f7
loader: don't read bitcoind's stdout to avoid a deadlock
It was possible to get into a state where we were waiting for lianad to
start, which was waiting on a response from bitcoind which in turn was
waiting on the GUI to make room in its piped stdout buffer. Deadlock.

Instead of getting its logs from stdout, read its debug.log file.

Co-Authored-By: Antoine Poinsot <darosior@protonmail.com>
2023-11-01 15:53:53 +01:00
..
2023-10-24 17:23:57 +02:00
2023-10-30 14:01:36 +01:00
2023-04-18 13:48:24 +02:00
2022-12-08 12:21:44 +01: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.

Troubleshooting

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