0ab00cd6580ddc1964f4f328a90ab9c5f3f87efa gui: keep conflicting PSBTs as Pending until confirmation (jp1ac4) 5391bfe04ccbe2103460cd195fe4ea3309507118 commands: add `rbfpsbt` command (jp1ac4) d5f31674045155b6a9be7e08e4beab4c2187b573 commands: add `create_spend_internal` function (jp1ac4) 714fd5e142ffdf95d5ca96cd5a1d6edbc68239bb bitcoin: add `mempool_spenders` to Bitcoin interface (jp1ac4) 68b2503b12cececb1e3259d2d88a34e5191ec232 func tests: move function to utils (jp1ac4) fdab722effa79c6063e5b40748409ac4048aa1b6 func tests: run black (jp1ac4) Pull request description: This PR relates to #43 and #236. It adds a `rbfpsbt` command that generates a PSBT to replace an existing transaction using RBF. This replacement can either preserve non-change outputs and simply bump fees or remove non-change outputs and effectively cancel the transaction. The inputs and change output may need to be updated in accordance with the higher fee. I've also added a `getmempoolentry` call to the bitcoin interface that is used for checking information about descendant transactions. To facilitate development, I've made some temporary changes in the GUI so that replacement PSBTs can be signed and broadcast, but these changes might not be part of this PR in the end. ACKs for top commit: darosior: ACK 0ab00cd6580ddc1964f4f328a90ab9c5f3f87efa Tree-SHA512: a172ad895fac13be294451f2ffeccb91af521d58a3bc6d08e09688996f9a3e07a3e230091982ef5e92472d44db77b34f93b81d1111d2c570d9c5dd85b7c21f0f
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.
Troubleshooting
- If you encounter layout issue on
X11, try to start the GUI withWINIT_X11_SCALE_FACTORmanually set to 1