bc35cdaad8 installer: move bitcoind steps to own module (jp1ac4)
Pull request description:
This was originally part of #630, but will be easier to see changes by moving to its own PR.
It simply moves bitcoind-related content of `step/mod.rs` to its own module.
ACKs for top commit:
darosior:
ACK bc35cdaad8 -- move-only + adapting includes
Tree-SHA512: f3526c7d1d5325f1057f77dac9197d3548a796d860f8612577016138ac47dfab1f8a04b4063e74b69b337c6202999adfecb30c4a7e139e1419416a6906084b33
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.
Clicking the "Previous" button during installation will default
to the current behaviour, unless a different message is passed to
the function by any given step.
bba5cd63e8 gui: installer: convey registering on a signing device isn't always required (Antoine Poinsot)
Pull request description:
As discussed in #545, in some cases we nudge the user to register the descriptor on their signing device although they might not have one. Those cases only ever arise when importing a descriptor (either when recovering from backup or participating in the creation of a descriptor on another laptop), since when the descriptor is created beforehand we can simply detect whether a signing device was used and thereby needs to be registered (implemented since https://github.com/wizardsardine/liana/pull/470).
Therefore, detect when the registration step arises as part of an import process and if so adjust the language to convey registration on a signing device may not be necessary.
Result:

Fixes#545.
ACKs for top commit:
edouardparis:
ACK bba5cd63e8
Tree-SHA512: 5b25b0c980f3e57563fc3c301802a7c4da50d7c80802d3e6a7517f98ee1da60e9d5ebe890ce3b8c34ca882220d920e31c59b79877c9e8f48b72b092d3809acda
506f97dc8e minor wording fix (pythcoiner)
Pull request description:
following #508
ACKs for top commit:
darosior:
ACK 506f97dc8e
Tree-SHA512: 5e511e8ebe1ec346dfdf70759f15e2548e78323efafe0ba97a15a8195e52dd6dde490c4320f8a42b533d3772e5f83f8fa9c9edba9dcb8012cb96b319507a3072
It is a refont of the installer flow
to use less optional components in the installer context.
Hot signer is stored a the install step if its fingerprint
is present in the descriptor string
close#397
38340c0189 gui: skip register step if no device used (jp1ac4)
Pull request description:
This is to resolve#400.
Thanks to @edouardparis for the suggestions and code snippets provided that form the basis of these changes.
I'm opening this PR as draft so you can see my progress and check in case I've missed anything or you'd like some tests added.
Based on my own tests with and without devices, this is working as expected.
ACKs for top commit:
edouardparis:
ACK 38340c0189
Tree-SHA512: 3903d9017ce017d265ef07c38fad9ec807a16364cb8762c5a82783122315b142af2a1ca0c760ce4d97edaaef804ba16f04f5c9bccdb5336690f6f907eed93e9c
25fffb2c52 Make home warning message relative to timelock (edouard)
Pull request description:
close#461
ACKs for top commit:
edouardparis:
Self-ACK 25fffb2c52
Tree-SHA512: fd4ff1d86c08b4c5d383ba941231970fe768eed9277cd489850272761a2d85cf83221dd6d363a23aeda07e1aaa27a287f8cbcc7216087e11f1bfb9742c0c704c