edouardparis 4f41276fbb
Merge #1141: installer: add a warning if remote adress is not loopback
3d55616b66e8a0995e2ef9e4ad6d294bf23fe6a7 installer: add a warning if remote adress is not loopback (pythcoiner)

Pull request description:

  This PR is a variant of #1137, it add a warning under text input field if user try to connect to a non-loopback address & use RPCAuth:

  ![image](https://github.com/wizardsardine/liana/assets/124568858/f925f9e1-d212-4b1e-9e58-d40f7633f026)

  It also add a check on address + RPC user/password/cookie:
  Check connection button is greyed out until address is valid + user and password are filled (if RPCAuth selected)

  Closes https://github.com/wizardsardine/liana/issues/1059

ACKs for top commit:
  jp1ac4:
    Tested ACK 3d55616b66.

Tree-SHA512: a48efe85ee178a4bf216a9cc60b03cbb705c6337b1ce21a49bd031a032e2e81e70428fa4cd76c5ee297b428912dc64f51ffc8ce8dfa928b000dcff412ca530db
2024-06-27 09:41:01 +02:00
..
2024-06-25 03:01:29 +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