2517 Commits

Author SHA1 Message Date
Michael Mallan
ba96bb6c06
fix: skip syncing screen if node is not bitcoind
This screen will be skipped in any case, but this way we don't
show the initial sync progress as being 0%.
2025-07-04 14:07:43 +01:00
edouardparis
c9cc6514cf
Merge #1760: Improve timelock duration selection and display
749be2ec9eac16f2596a7bdf57f5ecbb82ab5465 refacto: sequence duration formatting (Thomas Ballivet)
7251c098adfbdbd2cad4e16af10a3ae0ac4da761 feat: add monthly granularity to timelock slider (Thomas Ballivet)

Pull request description:

  The first commit adds monthly steps to the timelock selection slider and adapts time estimation precision.
  The second is a tiny GUI improvement.

  Here few examples :

  ![Capture d’écran du 2025-06-29 19-22-16](https://github.com/user-attachments/assets/3d037390-f22e-4213-8210-c9daa3c882a8)
  ![Capture d’écran du 2025-06-29 19-22-12](https://github.com/user-attachments/assets/ceaff667-8066-4ef6-8ade-51a0828fbb44)
  ![Capture d’écran du 2025-06-29 19-22-01](https://github.com/user-attachments/assets/aa9fd978-08c9-4cd7-99cd-532b648f1add)
  ![Capture d’écran du 2025-06-29 19-21-56](https://github.com/user-attachments/assets/cffa46a2-d320-4b69-91e1-7afd14ffdb54)
  ![Capture d’écran du 2025-06-29 19-21-34](https://github.com/user-attachments/assets/1abe5639-04ab-4ac8-aa3c-5e581071dd7f)

ACKs for top commit:
  jp1ac4:
    tACK 749be2ec9eac16f2596a7bdf57f5ecbb82ab5465. Thanks!

Tree-SHA512: 21ddb173a84fe10323cb0841c346184acb5a7805799f2c2bbc0d538e194d42a017c15f203534b7eb651a00138a615557643818f37c842efb2324c168b796f49f
2025-07-04 11:25:25 +02:00
edouardparis
c466feb195
Merge #1761: Add tiny-skia feature to iced dep
0fb1f3c1edb1a93b8e491d769497a618d9c06511 Add tiny-skia feature to iced dep (edouardparis)

Pull request description:

  tiny-skia is an other renderer that does not
  rely on wgpu. Iced uses it as a fallback in case
  of wgpu problems.

  The feature can be tested with:
  `ICED_BACKEND=tiny-skia cargo run --release --bin liana-gui`

  close #1676

ACKs for top commit:
  jp1ac4:
    tACK 0fb1f3c1edb1a93b8e491d769497a618d9c06511.

Tree-SHA512: 681a11e334759f4ef28ca95f08bfee2e898ad3be1af5d4fc6a78f6a499bb1b7e3b7d5e747b3207f758770437d2c83a8f8f1a6ef536a08c37ddc1b73618c963f4
2025-07-04 09:40:23 +02:00
Thomas Ballivet
749be2ec9e refacto: sequence duration formatting 2025-07-02 15:42:43 +02:00
Thomas Ballivet
7251c098ad feat: add monthly granularity to timelock slider 2025-07-02 15:33:24 +02:00
edouardparis
0fb1f3c1ed Add tiny-skia feature to iced dep
tiny-skia is an other renderer that does not
rely on wgpu. Iced uses it as a fallback in case
of wgpu problems.

The feature can be tested with:
`ICED_BACKEND=tiny-skia cargo run --release --bin liana-gui`

close #1676
2025-06-30 16:25:27 +02:00
edouardparis
b9c2ac93b5
Merge #1737: Update mod.rs
c1a882a7c7bb79c608e454234e9784e2462d5f9e Update mod.rs (deerwhisper2310)

Pull request description:

  add period

ACKs for top commit:
  edouardparis:
    ACK c1a882a7c7bb79c608e454234e9784e2462d5f9e

Tree-SHA512: 2edea077af0809fc9867ec7aa0a381e44534b99539bd5b33d614cbae821edbc407e9a80ba6ac771ad830d432f9fddac92c3f3eb11d93ab96c8891ff7add733b6
2025-06-25 15:39:57 +02:00
edouardparis
eff5894da6
Merge #1756: Add an option for add a descriptor from file/backup for liana-connect
31798b7e4317125e671e2d52e28e9ddc16815bf0 export: allow to import a backup from a simple descriptor (pythcoiner)
54c83615b070a982ec99f3c58278ecabba8a264e export: add test cases for import_descriptor() (pythcoiner)
d66b596cf930597254b1e48426c9488fd77d210d import: allow to import a descriptor from a backup in export::import_descriptor() (pythcoiner)
53839e92744b24e1365c3b57108b350c729b17b5 gui: add a spacer below the main column at Add wallet step in liana-connect flow (pythcoiner)
4bb4269975e0469205c96751bcbf24311177d53d gui: add import descriptor from file feature in liana-connect flow (pythcoiner)

Pull request description:

  This PR closes #1751:
   - add the option to import a descriptor from a file.
   - add a spacer at the bottom of the screen.
   - add the possibility to import also a descriptor from a backup file.

ACKs for top commit:
  edouardparis:
    ACK 31798b7e4317125e671e2d52e28e9ddc16815bf0

Tree-SHA512: 7e5ae0f3bbc4af1d779e1cd97e9cadceabe62317f857c895d9f5de49ed84f81c1da1df8df4d935ff0b1c2a040e1fa03f598bbdc6d64e82b225089c884c774743
2025-06-25 15:38:42 +02:00
pythcoiner
31798b7e43
export: allow to import a backup from a simple descriptor 2025-06-25 02:02:12 +02:00
edouardparis
4b6811bae0
Merge #1758: Add minimal nix development shell option
b7ca309af740b41e543cc4c2b1b7a3395a876c13 Add minimal nix development shell option (Edouard Paris)

Pull request description:

  ## Summary
  - Add minimal nix development shell option that provides only essential development dependencies
  - Enables faster development environment setup for contributors who prefer minimal tooling

  🤖 Generated with [Claude Code](https://claude.ai/code)

ACKs for top commit:
  edouardparis:
    ACK b7ca309af740b41e543cc4c2b1b7a3395a876c13

Tree-SHA512: 15bc6a80c685e5e0e29b8b85317a8f378bdacaf5568f40a3ed18901756a7752b82db3f0a350093713bc0baf51c3dfacd3fb2782fe34ab985745850c7354e13f0
2025-06-24 17:21:39 +02:00
pythcoiner
54c83615b0
export: add test cases for import_descriptor() 2025-06-24 17:21:09 +02:00
Edouard Paris
b7ca309af7 Add minimal nix development shell option
- Refactor flake.nix to use shared commonBuildInputs for all shells
- Add minimalShell without Rust toolchain accessible via `nix develop .#minimal`
- Keep default shell with full Rust development environment
- Maintains backward compatibility while providing minimal shell option

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 02:33:13 -07:00
pythcoiner
d66b596cf9
import: allow to import a descriptor from a backup in export::import_descriptor() 2025-06-23 18:48:07 +02:00
pythcoiner
53839e9274
gui: add a spacer below the main column at Add wallet step in liana-connect flow 2025-06-23 18:48:07 +02:00
pythcoiner
4bb4269975
gui: add import descriptor from file feature in liana-connect flow 2025-06-23 18:47:22 +02:00
edouardparis
e6dcfc4f74
Merge #1748: installer: reuse existing accounts
e5a68c359f7fc7833fded7f802802f91829f401f installer: reuse existing accounts (edouardparis)

Pull request description:

  ![20250616_17h18m34s_grim](https://github.com/user-attachments/assets/04c93b3a-b880-4f07-a099-667e895de9f6)

ACKs for top commit:
  edouardparis:
    Self-ACK e5a68c359f7fc7833fded7f802802f91829f401f

Tree-SHA512: 84551f8d5be6806efbfb1a46b5822029be6341f0b1801a9dbc8ed7677da5083f54cd203b69414cd4a3bec16c25b477a56f452ddd527cf8a7d3c87ca5636c84e2
2025-06-19 14:37:05 +02:00
edouardparis
e5a68c359f installer: reuse existing accounts 2025-06-19 13:24:19 +02:00
edouardparis
ad75d77e94
Merge #1749: refac: remove patch field from Version
fef70879b9507e0429a8a0a5211ba0547b68cc92 refac: remove patch field from Version (edouardparis)

Pull request description:

  The Version struct is used across the software
  to display the release version. A release version
  does not include patch number as we increment
  only the major and the minor during a new release.

  For very small patch that does not change the
  API and does not require a new release, then the crates Cargo.toml version patch number will be incremented.

ACKs for top commit:
  jp1ac4:
    tACK fef70879b9507e0429a8a0a5211ba0547b68cc92.

Tree-SHA512: 1a4e94c156377e810e15ba93267e6eddd0a273de48b18d0722f9e879eceb9b6ce8cb5f1347c075c1c17a47278b5fd6a64b51ad244cf15f390250d267cd8e23c7
2025-06-17 11:14:19 +02:00
edouardparis
fef70879b9 refac: remove patch field from Version
The Version struct is used across the software
to display the release version. A release version
does not include patch number as we increment
only the major and the minor during a new release.

For very small patch that does not change the
API and does not require a new release, then the crates
Cargo.toml version patch number will be incremented.
2025-06-16 18:48:31 +02:00
edouardparis
467556d2b2
Merge #1746: fix checks for whether wallet uses managed bitcoind
f8fcf7100b43e98398254d5c846ec9a8a96a1c74 fix checks for whether wallet uses managed bitcoind (Michael Mallan)

Pull request description:

  This fixes a couple of checks for whether the wallet uses a managed bitcoind.

ACKs for top commit:
  edouardparis:
    ACK f8fcf7100b43e98398254d5c846ec9a8a96a1c74

Tree-SHA512: e15cffc10cbe06b4769c65900befdb903109518059f03d31aac10e6ee91a0a9179d45e27eb22a0216b8b1d9ee073564bfb9839de890d32c148c4b243143f4b71
2025-06-16 10:18:02 +02:00
Michael Mallan
f8fcf7100b
fix checks for whether wallet uses managed bitcoind 2025-06-13 13:35:23 +01:00
edouardparis
04fac45943
Merge #1589: allow to connect to an electrum server w/ a self signed certificate
df1fb7f8f574b7f80f772c0eb4450fc9128e67e5 allow to connect to an electrum server w/ a self signed certificate" (pythcoiner)

Pull request description:

  This PR reintroduce the option to connect to an electrum server that use a self signed certificate

  Note: ssl://testnet.aranguren.org:51002 electrum server can be used to test this PR

ACKs for top commit:
  jp1ac4:
    tACK df1fb7f8f574b7f80f772c0eb4450fc9128e67e5.

Tree-SHA512: 0386ba7d2de37e3d62c8366ffe93df55d6f47e04f71fef241304f3d7f36b64b39bb6e6c573e06983b084003b1d72fa3dbc2a30236658c18b9fd92fab576090ad
2025-06-12 11:20:15 +02:00
edouardparis
173ab23b8c
Merge #1744: fix: use correct path to daemon.toml in settings
7785cbad28c476154499c931aab3ec7cb6d99650 fix: use correct path to daemon.toml in settings (Michael Mallan)

Pull request description:

  This fixes #1743 by using the correct daemon config file path of the current wallet.

ACKs for top commit:
  edouardparis:
    ACK 7785cbad28c476154499c931aab3ec7cb6d99650

Tree-SHA512: 3e0f16d68cb7a67b4ce82295cb32fb230f7cb6ba4889f5c3aeb40f80cc2a0488e4d3bff0ea26a5b397ef0639b1e95c98a7779075dbfdc2cf49a224e8e1a1c51d
2025-06-12 10:38:04 +02:00
Michael Mallan
7785cbad28
fix: use correct path to daemon.toml in settings 2025-06-11 16:05:17 +01:00
pythcoiner
df1fb7f8f5
allow to connect to an electrum server w/ a self signed certificate"
This reverts commit b7b52d73bec0522af6dd08e9018868841b9363ca.
2025-06-11 12:19:23 +02:00
edouardparis
b4e43dbac2
Merge #1734: minor doc improvements for nix/nixos users
3dd14224b9201dfbeca5d77f3aeb2e252c7615ca docs: try liana quickly from source for nix/nixos users (VzxPLnHqr)
2de330e7c1047590092a99cccc9bbaa85a54a603 docs: build notes for nix/nixos users (VzxPLnHqr)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK 3dd14224b9201dfbeca5d77f3aeb2e252c7615ca

Tree-SHA512: 1f5c9d9f318b7facd694616dd1aa15df82ab5499e10424e19c86e69b5fa3028760759c70f0a73eff4aa2afe0eb2c23ebc50288eb845650525e9d1c01ed13f088
2025-06-11 10:29:11 +02:00
edouardparis
019f03dbb7
Merge #1741: bump bdk_electrum to latest commit
dd864905cd0a27a661e7e274c599672093755e34 bump bdk_electrum to latest commit (Michael Mallan)

Pull request description:

  This bumps the bdk_electrum dependency to the latest commit of our "release/1.0.0-alpha.13" branch, which will enable the resolution of #1300.

ACKs for top commit:
  edouardparis:
    ACK dd864905cd0a27a661e7e274c599672093755e34

Tree-SHA512: 4a2fca7cd6084ae4772914c32f746e8d6946701dfd790c0aae62d7062071e6ab23557b240612f7b259ae95c78187098845ebb11c54b4cea1dd89d33eb8caec08
2025-06-10 11:54:09 +02:00
Michael Mallan
dd864905cd
bump bdk_electrum to latest commit 2025-06-09 14:23:25 +01:00
edouardparis
f19917e5cb
Merge #1701: refactor: response has not succeed and add missing checks
efba78844396ae9ccbf520f328783b44b367333e refactor: response has not succeed and add missing checks (Thomas Ballivet)

Pull request description:

  This should resolves #1679

ACKs for top commit:
  jp1ac4:
    tACK efba78844396ae9ccbf520f328783b44b367333e.

Tree-SHA512: 69bc94c8a5528b941e7796b4cf53a7945de8b1bbfc76954f65dce410be059b601e6b31d70790e04dd02dc6dc13a17600a4cc878d64de8deb89ce343bff101ac6
2025-06-09 10:51:36 +02:00
deerwhisper2310
c1a882a7c7
Update mod.rs
add period
2025-05-30 15:21:42 -04:00
VzxPLnHqr
3dd14224b9 docs: try liana quickly from source for nix/nixos users 2025-05-28 20:21:59 +00:00
VzxPLnHqr
2de330e7c1 docs: build notes for nix/nixos users 2025-05-28 20:20:20 +00:00
edouardparis
7d89bc70ff
Merge #1733: flake.nix: devshells include toolchain
52d6e03d75f35118adb919347950592d59dd628b flake.nix: devshells include toolchain (VzxPLnHqr)

Pull request description:

  on x86_64-linux, this was necessary to get cargo into the path so as to be able to execute things like `cargo build ...`.

  When trying to test out the latest release candidate from NixOS (x86_64-linux), running `nix develop` did not drop me into a devshell with cargo available. The fix here may not have been the best way to remedy that, but it did work, and then I was able to test the latest code by:
  1. `nix develop` to get into the devshell
  2. `cargo build --release`
  3. `target/release/liana-gui --datadir ./test_alice`

ACKs for top commit:
  edouardparis:
    ACK 52d6e03d75f35118adb919347950592d59dd628b

Tree-SHA512: 2e2570e230e296d10a3b8be96c580afd91f6b135d0bc6a57c0d587cf7ad159d740769370cf6bcad9a0c551b65af12905d7e08b5fbc21989ac513b379e7e83c4c
2025-05-28 15:05:07 +02:00
VzxPLnHqr
52d6e03d75 flake.nix: devshells include toolchain
on x86_64-linux, this was necessary to get cargo into the path so as to be able to execute things like `cargo build ...`
2025-05-27 19:30:46 +00:00
edouardparis
7d6da7e0ef
Merge #1731: Forgot to update liana-gui::VERSION
9cc20e4d8888fd4e814bfc9517750ebeb4179813 Forgot to update liana-gui::VERSION (edouardparis)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK 9cc20e4d8888fd4e814bfc9517750ebeb4179813

Tree-SHA512: 11fa763ca993f29d29e63ff1d6603c5a503b156fa87f305e7517c1ebba58007ee50f320d5ac96d2286831db94c3f0f5df9a52a778a05f795beea26d02399eae9
2025-05-27 15:48:21 +02:00
edouardparis
9cc20e4d88 Forgot to update liana-gui::VERSION 2025-05-27 15:22:53 +02:00
edouardparis
6aae522ce0
Merge #1729: fix update wallet alias in wallet settings
546ac29587e831abbe79e66d23cac9683467a842 fix update wallet alias in wallet settings (edouardparis)

Pull request description:

  L522 the wallet was populated with its new alias
  and the check L567 was always false.

  wallet_alias is None if we do not have to update it, so better pass the variable directly.

ACKs for top commit:
  edouardparis:
    Self-ACK 546ac29587e831abbe79e66d23cac9683467a842

Tree-SHA512: 971e441eb67cdc20aea7e2631bf74b568ce216e2a4d86a292d5f6d04bcfef37c3180c2df2510a150bc13ef605ab60bea40a8a7e8683f020b01f84aae9dd08098
2025-05-27 13:23:38 +02:00
edouardparis
546ac29587 fix update wallet alias in wallet settings
L522 the wallet was populated with its new alias
and the check L567 was always false.

wallet_alias is None if we do not have to update it,
so better pass the variable directly.
2025-05-27 10:39:21 +02:00
edouardparis
3b20dca815
Merge #1727: Changelog for v11
53df4ed9692a62ddf8f9f0da27e0dbe7706510d7 CHANGELOG for v11 (Michael Mallan)
33a0e147b4f49c6f230c0e8234e4b01dded0d88d revert change to CHANGELOG (Michael Mallan)

Pull request description:

  This adds the CHANGELOG for v11.

  I also reverted an accidental change made recently.

ACKs for top commit:
  edouardparis:
    ACK 53df4ed9692a62ddf8f9f0da27e0dbe7706510d7

Tree-SHA512: 3c7517c3784dd02af31c2a7d8d8d12220638430d1e307b8f0135a3baf16d65b0e9b18f926b15892c4c21a538fda1a028dc866252733e966bd9315b7b44226242
2025-05-26 13:39:01 +02:00
edouardparis
638dc6e9ff
Merge #1726: Prepare v11.0-dev
a9d417bc39fd86e4d7338361d1ef8011a32f3575 Prepare v11.0-dev (edouardparis)

Pull request description:

ACKs for top commit:
  jp1ac4:
    ACK a9d417bc39fd86e4d7338361d1ef8011a32f3575.

Tree-SHA512: ab72ed6c69d523f4259874d4ab0fd3f703ebd0a550fe362bb32d371f728c508dcbbc810526b4037911facbf4ee8c7511e86f6c2e3dcb0afbf509cc40243843ca
2025-05-26 13:38:13 +02:00
Michael Mallan
53df4ed969
CHANGELOG for v11 2025-05-26 11:55:23 +01:00
Michael Mallan
33a0e147b4
revert change to CHANGELOG
This reverts a change from 9411017da5dd775fe358e16c4ad9545343422c44.
2025-05-26 11:55:17 +01:00
edouardparis
a9d417bc39 Prepare v11.0-dev 2025-05-26 11:11:46 +02:00
edouardparis
2172abfe0a
Merge #1724: Make user finish signing process before opening new modal
874d2d406804b853e399800435bb0ee223d5d769 Make user finish sign process before opening new modal (edouardparis)
1d1a28195527cc04ce99969e5c85d2632402d73e Revert "gui: store SignModal state and allow to open export modal after signing in PSBT panel" (edouardparis)

Pull request description:

  This Pr is to mitigate three issues:
  close #1719
  close #1685
  and try to prevent a little bit the problem of impossible cancellation of the signing Task by disabling any other buttons and making aware of the user that he has to finish it (reject of approve).
  Sadly it is not the case for the sidebar menu button, so if user start the signing process and quit by switching panel, he may still have the problem of the signing task blocking in the background and may be surprised by the impossibility of iced to close properly.

  Proper signing task cancellation will require a change in the async-hwi library: https://github.com/wizardsardine/async-hwi/issues/108

  ![20250523_16h55m19s_grim](https://github.com/user-attachments/assets/8b92b975-29d1-4281-b8a9-b6a4a63495fe)
  ![20250523_16h54m17s_grim](https://github.com/user-attachments/assets/3ac8cf39-da75-42af-8390-cc5db77e8722)

ACKs for top commit:
  pythcoiner:
    tACK 874d2d40, it fixes back #1681
  jp1ac4:
    tACK 874d2d406804b853e399800435bb0ee223d5d769.

Tree-SHA512: bb25dcc086787cf491ca11359db756ef19508f1518d600d7091b0cb14422d9148ae3ee1f3ed47aa5dc642d7089152b7b36e1746be7dbe94d22bab71f2899645b
2025-05-23 18:35:51 +02:00
edouardparis
874d2d4068 Make user finish sign process before opening new modal 2025-05-23 17:49:04 +02:00
edouardparis
1d1a281955 Revert "gui: store SignModal state and allow to open export modal after signing in PSBT panel"
This reverts commit 7281e6352967009419a493ccd3825887001afa14.
2025-05-23 15:48:13 +02:00
edouardparis
51284b749f
Merge #1723: installer: clear aliases when user clear template
3e2d8780fcbf66721b2d37ca366b7c00c694b73e installer: clear aliases when user clear template (pythcoiner)

Pull request description:

ACKs for top commit:
  jp1ac4:
    tACK 3e2d8780fcbf66721b2d37ca366b7c00c694b73e.

Tree-SHA512: 63148ce9fa9e7c2b4ba54d1d797b549351bbf3004daf9d68a4125f7b081dab4a3c3b9148bf9e261b0d67df523e2b2dcfc08a35e7cad2efa3af2147a52c4d16aa
2025-05-23 15:35:52 +02:00
pythcoiner
3e2d8780fc
installer: clear aliases when user clear template 2025-05-23 15:10:04 +02:00
edouardparis
686ac24b9b
Merge #1720: show partial address in collapsed view
78a261da5a5e92f3589403760858105026e6278d show partial address in collapsed view (Michael Mallan)

Pull request description:

  To avoid the need for a scrollbar when showing previous addresses in the collapsed view, we will now show the first and last 16 characters only.

  ![image](https://github.com/user-attachments/assets/3ff7b68c-18e4-4cf5-ab90-8bb80dc57bb0)
  ![image](https://github.com/user-attachments/assets/c02cfed1-f639-4256-804b-b17bf5cb0502)

ACKs for top commit:
  edouardparis:
    utACK 78a261da5a5e92f3589403760858105026e6278d

Tree-SHA512: ca7282e47de3b828a8f8746f710a30650992499b785e5bb766c80ffafb83aa872dc63b5f1d85c2f1394a5eb4c018a2c4feeb772f8bafde021e81f5294811780c
2025-05-23 14:34:20 +02:00
edouardparis
16f33cbde8
Merge #1722: gui: add parsing for xpub from coldcard format
aa417be12781f995854dc2f4fc49da85d23569f2 gui: add parsing for xpub from coldcard format (pythcoiner)

Pull request description:

  this PR implement parsing Xpub from files exported from a coldcard via `Advanced/Tools` => `Export Wallet` => `Generic JSON`

ACKs for top commit:
  edouardparis:
    utACK aa417be12781f995854dc2f4fc49da85d23569f2

Tree-SHA512: eca22295926522ba199a3c0ace0adb52ee236a6a6b0fbd9ba52ba18cbbbbb4032ef3ef06dfd493fddd83e17ac0fbba84612bd73a3e0c1142783e30b60b781ff9
2025-05-23 14:22:44 +02:00