9415dc939080caa5bf41e93c8717dd0b75bb6a0e new_amount_btc (pythcoiner)
Pull request description:
This PR replace #977 and fixes #798
I've followed jp1ac4 advice and create a `Form::new_amount_btc()` method that act like `Form::new_trimmed()` ~w/ few more (filtering) features:~
~- allow only input of "0123456789,." characters~
~- "," is replaced by "."~
~- only one "." separator~
~- maximum 8 digit after separator~
~these features works for keyboard input or paste~
~i've tryied to add a "0" in case the String start with a "." but this make the cursor have a bad location and i do not find a way to control the cursor location w/ iced, so i revert this feature~
ACKs for top commit:
jp1ac4:
ACK 9415dc9390.
edouardparis:
ACK 9415dc939080caa5bf41e93c8717dd0b75bb6a0e
Tree-SHA512: c8387e5fd9c3c030a71d0ba4a7aa3cd7f834215000f04e4e4d6b689c6bc9bf9dcecbf8b0799882f00f92d5bb8a656714f5149479e7f25e608a0ce96326a6e630
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:
fontconfigfor access to fonts (On Debian/Ubuntuapt install libfontconfig1-dev)libudev-devto communicate with devices through USB (On Debian/Ubuntuapt install libudev-dev)
In addition, if you want to build the project from source, you will need:
pkg-config(On Debian/Ubuntuapt 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 withWINIT_X11_SCALE_FACTORmanually set to 1