2229 Commits

Author SHA1 Message Date
Antoine Poinsot
7f3b0b0218
qa: test a PSBT has only the BIP32 derivations for a single spending path 2023-10-06 18:23:12 +02:00
Antoine Poinsot
b71bd693d6
qa: don't use a static dummy origin for descriptor xpubs 2023-10-06 18:23:12 +02:00
Antoine Poinsot
a81d39c81a
commands: do not include BIP32 derivations for other spending paths
When creating a PSBT, only include the BIP32 derivations in each input
for the spending path this PSBT was created for.

This is to workaround Bitbox only providing a single signature per
input. Most likely other signing devices will have this behaviour too in
the future. See
https://github.com/wizardsardine/liana/pull/706#issuecomment-1744705808.
2023-10-06 18:23:11 +02:00
edouard
19491d1d00
Merge #720: gui: Trim text inputs
9895b493f1d79ae8fc5a1591ef455ccda2d81ccd gui: trim text input strings (jp1ac4)
d3f2931375ff95c201a60164bf1015f18c6e87ce gui: remove unused file (jp1ac4)

Pull request description:

  This is to resolve #323.

  Following suggestions in #323, I've added a new `TrimmedString` struct that takes a string and applies `trim()`. This type is then used as `form::Value<TrimmedString>` to ensure text inputs are trimmed.

  I'm creating this PR as draft to check if this is the right approach before applying the change to other inputs.

  I've also removed a view file that seems to have been created accidentally.

ACKs for top commit:
  edouardparis:
    ACK 9895b493f1d79ae8fc5a1591ef455ccda2d81ccd

Tree-SHA512: 76c7f28ed2d0b6b6b76658a9368b918b0b211e2fabd72ac5d19c13adcbb2d3645b78680a8849f235ee58620fbe8df440ef8354f2d50d39601879bb7727465335
2023-10-06 10:22:53 +02:00
jp1ac4
9895b493f1
gui: trim text input strings
This is applied to all forms except those concerning fingerprint labels
and the new GUI labels feature.
2023-10-06 01:48:41 +01:00
edouard
52eabd6e07
Merge #715: installer: Finalize installation and start automatically on final step
f771e674faccf150a5210b3abe829d443619c3e6 gui(installer): restrict clicking previous on final step (jp1ac4)
45f91216d5d0991d7aebde8d4c8bc99edaf5521a gui(installer): remove unused fields from final step (jp1ac4)
03c2bd76b8c6c1b721014afb37da7732ddfeb0cd gui(installer): install and start automatically on final step (jp1ac4)

Pull request description:

  This is to resolve #679.

  The following changes have been made:
  - Change title of final step to "Finalize installation"
  - Install and load wallet automatically when reaching final step
  - Remove fields from `Final` step that are no longer used

  This is how the page looks when installing:
  ![image](https://github.com/wizardsardine/liana/assets/121959000/a5f2b35d-4c4b-4316-9b7b-744a19daf597)

  The following is only shown for ~1 sec once wallet has been installed and before loading wallet:
  ![image](https://github.com/wizardsardine/liana/assets/121959000/830240a1-860c-4c89-890a-e1fb91adfc25)

ACKs for top commit:
  edouardparis:
    ACK f771e674faccf150a5210b3abe829d443619c3e6

Tree-SHA512: b5360c77a13e4028331e4072246f1c897aa6fe61b0c8697b33d5c91ed460e55fe76b8808f4779db2b2f0322e27433e5dbb72fd0210cbf77f28a270bd82ea2558
2023-10-05 11:09:38 +02:00
jp1ac4
f771e674fa
gui(installer): restrict clicking previous on final step 2023-10-04 18:26:08 +01:00
edouard
b38d63d665
Merge #721: gui: show more info on synchronisation screen
2a9274adba60b9d4f2895f5547aa88c432ac9349 gui: show more info on synchronisation screen (jp1ac4)

Pull request description:

  This is to resolve #646.

  I've added the specified text to the synchronisation screen and also display the progress as a percentage above the progress bar.

  This is how it looks (on signet with Liana-managed bitcoind):

  ![image](https://github.com/wizardsardine/liana/assets/121959000/c274a373-3691-4035-a04e-e443853a4074)

  ![image](https://github.com/wizardsardine/liana/assets/121959000/bc2e9055-a9d6-4f68-b303-0ffa82bc08ab)

  ![image](https://github.com/wizardsardine/liana/assets/121959000/1a58a21c-f5ee-403e-bf40-09bdb1a6bf6f)

  Also, for external bitcoind:

  ![image](https://github.com/wizardsardine/liana/assets/121959000/e85efe6c-9f45-4cf7-97ba-15e40492655d)

ACKs for top commit:
  edouardparis:
    ACK 2a9274adba60b9d4f2895f5547aa88c432ac9349

Tree-SHA512: d12ab5c4dc4951c2393f2a9f26f3d01bcee82592b7dfc33c2fbf522e29745b1d894e1023daeb6ad1ae8082f1a9715c6487e1fd8e84db61574d96919f040c9323
2023-10-04 11:14:33 +02:00
jp1ac4
2a9274adba
gui: show more info on synchronisation screen 2023-10-03 23:17:24 +01:00
jp1ac4
d3f2931375
gui: remove unused file 2023-10-03 14:44:25 +01:00
Kevin Loaec
5858f2c30b
Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2023-10-02 12:06:36 +00:00
Kevin Loaec
e069be87c4
Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2023-10-02 12:05:36 +00:00
jp1ac4
45f91216d5
gui(installer): remove unused fields from final step 2023-09-28 18:46:06 +01:00
jp1ac4
03c2bd76b8
gui(installer): install and start automatically on final step 2023-09-28 18:45:04 +01:00
edouard
ab5afcf75a
Merge #717: installer: show message when starting already-installed bitcoind
7079c6f82b89bdd968b21a6b8bce37cff7e51d89 installer: show message when starting bitcoind (jp1ac4)

Pull request description:

  This is to resolve #714.

  The "Starting..." message will now be shown also in case bitcoind was already installed on a previous occasion:

  ![image](https://github.com/wizardsardine/liana/assets/121959000/dd385962-4fee-43e7-9177-96ff8b538e3f)

ACKs for top commit:
  edouardparis:
    ACK 7079c6f82b89bdd968b21a6b8bce37cff7e51d89

Tree-SHA512: 86d843208b0fa16eb9bc489b3e283ad1deb8e4aecf7743a7e124a23a4809c06d8b0dc8bc4fa68b6204f6ff0cede431b9799cda3d5d68e58720764b7fd089fb40
2023-09-27 16:03:12 +02:00
jp1ac4
7079c6f82b
installer: show message when starting bitcoind
This message will now be shown also in case bitcoind was already
installed on a previous occasion.
2023-09-18 14:42:35 +01:00
pythcoiner
78ac13cdb5 fee_rate 2023-09-17 06:25:52 +02:00
pythcoiner
a0186a9550 liana => liana_recovery 2023-09-17 06:00:37 +02:00
Antoine Poinsot
3a59790530
Merge #700: commands: optionally filter listcoins by status and outpoint
36e04edc8207df2b3b3c9fac78f11700514ee2bd db: update docstring for spend_coins (jp1ac4)
c492c51f26b55cc2fd1558bba2ea8a0ab2638d3f db: use coins() with filter in list_spending_coins() (jp1ac4)
eeaf90e5223049ee89832b5aa4a28a85d6c0f38e commands: optionally filter `listcoins` by status and/or outpoint (jp1ac4)

Pull request description:

  This is to resolve #676.

  I've renamed `CoinType` to `CoinStatus` and updated its values.

  The `listcoins` command and related functions can be optionally filtered by coin status and/or outpoint.

  Opening this as draft to check that I'm on the right track.

  Remaining tasks:
  - [x] Update tests
  - [x] Update API doc
  - [x] Possibly use the updated functions elsewhere, e.g. `list_spending_coins()`

ACKs for top commit:
  darosior:
    ACK 36e04edc8207df2b3b3c9fac78f11700514ee2bd

Tree-SHA512: 3f5692cd92c2b2011f845adb09523e86b5ea7b13a8bcf42452241b2e6229441c1d46efceb6138446cd7ddb083b3a8c9c2043b058f5caf691768f2f4b472e0fd0
2023-09-13 10:05:35 +02:00
jp1ac4
36e04edc82
db: update docstring for spend_coins 2023-09-13 08:49:55 +01:00
jp1ac4
c492c51f26
db: use coins() with filter in list_spending_coins() 2023-09-13 08:49:55 +01:00
jp1ac4
eeaf90e522
commands: optionally filter listcoins by status and/or outpoint 2023-09-13 08:49:54 +01:00
Kevin Loaec
e5652d9eb8
Update TRY.md
step 2 instead of 3
2023-09-12 15:22:37 +00:00
Kevin Loaec
02a1839262
Update TRY.md
done
2023-09-12 15:17:46 +00:00
Kevin Loaec
e1451fc2af
Update TRY.md
work in progress
2023-09-12 13:10:43 +00:00
Antoine Poinsot
38d0fafac2
Merge #698: Derive the Arch PKGBUILD from the Debian package.
34afbe415bf475c75427b74fcfbe1feb9e219b7c contrib: update the Arch PKGBUILD to use the Debian package (Antoine Poinsot)

Pull request description:

  Fixes #675.

ACKs for top commit:
  darosior:
    ACK 34afbe415bf475c75427b74fcfbe1feb9e219b7c -- tested by Kevin.

Tree-SHA512: 876c14d17dda19f03b0ff00809ec7aad31954dc805912a0cb5579391da0dce38754bf2461d347cfa9dd783acfe32e6769d0e7b97493f851b7e2b0a88093853d2
2023-09-07 16:52:54 +02:00
Antoine Poinsot
34afbe415b
contrib: update the Arch PKGBUILD to use the Debian package
To give it access to the icon and desktop entry.
2023-09-07 16:42:39 +02:00
Antoine Poinsot
1e2b1ca0d4
Merge #697: contrib: update Arch PKGBUILD to v2.0
2890fe7e9afa05212b00994a5fb623bf8c405843 README: update binaries' version to 2.0 (Antoine Poinsot)
702cca5f0f2953d258f198357146a58a3abb18d7 contrib: update Arch PKGBUILD to v2.0 (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 2890fe7e9afa05212b00994a5fb623bf8c405843 -- Kevin tested it locally.

Tree-SHA512: 96144e4957920bbe5f92d7177362aceee77db94091b5e55dff5489e072ee70120d09551f4ca613cddef5a196ce3ed8aae6a6389a3c5295b067bd3086b593be23
2023-09-07 15:13:54 +02:00
Antoine Poinsot
2890fe7e9a
README: update binaries' version to 2.0 2023-09-07 14:44:12 +02:00
Antoine Poinsot
702cca5f0f
contrib: update Arch PKGBUILD to v2.0 2023-09-07 14:42:44 +02:00
edouard
338195a186
Merge #689: gui: use patch for iced_futures
eebf0c20350554f422a028076a460b19f88a7c34 contrib: adapt GUIX build for iced_futures patch (edouard)
df849ba960ace67615a452970ffd2f323a53974e gui: use patch for iced_futures (edouard)

Pull request description:

  from #685

ACKs for top commit:
  darosior:
    ACK eebf0c20350554f422a028076a460b19f88a7c34 -- that's a clean backport of #685 (which i ack'd) and of #687 (which i authored).

Tree-SHA512: e80777417dad0301ce6b9762b2fac02a684e3ce312ad77509e5f2457bfdd11f93d46108fe7bed451eeacf7cc0f3703a8cfa8e18e2dda8f193e704a44c42d019a
2023-09-07 10:51:05 +02:00
edouard
cea73728bc
Merge #691: Allow rescan for external daemon and internal bitcoind
7c02557bc86bbac0f0511ea9a793105a5d7ddbb5 Allow rescan for external daemon and internal bitcoind (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 7c02557bc86bbac0f0511ea9a793105a5d7ddbb5 -- tested locally, i can now rescan on my mainnet wallet with an internal bitcoind.

Tree-SHA512: 2c3df72a0e3764c41ee8bcfe99b2c61fb14e98da0326e7245640fb3b1fd70cfc42568e3ca76434975198c4871aca76c5cfc96195c408cfe0041eae199dfafa69
2023-09-07 10:39:25 +02:00
edouard
7c02557bc8 Allow rescan for external daemon and internal bitcoind 2023-09-07 10:00:46 +02:00
edouard
0d44782701
Merge #688: async-hwi 0.0.11
9ac00d6996442cfe7b35efa80002e1794c549623 async-hwi 0.0.11 (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 9ac00d6996442cfe7b35efa80002e1794c549623

Tree-SHA512: 6e3850ed7ec182bc7beddae01f8357bff92676f24fd70018098f8cb25da09d551a877f0f5cf9da86255d62cf46416ff549bc5952fc692a30af47731ce136740d
2023-09-06 15:34:09 +02:00
edouard
eebf0c2035 contrib: adapt GUIX build for iced_futures patch 2023-09-06 15:31:47 +02:00
edouard
df849ba960 gui: use patch for iced_futures
close #684
2023-09-06 12:35:18 +02:00
edouard
9ac00d6996 async-hwi 0.0.11 2023-09-06 12:27:25 +02:00
Antoine Poinsot
4040f7e91b
Merge #682: GUI: installer: don't generate multiple times the same xpub in "participate"
9d2309ea5e7ee91eb0c06777153df59249d88926 CHANGELOG: warn about v2 descriptors being possibly incompatible with v1 (Antoine Poinsot)
3a4192bfc5b36b85315e6665604e9dc2d19e0624 [bugfix] gui: installer: don't let them generate more than one xpub (Antoine Poinsot)

Pull request description:

  This is a quick and dirty fix to be backported. Doing something like #291 could make sense in the future.

ACKs for top commit:
  edouardparis:
    utACK 9d2309ea5e7ee91eb0c06777153df59249d88926

Tree-SHA512: e6e4f93a30088a53bf690ccd5b90eadb690fa575e034440b99501dbf6dd59034fa7615b04238a5940da58f618f3ecc4f67ede95906139ea562de66ae1e3bda13
2023-09-01 13:47:50 +02:00
Antoine Poinsot
9d2309ea5e
CHANGELOG: warn about v2 descriptors being possibly incompatible with v1 2023-09-01 12:55:15 +02:00
Antoine Poinsot
3a4192bfc5
[bugfix] gui: installer: don't let them generate more than one xpub
We would always generate the same one.
2023-09-01 12:51:35 +02:00
Antoine Poinsot
ea81f97fc1
Merge #674: Couple release and distribution fixes
f1dc1fd4bc20843c01192999912ab5ef0dd32c85 contrib: fix the Liana.desktop in the Debian package (Antoine Poinsot)
271467b0e03f9e5fdeb7de8e555024644892defc contrib: release script fix (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK f1dc1fd4bc20843c01192999912ab5ef0dd32c85 -- tested the Debian package locally

Tree-SHA512: d8612a680c1c71f303f3d02f0e6ac2f8a9d4a5c74c0d530cac426aa4b386cbfa1b49d7098cbf67a537431cb3f17870040f05b36196e2d7e520a0f66e12e0c4b1
2023-09-01 11:13:50 +02:00
Antoine Poinsot
f1dc1fd4bc
contrib: fix the Liana.desktop in the Debian package 2023-09-01 10:33:11 +02:00
Antoine Poinsot
271467b0e0
contrib: release script fix 2023-09-01 10:26:41 +02:00
Antoine Poinsot
dbfdd0dca1
Merge #669: gui: ensure we can retry starting in case of error
6d9b754800ed336819e893b8864d75dd936b880b gui: ensure we can retry starting in case of error (jp1ac4)

Pull request description:

  This will ensure we can retry starting internal `bitcoind` in case of transient errors.

ACKs for top commit:
  edouardparis:
    utACK 6d9b754800ed336819e893b8864d75dd936b880b

Tree-SHA512: b7abace801d1690bd084c7aa5b4bf6dcf2fc495c480538f1cae0f348a5179958010413f758fd00930036ee13030d848cf631196225f99d624e61c4b5a922ea92
2023-08-31 17:13:00 +02:00
jp1ac4
6d9b754800
gui: ensure we can retry starting in case of error 2023-08-31 16:04:18 +01:00
Antoine Poinsot
1c1ba5c809
Merge #668: contrib: get rid of legacy vendored source information for guix
7cb79312f5c63d9c9290ba683ee8db1307b4c0ca contrib: get rid of deprecated vendored source information for guix (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 7cb79312f5c63d9c9290ba683ee8db1307b4c0ca -- trivial

Tree-SHA512: 10ed51ab520ac9b1db8d88d6a53a6bff7ae9951e779954dc4264261e72f9c2c3d773636e35a3890920d54adb8b4bf665ff61598db4a30e5b8cbcab9665edc8dc
2023-08-31 16:53:44 +02:00
Antoine Poinsot
7cb79312f5
contrib: get rid of deprecated vendored source information for guix 2023-08-31 16:52:21 +02:00
Antoine Poinsot
d22f622c98
Merge #665: contrib: bump release script version to 2.0
4dcd9aad0c626295f8c2baef553005e4e431e1fb contrib: bump release script version to 2.0 (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 4dcd9aad0c626295f8c2baef553005e4e431e1fb -- trivial

Tree-SHA512: ee8d5325b91fea845e5f4c84096c4761d902252d83349ecaa09850391fc32001e4584bae27167fd32a679ee52cd1879560382d555fe6b179d47de3a89fc3bf36
2023-08-31 16:46:08 +02:00
Antoine Poinsot
4dcd9aad0c
contrib: bump release script version to 2.0 2023-08-31 16:43:33 +02:00
Antoine Poinsot
ab61a006aa
Merge #642: Prepare v2 release
edb2c513a3fbd6a002ba94425430be8ab34258fd Bump lianad version to 2.0 (Antoine Poinsot)
e9a15fd1aacc0a3c367be6b0031dffc8ef9a9b70 CHANGELOG: update for v2 (Antoine Poinsot)

Pull request description:

  This is assuming #630 is merged, but not the fix for #323 (can be added to the CHANGELOG if it does).

ACKs for top commit:
  darosior:
    self-ACK edb2c513a3fbd6a002ba94425430be8ab34258fd -- simply docs and a version bump

Tree-SHA512: f08270dc76d2ed3d33e57cef503902d256e5d1bd4d3c933b380f6b567e68feb0998e56ba39855511b33f3a3c2a7d654bc24193033705495311b5a7497f191c3d
2023-08-31 16:30:05 +02:00