0e05ff5244 gui: change log_level of ledger_transport_hid (edouard)
Pull request description:
ledger hid apdu exchanges were displayed in the log because of ledger_transport_hid crate.
This commit removes these log entries.
ACKs for top commit:
edouardparis:
Self-ACK 0e05ff5244
Tree-SHA512: 3961e38dabfe850d10c9670dcb8e89c60bad4ee6267ff4ec93929901d32bd53ddbe0f328c18346297749921fd9e9dcc6ab46ba0aab4cc1476f530bbbb36540cd
5e79c05c54 Add patch to liana version (edouard)
Pull request description:
The struct will be imported by the gui which
may need one day to increase the patch version number.
ACKs for top commit:
darosior:
ACK 5e79c05c54
Tree-SHA512: 8f129587c638107be31e9a1aa00387ba8d319338df1f3a1072386585901476dd677c85fa3fb8e7a985f11ea6cc2d5607279554ad5a2d651e2c14dda3842353a4
7a3eeb741e ci: test the GUI against it's current MSRV (Antoine Poinsot)
b2602e0204 contrib: use unpublished rustc 1.64 to build the GUI in Guix (Antoine Poinsot)
0a1c04db36 contrib: fixup patching in Guix build script (Antoine Poinsot)
3f49366b86 contrib: update the Iced patch for reproducible builds (Antoine Poinsot)
Pull request description:
The Iced dependency was updated, and the patch wasn't valid anymore.
ACKs for top commit:
darosior:
ACK 7a3eeb741e -- tested a reproducible build with this.
Tree-SHA512: 4e79821f24d9be8b5b2db5f415372f6a0f54ebff616d6335f38569ff047786c3e38b3f34e9f85b5141451af13f86651e827d176f01b4f51d12dd4dcc69beb434
ca39b15edd installer: generate multiple xpubs in participate step (edouard)
445ad733fb Add signatures information to spend (edouard)
bf1e9e4b80 gui: new module settings (edouard)
689f19a4f2 Edit key name in installer (edouard)
bcd223f3fb Add sigs number and threshold to spend list view (edouard)
1f3399bd0f Add PartialSpendInfo to SpendTx model (edouard)
9a1cda2f5e Use spend state in recovery panel (edouard)
a2ac34e6b0 installer: Participate in a new wallet section (edouard)
dfc10eba61 Add multisig wallet creation in installer (edouard)
Pull request description:
ACKs for top commit:
edouardparis:
Self-ACK ca39b15edd
Tree-SHA512: 67898dd5cc9ddfe135ddd2e57c6f3d6a6a10cf63211fe44c35e36cd182d4023cdefb8b15d2bd07290d83d631e360b20114b60e85728f9bbdc8c0e0d16b37f746
1cd61c9236 descriptors: require that an origin be set for the keys. (Antoine Poinsot)
Pull request description:
It would be possible for users to create a descriptor with xpubs without an origin set. In fact, not many are used to origins and it's a very likely mistake. Signers need this information in order to be able to sign. So they could potentially create a wallet and potentially never be able to sign for one or multiple keys.
Fix this by requiring an origin for all keys in the descriptor.
Fixes#290.
ACKs for top commit:
edouardparis:
ACK 1cd61c9236
Tree-SHA512: fb17f2fb11a467289cb942b2df2a6331d03d52805ab02bf39eeb1f3086d4110d9e3cea3f12e97b0822af8879b483eb51b02eb17b70595a0b199e5dcbbb7229dd
It would be possible for users to create a descriptor with xpubs without
an origin set. In fact, not many are used to origins and it's a very
likely mistake. Signers need this information in order to be able to
sign. So they could potentially create a wallet and potentially never be
able to sign for one or multiple keys.
Fix this by requiring an origin for all keys in the descriptor.
3ea85fa950 descriptor: introduce a helper to analyze a PSBT spending Liana coins (Antoine Poinsot)
aac330ca65 descriptors: rename DescCreationError in a general desc-related error (Antoine Poinsot)
9290596823 qa: test using lianad with a multisig descriptor (Antoine Poinsot)
3c82173f46 qa: abstract the signer from the Lianad class (Antoine Poinsot)
e22e30dc8d descriptors: support Multisig in both the primary and recovery paths (Antoine Poinsot)
Pull request description:
This permits the creation of a Liana descriptor containing a multisig in either of the two spending paths. The multisig is currently restricted at creation time to be a CHECKUMULTISIG-like multisig (k-of-n with n<20). See the linked issue for rationale.
Closes https://github.com/wizardsardine/liana/issues/53.
ACKs for top commit:
edouardparis:
ACK 3ea85fa950
Tree-SHA512: b95402b4483e9b282680288b6515049c3ab7ac0debe7659b39768e4b85de8e4b3d6000a2de8b633c47f7f7db49593a23853028f481a09fc13f3d9d574f7cca51
6c375ad06d Gui: text and layout of recovery screen fix#265 (Trigger)
Pull request description:
Fix issue #265 + small UX improvements.
I rollbacked _rustfmt_ @edouardparis can you see if it makes ~100changes on your side too ?
ACKs for top commit:
edouardparis:
ACK 6c375ad06d
Tree-SHA512: a75b4e64867c49fa1b34c32d2ba05ea5b4715933ad71ec8b2b5848f02dc2d138083e8fdf84d6875f552f55f1b3c48d8ff1b726a1c919575d6670bda420cb64ef
We only allow to create "legacy" multisigs for now (that is, what fits
in a CHECKMULTISIG, ie k-of-n with n<=20). See
https://github.com/wizardsardine/liana/issues/53 for discussions around
this.
We are a bit more laxist on parsing, where any miniscript that
corresponds to a multisig policy will be accepted.
Note this makes the helper inferring the CSV value from semantic policy
incorrect, but this is fix in a later commit as part of a complete
refactor of this logic.
a2c584f603 doc: add a document about signing devices and specifically the Ledger app (Antoine Poinsot)
Pull request description:
ACKs for top commit:
edouardparis:
ACK a2c584f603
Tree-SHA512: 2bedc0639094833b470236bacf19d8b93d9a9f75cd692e20363505929f01f8c233a8569e2ca50ddc92fc33494ec4f76750f46e9ecd86f5cd711fc50eff210f8e
b177f190d1 gui: store descriptor in wallet module (edouard)
Pull request description:
A new module wallet is introduced that contains the main_descriptor retrieved from `getinfo`.
It removes the requirement for the `Daemon` trait to provide the demon config in the other components of the application.
Actually BitcoindSettings cannot be edited if the gui is connected to an external daemon, this PR just remove the display of the Bitcoind Settings section.
ACKs for top commit:
edouardparis:
Self-ACK b177f190d1
Tree-SHA512: 1b5d00b9406a96d51e2b974d850322ea6046d8232fdd061d4e79ac7a8529c1459815fa022b5e35156664c27aedc0b08ad94d9cbf6984af09ee3c2bdd44ebe2f6
should_exit method is replaced for the
iced::window::close() command at the main.rs
level. iced_native::Event message handling
is not anymore required in the sub states of
the iced application.
d81c22767c gui: order coins list in coins panel (edouard)
Pull request description:
close#193
ACKs for top commit:
edouardparis:
Self-ACK d81c22767c
Tree-SHA512: 9ae179b38aaea7b5e74f071b9f7788996ae76de858f81be61169efcb75a4507d1245d210715b829cd2fe4151cd519a68bb2d75d422df9a98ff2b4a9559baf013
afc4636ad9 Forbid next step if amount sent > available amount (edouard)
3eddedd7a8 Reload amount left to select in choose coins step (edouard)
86896c8223 Check output amount superior to dust value (edouard)
ecd35d2bd1 Add available balance to choose recipient step (edouard)
Pull request description:
close#195close#237close#196
ACKs for top commit:
edouardparis:
Self-ACK afc4636ad9
Tree-SHA512: 1f3e6703e3f01a5496f890fe8e8104693ab58f74510f07593b65dead7e1629f91753c1b169a2c0d481fc14d85136cbbcb3076057c9535f3afd93f290ac580692