9 Commits

Author SHA1 Message Date
jp1ac4
67ebde1432
gui: add wallet to reload 2024-03-20 12:41:54 +00:00
edouardparis
ed363963b3 Change state load method for reload 2024-03-05 11:32:10 +01:00
Antoine Poinsot
76bb74371f
gui: installer: more robust poll for cookie file at bitcoind startup
We would formerly wait a definite number of seconds for the cookie file
to appear. But this approach presents a fundamental issue: how long is
enough before we can be reasonably sure bitcoind will never start?

For instance on mainnet the checks performed at startup could take more
than the 3 seconds we would previously wait for. If it does we would
have incorrectly errored and let bitcoind run in the background.

Instead, assume bitcoind would exit if it errors. Until it does so,
continue polling for the cookie file. This approach also presents
drawbacks (for instance what if bitcoind is performing a very long
operation before creating the cookie file?), but the former approach
wouldn't be an acceptable solution in this case either. And the new one
is preferable as its failure scenario seems much less probable.
2023-08-31 13:08:51 +02:00
jp1ac4
36cf85d849
gui: add option to use internal bitcoind
During installation, the user may choose for Liana to configure and start bitcoind for them.

This internal bitcoind uses as its data directory the `bitcoind_datadir` folder within the
Liana data directory.

If the internal bitcoind option has been selected for a network, it will be automatically
started when the user returns to Liana and stopped when Liana is closed.
2023-08-23 16:43:55 +01:00
edouard
b177f190d1 gui: store descriptor in wallet module
A new module wallet is introduced that
contains the main_descriptor.
2023-01-20 10:22:51 +01:00
edouard
ee466798bd gui: change project and crate name for liana 2022-11-18 17:29:45 +01:00
edouard
258aeb57fe hw: load wallet from config 2022-11-02 16:21:55 +01:00
Antoine Poinsot
6871407b1a
gui: clippification 2022-10-13 14:24:25 +02:00
edouard
ebc239733c Add sandbox and daemon mock to utils mod 2022-09-07 15:12:08 +02:00