312 Commits

Author SHA1 Message Date
edouard
950dd105e3 fix spend view layout 2022-12-07 17:33:51 +01:00
edouard
c222dfba95 Check for duplicate recipient addresses 2022-12-07 16:46:17 +01:00
edouard
2aede0bc76
Merge #143: fix installer register descriptor error and add info
e01fd9b26facc2d01ed0ff0c4098dc93cfee7915 installer: make only xpub editable (edouard)
0969565b7ed0f1a08baa289f722a49c83f64003c fix installer register error (edouard)

Pull request description:

  - [x] fix register descriptor error
  - [x] ask only for xpub without wildcard

ACKs for top commit:
  edouardparis:
    Self-ACK e01fd9b26facc2d01ed0ff0c4098dc93cfee7915

Tree-SHA512: 4874f0ebfe5530590760f10debe5546c588e21124e6088dab9b60a2a8449a673cec80da0ca9de58250307a60acc9823c0957ea05f94cd5d28ff03b44e2cf6574
2022-12-07 15:51:48 +01:00
edouard
e01fd9b26f installer: make only xpub editable 2022-12-07 12:55:55 +01:00
Antoine Poinsot
1705581bd4
Merge #162: doc: quicktry: pkg-config isn't a runtime dependency!
f48ae69a9b3c1e5adf305a5fde8baff5811c345c doc: quicktry: pkg-config isn't a runtime dependency! (Antoine Poinsot)

Pull request description:

  Sigh.. I just copied what was in gui/README.md

ACKs for top commit:
  darosior:
    ACK f48ae69a9b3c1e5adf305a5fde8baff5811c345c

Tree-SHA512: 4d08677946dd40615b16a75f1cdd1049cc970a4742dbda39fdd359a48ab2ed50b076339e6240b9146385a95695ac85c6612baaf9b7fa8c24e963b10346aabc24
2022-12-07 12:09:43 +01:00
Antoine Poinsot
f48ae69a9b
doc: quicktry: pkg-config isn't a runtime dependency!
Sigh.. I just copied what was in gui/README.md
2022-12-07 12:09:03 +01:00
edouard
0969565b7e fix installer register error 2022-12-07 12:02:40 +01:00
Antoine Poinsot
8c206b0351
Merge #156: doc: small improvements to the quicktry document
8c9ce67aa43117c999943ffc6f52fb9b13453a66 doc: small improvements to the quicktry document (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 8c9ce67aa43117c999943ffc6f52fb9b13453a66

Tree-SHA512: 3ddc4c932b7bf8f60908c591bf16dc41785b49b356a5b8fac62baf873d16d75b887b1d90e0fcab1143922c4575bc3b4e9492945ed56625e6ca37714c45761fc1
2022-12-07 11:29:19 +01:00
Antoine Poinsot
8c9ce67aa4
doc: small improvements to the quicktry document 2022-12-07 11:28:23 +01:00
Antoine Poinsot
40eb605aea
Merge #128: More documentation
2cfcae286c760791011c03c7d9a58fec99fb0595 doc: add a guide for quickly trying out Liana (Antoine Poinsot)
973405c6798d0cf7aacaae7ab1d453395c2c2972 README: tiny cleanup to the installing section (Antoine Poinsot)
9b29c2e0aa65ef1301334466690e15b4d12ce506 doc: document how to build the project from source (Antoine Poinsot)

Pull request description:

  This adds instructions for building from source, as well as a guide to quickly try out the software on Signet.

ACKs for top commit:
  darosior:
    ACK 2cfcae286c760791011c03c7d9a58fec99fb0595 -- it's only doc, we can iterate later on.

Tree-SHA512: 5e2a2af4905bf17c6e3c05957c551ee7ccfb527c231c84ee26a5f74010c674530a36c995ef54ccd1a225c661d3bebedd68e253cd9c48bc810687d3ff28ce5e5c
2022-12-06 16:18:49 +01:00
Antoine Poinsot
2cfcae286c
doc: add a guide for quickly trying out Liana 2022-12-06 15:47:47 +01:00
Antoine Poinsot
973405c679
README: tiny cleanup to the installing section 2022-12-06 15:25:26 +01:00
Antoine Poinsot
9b29c2e0aa
doc: document how to build the project from source 2022-12-06 15:25:25 +01:00
edouard
6572b2fa4a
Merge #154: gui: cleanup the "amount left to select" calculation
493dbde666b73097848a5a4c7d10ee1ad7cfeab2 gui: cleanup the "amount left to select" calculation (Antoine Poinsot)

Pull request description:

  It don't think it was blatantly wrong, but neither was it entirely correct. And it was seriously lacking comments explaining what was going on for such a tricky calculation.

  In order to make sure it's correct, and make this more code more maintainable (and readable to future contributors), clean it up by using a more obviously-correct approach: a transaction template that is filled with inputs depending on the coins that were selected.

  I DID NOT TEST IT!

ACKs for top commit:
  edouardparis:
    ACK 493dbde666b73097848a5a4c7d10ee1ad7cfeab2

Tree-SHA512: b8094326f42ed86a4fcd4e16961a7cb77b07d423215665248dd20db66e2c2eb5500fd7cbdb58d0febae5beb3a40f7b531ec24d1c3e7d7a16a45686ac40a89e9b
2022-12-06 15:10:28 +01:00
edouard
aaf489dbdf
Merge #152: installer: change default xpub derivation path
2342923fc274dcdcc012b227c5955ebf3dbc28c3 installer: change default xpub derivation path (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 2342923fc274dcdcc012b227c5955ebf3dbc28c3

Tree-SHA512: c25516c744c2f4b1869fd02b424723d8f2cc0da5b1ae407ccedf325add2c75dceced16a0137ded25140fe8ca84a7945842fe867b72bde2596d3441021e8589a1
2022-12-06 13:38:35 +01:00
Antoine Poinsot
35dc4abd00
Merge #132: contrib: add a script to generate coverage data for the daemon
94f313133b80d9bd684fefee644a44621aed9066 contrib: add a script to generate coverage data for the daemon (Antoine Poinsot)

Pull request description:

  Taken and adapted from revaultd. Can be trivially adapted to the GUI.

ACKs for top commit:
  darosior:
    ACK 94f313133b80d9bd684fefee644a44621aed9066

Tree-SHA512: 1899526aa134f01d36ce624fad536a3794afb61ddbdd55a5688c0d9647405c3200354634a05348e8b801c174ddcdbaf3f98609ef07f3d360222ef808b649d012
2022-12-06 13:22:44 +01:00
Antoine Poinsot
6d95aaedec
Merge #145: gui: use glow feature instead of wgpu
2e8b72a809155b6ec4989da270a96119956d531e gui: use glow feature instead of wgpu (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 2e8b72a809155b6ec4989da270a96119956d531e. We don't need an efficient renderer, and it looks like it's helpful for Guix builds.

Tree-SHA512: eb75c2ef6913cd5a90a29843e4d2470f1693b2bdb814ba953dd7ee1d9b27d3a9a95712cd7b7bedf4627853993a9f25fc70a8a12cf7df6c042ae2be72bad3e27b
2022-12-06 13:20:46 +01:00
Antoine Poinsot
0c80702f1b
Merge #151: Some tiny cleanups
a4e66566886901f28e383e67f06de2215e3ebc42 daemon: remove / correct some TODOs (Antoine Poinsot)
628ed3d0ed3997a64d8d0d92206842ef5445e2fa descriptors: remove TODO in assertions, explain instead (Antoine Poinsot)
62067f0030795143cbec87dcc1d5db0e5265c5c5 qa: remove needless import in fixtures (Antoine Poinsot)

Pull request description:

  Small things i noticed while working on #148.

ACKs for top commit:
  darosior:
    ACK a4e66566886901f28e383e67f06de2215e3ebc42

Tree-SHA512: 0d6b6b95a99744cd92b9ecd30d9678ff27c7223238a31c3e9093899caa11889d40cfe4c7d855c07c378ca127ca900269980d179aeb02478f04e3eaa1e20e1721
2022-12-06 13:20:33 +01:00
Antoine Poinsot
493dbde666
gui: cleanup the "amount left to select" calculation
It was making unnecessary computations when no feerate was provided, and
was not accounting for VarInt's. Instead of adding more magic values
just build a transaction template and use that.
2022-12-06 12:16:56 +01:00
edouard
36dbe27b03
Merge #146: Add warning to home panel
53514939da522f557c9c804a2b97fd5731b17864 Add clipboard to coin outpoint (edouard)
23e533fbeea96bb6ea5137ff66414e94b997b513 Add warning to home panel (edouard)

Pull request description:

  when remaining sequence is inferior to timelock*10/100, a warning is displayed in home panel
  based on #137

ACKs for top commit:
  edouardparis:
    Self-ACK 53514939da522f557c9c804a2b97fd5731b17864

Tree-SHA512: 5d317ae7e2094e6d8841ef58ed362abcc211111fa951969d42dc96ac1729055c60edc355de17524408e4e918de3d62d419d65869348c22b48e7d9ea42449dbac
2022-12-06 11:20:10 +01:00
edouard
53514939da Add clipboard to coin outpoint 2022-12-06 10:18:39 +01:00
edouard
23e533fbee Add warning to home panel
close #121
2022-12-06 09:47:28 +01:00
edouard
552920589e
Merge #137: Refac spend steps
9d60db3abf04cc03a36462a8b45b7d4da3978339 fix view: spend detail width (edouard)
70527a002ed04718789ba05389899b731e40146b spend: display amount left to select (edouard)
c3471c066540743b3725bd68abbff7779b1e79e6 spend: order coins by remaining sequence and amount (edouard)
c88c39a8b92854f5d50f267ee82be429c328e011 spend steps: add total sent (edouard)
f0758d28abf2ee255f02bafb0deb806ba4ac98aa spend: add remaining sequence to coins (edouard)
6d92056b9d5ea4c64d89845ead13b2fff2a3689d bump liana#38e342c8 (edouard)

Pull request description:

  - [x] Add remaining sequence to coins
   - [x] Order coins by remaining sequence or amount
   - [x] Move feerate form to coins selection step
   - [x] Check amount left to select at coins selection step

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

Tree-SHA512: 8ecb9a7c75e2ecf2dcd90111d532542a83128209dc9d6057636fc5e6ceb5c1091633b987d64f30c46e1a75a6f27a26e05f469eb8b45b980e1fabd3a798e69a71
2022-12-06 09:45:48 +01:00
edouard
9d60db3abf fix view: spend detail width 2022-12-05 18:22:27 +01:00
edouard
2342923fc2 installer: change default xpub derivation path 2022-12-05 16:25:59 +01:00
edouard
70527a002e spend: display amount left to select 2022-12-05 15:39:34 +01:00
edouard
c3471c0665 spend: order coins by remaining sequence and amount 2022-12-05 15:39:19 +01:00
edouard
c88c39a8b9 spend steps: add total sent 2022-12-05 15:39:19 +01:00
edouard
f0758d28ab spend: add remaining sequence to coins 2022-12-05 15:39:19 +01:00
edouard
6d92056b9d bump liana#38e342c8 2022-12-05 15:39:19 +01:00
Antoine Poinsot
a4e6656688
daemon: remove / correct some TODOs 2022-12-05 11:17:27 +01:00
edouard
38e342c8cd
Merge #148: descriptors: add a method to get the size of a spending input
eebc96c4d53f0f6a86d5ddf4267b3d4a45aa7e3f descriptors: add a method to get the size of a spending input (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  edouardparis:
    utACK eebc96c4d53f0f6a86d5ddf4267b3d4a45aa7e3f

Tree-SHA512: 6d94d7eccfed1d828633f7942072c7b044339c1df7add1df209bba6409131aa138f8cf83a36691df88af237943dcc45c3b1e050745143ab663a6c9c13c83176a
2022-12-05 11:15:13 +01:00
Antoine Poinsot
628ed3d0ed
descriptors: remove TODO in assertions, explain instead 2022-12-05 10:05:26 +01:00
Antoine Poinsot
62067f0030
qa: remove needless import in fixtures 2022-12-05 10:04:03 +01:00
Antoine Poinsot
eebc96c4d5
descriptors: add a method to get the size of a spending input
This is useful for the GUI.
2022-12-05 09:58:04 +01:00
edouard
2e8b72a809 gui: use glow feature instead of wgpu 2022-12-02 11:23:29 +01:00
edouard
606e2cd1b3
Merge #144: Smooth border color
9948b10689ae98312f0740ecb09fea26e56031b0 Smooth border color (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK 9948b10689ae98312f0740ecb09fea26e56031b0

Tree-SHA512: 3ae2bd8ba20314d6bf3787ba2db8d3a042c096952cf5d10f22fd02c6edabc468ec7d94037e010685045b5477bb0d9dfbbabce6d3faef9c3ded1217528d324fab
2022-12-01 18:35:22 +01:00
edouard
9948b10689 Smooth border color 2022-12-01 17:11:56 +01:00
edouard
c369984bf4
Merge #141: Display output and input in collapse component
e13050385382a114b79f19e298fc74f2a3fbbf0d change clipboard icon (edouard)
4205f62972b4c61c4c1878fb120564bfedbd5eac Display output and input in collapse component (edouard)

Pull request description:

  this resolve some comments in #50

ACKs for top commit:
  edouardparis:
    Self-ACK e13050385382a114b79f19e298fc74f2a3fbbf0d

Tree-SHA512: ddc4d1f5770fa5f839ef189a495f67f6a10c02d866bc3da23d245f0add532600fe24e819b8e119303128d10a355fee0f8aa75085db7653d0a46a6567b469e5ae
2022-12-01 11:34:27 +01:00
edouard
e130503853 change clipboard icon 2022-12-01 10:56:49 +01:00
edouard
4205f62972 Display output and input in collapse component 2022-12-01 10:56:49 +01:00
edouard
4b16195f40
Merge #135: Add loader error message
17669547ed8716c5bba08f73067c74ba7cb9c0ab Add loader error message and retry button (edouard)

Pull request description:

  Refac notification::warning component to use a Collapse instead of Tooltip.

  close #134

ACKs for top commit:
  edouardparis:
    Self-ACK 17669547ed8716c5bba08f73067c74ba7cb9c0ab

Tree-SHA512: b7c031e4daf99706bd46c83c6687b1c55b4d8ce496ea58c86db003c161fd281904e8ba76cd572bdc5c332ba96a9005cc1386e1a5967ecc4dd0d088e9f28e286b
2022-12-01 09:44:53 +01:00
edouard
17669547ed Add loader error message and retry button
Refac notification::warning component to use a Collapse
instead of Tooltip.

Add a retry button to start again Liana.

close #134
2022-12-01 09:23:43 +01:00
edouard
d6e6c67d1d
Merge #136: gui: clean static directory
0f760c68adaabb699a3e33b721196c4b8cf00d5f gui: clean static directory (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 0f760c68adaabb699a3e33b721196c4b8cf00d5f

Tree-SHA512: a53e1e0ac2d44b6aaf59324597c7c0c99aa82867d017c60ad7c3f2c22737d4c79608bcebe1107297bfa3ecda8328eb31984cd506cf63f96e5d65272f3665d509
2022-12-01 08:38:31 +01:00
edouard
0f760c68ad gui: clean static directory 2022-11-30 08:51:24 +01:00
edouard
27e170f659
Merge #130: Fix installer wording
59c12cd5844e19f296066465fd34a3be48e26f2e installer: wait process is done before next step (edouard)
0577b971b77c0691f0dbb948956eb7616c4c8614 installer: add progress information (edouard)
0365794f910833e400f2418e52b6259f3ccb9b22 installer: add final step summary (edouard)
437faef1af01d9952f5ed3156ce38d9964ba5efb Add learn more collapse to installer (edouard)
8348ad1afadc2e46994b364d595491cc327d4961 installer: add backup descriptor step (edouard)
b260ac420819cb41f8740fa12f65b3a79d69eed3 installer: keep refresh button to list hws (edouard)
92699c645b38f97bfcde35d30b83981335285bdf installer: create or import wallet (edouard)
c89b8d88f59f4dec556d083b6f39c8263279741c installer: rename network pick_list (edouard)

Pull request description:

  base on #129

ACKs for top commit:
  edouardparis:
    Self-ACK 59c12cd5844e19f296066465fd34a3be48e26f2e

Tree-SHA512: d8016b353b54a744ab69c4d7278f4c04aab18326d97293b1b145bb5c3a46633c4ebbc4ccd3291e88fb508f02d44137d82f88218ce936b4a221335b16be879ff6
2022-11-29 17:22:28 +01:00
edouard
59c12cd584 installer: wait process is done before next step 2022-11-29 17:00:03 +01:00
edouard
90dd1871c2
Merge #131: bump async-hwi 0.0.2
0a756747df102323fa86c1198820319ce1c2f27f bump async-hwi 0.0.2 (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Selg-ACK 0a756747df102323fa86c1198820319ce1c2f27f

Tree-SHA512: 8a5bdecaa03c72a54dbabb59d425fe0c3d6409246d10c9f63e8bfb3363b78e6c758687b852afe3ddb854398f7595cc7db9c868fe05659dd1c511acc9c86cce93
2022-11-29 15:44:55 +01:00
edouard
0577b971b7 installer: add progress information 2022-11-29 12:12:02 +01:00
edouard
0365794f91 installer: add final step summary 2022-11-29 12:12:02 +01:00