Commit Graph
157 Commits
Author SHA1 Message Date
edouard 4131ee529d installer: clean unwraps and add logs to final step
GUI should handle failure gracefully with logs
instead of crashing.
2023-02-09 17:29:23 +01:00
edouard 3f3e6fab03 installer: change message error 2023-02-08 12:25:00 +01:00
edouard aa7db15a64 gui: add error message to launcher 2023-02-07 17:17:50 +01:00
edouard 4c683993bc fix spend detail: wrong check ready 2023-02-06 14:39:47 +01:00
edouard f5de5e9734 gui: update liana#66e37a2 2023-02-06 12:08:25 +01:00
edouard 56d3522f8c gui: change path signature details 2023-02-06 11:09:30 +01:00
edouard 04862ec65d Merge #319: fix: drop connections to hws in share xpub panel
42940f6385 fix: drop connections to hws in share xpub panel (edouard)

Pull request description:

  Use needs to be able to start new connections
  in the register descriptor step.

ACKs for top commit:
  edouardparis:
    Self-ACK 42940f6385

Tree-SHA512: 01b146209cb74e5db7819e7249b51881e0f773d32ae2b1400914e0751f702325447b304eeca0f4eadf50113c4ea0535d24c73ef8b311c9de453877659933650f
2023-02-06 09:23:15 +01:00
Antoine Poinsot f545747080 gui: reword some warnings on invalid input 2023-02-05 15:48:48 +01:00
Antoine Poinsot c6127c41c9 gui: wording nit on missing feerate when creating a spend. 2023-02-05 15:48:47 +01:00
Antoine Poinsot a7f2ca1cbe gui: Remove redundant "or" when filling up xpub in installer. 2023-02-05 15:48:47 +01:00
edouard 42940f6385 fix: drop connections to hws in share xpub panel
Use needs to be able to start new connections
in the register descriptor step.
2023-02-04 18:27:07 +01:00
edouard c7dd94b748 fix gui: use address.is_valid_for_network
Use this nice helper from rust-bitcoin, instead
of wrong checks.
2023-02-04 14:12:47 +01:00
edouard 697fb16db9 Add more information and checkbox to register descriptor step
close #297
2023-02-04 12:32:33 +01:00
edouard 263f00150d fix: spend minimal amount in btc 2023-02-04 11:11:51 +01:00
edouard 90c2a04eb4 Merge #313: gui: fix hws list reloading
ea4f021728 fix hws list reloading (edouard)

Pull request description:

  I wanted the refresh button to add more harware wallet to the list without erasing the previous list
  in order to not cut the existing communication channels.

  But with the new display of "unsupported wallet" this behaviour can corrupt the list. An "unsupported wallet" can become "supported" because user switch app or unlock.

  It is preferable to reset the full list and drop the objects after a refresh.

ACKs for top commit:
  edouardparis:
    Self-ACK ea4f021728

Tree-SHA512: 530cf6e82f5bfd325e45c0eb19af94a58e930ecc15a692e0d545ceec2105122ed539a9f671449d2bc05e87c0ba562a1f192076a5cd1a2264f322b5a9094c1d9a
2023-02-03 21:09:18 +01:00
edouard ea4f021728 fix hws list reloading
I wanted the refresh button to add more harware wallet
to the list without erasing the previous list
in order to not cut the existing communication channels.

But with the new display of "unsupported wallet" this behaviour
can corrupt the list. An "unsupported wallet" can become
"supported" because user switch app or unlock.

It is preferable to reset the full list and drop the objects
after a refresh.
2023-02-03 19:42:23 +01:00
Antoine Poinsot 0bd3bd4d2e Update Github links to wizardsardine/liana 2023-02-03 16:52:06 +01:00
Antoine Poinsot ca05bd3fbc gui: release 0.2 2023-02-03 16:14:50 +01:00
edouard 2a9bcf92d0 Change HardwareWallet for (Un)Supported enum 2023-02-03 13:19:29 +01:00
edouard 0416a3645a Add liana version in gui settings
close #243
2023-02-02 15:46:35 +01:00
edouard 0e05ff5244 gui: change log_level of ledger_transport_hid
ledger_transport_hid logs should not appear if the log_level is the default
`info` level.
2023-02-02 15:01:49 +01:00
edouard ca39b15edd installer: generate multiple xpubs in participate step 2023-02-02 12:23:48 +01:00
edouard 445ad733fb Add signatures information to spend 2023-02-02 12:23:48 +01:00
edouard bf1e9e4b80 gui: new module settings 2023-02-02 12:23:48 +01:00
edouard 689f19a4f2 Edit key name in installer 2023-02-02 11:01:19 +01:00
edouard bcd223f3fb Add sigs number and threshold to spend list view 2023-02-02 11:01:19 +01:00
edouard 1f3399bd0f Add PartialSpendInfo to SpendTx model 2023-02-02 11:01:19 +01:00
edouard 9a1cda2f5e Use spend state in recovery panel 2023-02-02 11:01:19 +01:00
edouard a2ac34e6b0 installer: Participate in a new wallet section 2023-02-02 11:01:19 +01:00
edouard dfc10eba61 Add multisig wallet creation in installer 2023-02-02 11:01:19 +01:00
Trigger 6c375ad06d Gui: text and layout of recovery screen fix #265 2023-01-26 15:26:26 +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 b8f1704f38 bump iced v0.7
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.
2023-01-16 18:51:53 +01:00
edouard d81c22767c gui: order coins list in coins panel
close #193
2023-01-13 11:57:15 +01:00
edouard ca096c71b5 gui: display amount with sats in bold 2023-01-12 16:56:06 +01:00
edouard 9921bcadd5 Add update psbt action to spend tx panel 2023-01-10 12:44:21 +01:00
edouard c4ccbf0113 gui: import a spend draft 2023-01-10 11:13:30 +01:00
edouard afc4636ad9 Forbid next step if amount sent > available amount 2023-01-09 14:46:30 +01:00
edouard 3eddedd7a8 Reload amount left to select in choose coins step
close #196
2023-01-09 14:42:33 +01:00
edouard 86896c8223 Check output amount superior to dust value
close #237
2023-01-09 11:41:43 +01:00
edouard ecd35d2bd1 Add available balance to choose recipient step 2023-01-09 11:01:23 +01:00
edouard bde519fa7b Integrate modal component in spend tx actions 2023-01-02 15:48:32 +01:00
edouard 7ffde7381b ui: add modal component 2023-01-02 15:48:32 +01:00
edouard 03c39c44f6 bump iced 0.6
The version of the iced crates are
upgraded without introducing version
change in the other external dependencies.

This upgrade introduces fixes of the iced
framework. See:
https://github.com/iced-rs/iced/releases/tag/0.6.0
2022-12-29 11:31:37 +01:00
edouard 900529bcc6 gui: 0.1 2022-12-21 12:12:32 +01:00
edouard 262842a9dc gui: liana-0.1 2022-12-21 12:09:58 +01:00
edouard 9e1c16bc3f Check the address network during spend creation 2022-12-20 18:44:50 +01:00
edouard 09789b8161 fix launcher: exit on close event
close #264
2022-12-20 16:56:02 +01:00
edouard a56cab73c5 fix spend change detection
Use the presence of bip32_derivation
in the spend outputs to detect the
change outputs.
2022-12-20 12:40:22 +01:00
edouard c77bb45bbf cargo update -p liana 2022-12-19 14:51:40 +01:00