1731 Commits

Author SHA1 Message Date
edouardparis
0a7ff2b0ea
Merge #1086: GUI: Stateless remote backend integration
3b60a57bd4e30f40d3bd3efae52a8e488bc060da Remove bitcoind from settings panel if remote backend (edouardparis)
5e2fe3b6c1e9099dc2f087b122bef1c398ebec62 Add liana remote backend (edouardparis)
ca662eea6a40919e1f51275ef1915c892f13e7ce Add lianalite module (edouardparis)

Pull request description:

  Implements the Daemon Trait for a http client consuming signet.lianalite.com API (**only signet for now**).
  Everything is **stateless**, it will not create configuration files or modify settings.json files, but only communicate with the remote backend.

  In order to test it, you need an account and wallet created on `signet.lianalite.com`, then run:
  ```
  cargo run -- --email <email>
  ```
  the cli will then ask you for the otp token present in the authentification email.

ACKs for top commit:
  edouardparis:
    Self-ACK 3b60a57bd4e30f40d3bd3efae52a8e488bc060da

Tree-SHA512: 39b0436e3cd484b2a4b90115994ffd7ba1c3bc578549c5e992b7ee3a77625f821fbab9c6325b44ebd6f1058fc25ac2f5eee73962c8364845a2e85b26471e71ca
2024-07-17 11:51:00 +02:00
edouardparis
0c1c82984c
Merge #1145: Add -h/--help args to the GUI
243f4eac0aaf3def57b3a1107ff8db67749609e7 Add -h/--help args to the GUI (pythcoiner)

Pull request description:

  ```shell
  $ liana-gui -h

  Usage: liana-gui [OPTIONS]

  Options:
      --conf <PATH>       Path of configuration file (gui.toml)
      --datadir <PATH>    Path of liana datadir
      -v, --version       Display liana-gui version
      -h, --help          Print help
      --bitcoin           Use bitcoin network
      --testnet           Use testnet network
      --signet            Use signet network
      --regtest           Use regtest network

  ```

  Closes #1073

ACKs for top commit:
  jp1ac4:
    Tested ACK 243f4eac0aaf3def57b3a1107ff8db67749609e7.

Tree-SHA512: a046966f40da178fd736bcbe0e8042b03fc671baafab71ea3e1413ece3667f915d40f40437c10ecdd27476454d3e552760ac0d2c5d5bc8b21a0b519980cfa9b6
2024-07-17 11:22:32 +02:00
edouardparis
cf008a7243
Merge #1190: disable previous button if device processing
f457dd447cd4af89aace9f56e085073590dde8e5 installer: at descriptor registartion step, disable previous button if device processing (pythcoiner)

Pull request description:

  This PR diasable the previous button  at the descriptor registration step if a device is still processing, avoiding issues like #1158.
  The other way around can be to reset the state of `self.processing` if user go back, but look less clean to me.

  closes #1158

ACKs for top commit:
  edouardparis:
    utACK f457dd447cd4af89aace9f56e085073590dde8e5

Tree-SHA512: 7fee81b17d72f88eb1a673e2875ec9998e1ec7567afa1b487ca07b3d95c8fd1c161159660e37a2e1505b871ce2bf9286a75e5c055f777844062a78e0a08bc695
2024-07-17 11:18:51 +02:00
edouardparis
d93e610b38
Merge #1139: add specter support for tap-miniscript
7e36256f67929ab6c8f829f2ce385f80d7f0354f add specter support for tap-miniscript (pythcoiner)

Pull request description:

  This pr enable specter support for tap-miniscript.
  tested:

  descriptor registration
  spend trough internal key path
  spent trough taptree path

ACKs for top commit:
  jp1ac4:
    Tested ACK 7e36256f67929ab6c8f829f2ce385f80d7f0354f.

Tree-SHA512: 0407979575d206595889ceb0777c7af329979600c9a5348d5f867f8069a9ad417fc805923f5186cff3aa0c9d3c8cfaa31373e148c182112ffa17fc533d287f20
2024-07-15 16:48:59 +02:00
edouardparis
696036f648
Merge #1111: Add instruction to refresh Antoine PGP key
ba9213e48c232a3ae9fcc79506f2ebbe76995cf8 add instruction to refresh Antoine PGP key (pythcoiner)

Pull request description:

  fixes #1077

ACKs for top commit:
  edouardparis:
    ACK ba9213e48c232a3ae9fcc79506f2ebbe76995cf8

Tree-SHA512: 4105f7f568c923e1997e804c45f66ecfe982be28e8459c007009a5280d7cbdab8386e263ce57117784eac1791987035a9d88ae5270dbaf5f60bb144ccbd2fa7b
2024-07-15 15:22:13 +02:00
pythcoiner
f457dd447c installer: at descriptor registartion step, disable previous button if device processing 2024-07-11 03:01:32 +02:00
edouardparis
3b60a57bd4 Remove bitcoind from settings panel if remote backend 2024-07-04 15:59:39 +02:00
edouardparis
5e2fe3b6c1 Add liana remote backend 2024-07-04 15:59:39 +02:00
edouardparis
ca662eea6a Add lianalite module 2024-07-04 15:59:39 +02:00
edouardparis
ccc88421b3
Merge #1171: gui: fix displayed feerate estimate
6c5f83ce15805997632cc6f698d40b4c2eb4017e gui: fix displayed feerate estimate (jp1ac4)

Pull request description:

  This is to fix #1168.

  When estimating transaction size, check if any inputs are using a relative locktime.

  I think this logic could later be moved to the `unsigned_tx_max_vbytes` method itself.

ACKs for top commit:
  edouardparis:
    ACK 6c5f83ce15805997632cc6f698d40b4c2eb4017e

Tree-SHA512: b95853b0b59729d4f8356e6e556c209025eec25e235cacf2385920f90e19f2e4a057d0d59aa28015fdfcc72f7133f122bfa3f3a9e3ced77e2f189ba43570413c
2024-07-04 13:30:01 +02:00
jp1ac4
6c5f83ce15
gui: fix displayed feerate estimate 2024-07-04 10:35:26 +01:00
edouardparis
51d28129bc
Merge #1169: gui: fix clippy warning
3ee7a5bb99a2d267f8b3cb3955ec9885c24a8f57 gui: fix clippy warning (edouardparis)

Pull request description:

  I do not know why but clippy started throwing warning about this line of code

ACKs for top commit:
  jp1ac4:
    ACK 3ee7a5bb99.

Tree-SHA512: 536d5398649d0223b0f43b6c7be1063c617ed001579c07e9b2fb5f94602470677644a9f774e7413428a9c7416da30839f967f9a3d52429d39121f04db80896fc
2024-07-03 16:36:18 +02:00
edouardparis
3ee7a5bb99 gui: fix clippy warning 2024-07-03 15:13:13 +02:00
edouardparis
1f86504bdc
Merge #1165: Add interrupt method to state trait
5c59c4f5deb5576b7935191d4ed11a8916c974de Add interrupt method to state trait (edouardparis)

Pull request description:

  Before changing panel, the previous state may need to release a hardware connection for example.
  In order to achieve this we introduce an interrupt method that is used to drop action state.

  close #1162

ACKs for top commit:
  pythcoiner:
    tACK 5c59c4f5deb5576b7935191d4ed11a8916c974de
  jp1ac4:
    ACK 5c59c4f5deb5576b7935191d4ed11a8916c974de.

Tree-SHA512: 6405a928f0303b25ff863e76dcc7a36e703471cf726c10e755b4145d301d4e01b0ca241160b49216cb456fc7d934c83fcbecf976dcee56473163cce01507f7b0
2024-07-01 15:32:49 +02:00
edouardparis
5c59c4f5de Add interrupt method to state trait
Before changing panel, the previous state
may need to release a harware connection
for example.
In order to achieve this we introduce an interrupt method
that is used to drop action state.

close #1162
2024-07-01 14:01:59 +02:00
Antoine Poinsot
b6f49c4735
Merge #1150: gui: bump version to v6
973938fb20cfba75536623f21d4277c5407bb3cc gui: bump version to v6 (Antoine Poinsot)

Pull request description:

  In preparation of the rc1 release.

ACKs for top commit:
  darosior:
    self-ACK 973938fb20cfba75536623f21d4277c5407bb3cc

Tree-SHA512: 9f7cdaf88d800a16a0dcbd05b1d0cb20ee9e4aaae157cacff761cce822a29239d33eeb0a2cbe80429cb0bd28d46e84ef03e4d471b76cadbc8169a8cb3e9b0e75
2024-06-28 15:13:19 +02:00
Antoine Poinsot
876a7a39af
Merge #1131: Use rustc 1.70 required by gui for docker reproducible build
b0d30dbebf23b44399e5f75a2a786c4fd66293eb Use rustc 1.70 required by gui for docker reproducible build (edouardparis)

Pull request description:

ACKs for top commit:
  darosior:
    utACK b0d30dbebf23b44399e5f75a2a786c4fd66293eb

Tree-SHA512: 752187b01c573701e22d5f388fb61b30e9e2688a1f2b5540efa61bc53221dcf9a7b4cc6b29b89d2f148ec972cde1a476c454a71a447b72004de1cd8c3a2c2462
2024-06-28 14:24:24 +02:00
Antoine Poinsot
973938fb20
gui: bump version to v6 2024-06-28 14:19:20 +02:00
Antoine Poinsot
585bb5b763
Merge #1148: Prepare v6.0 release
15f4e819724006f52b9468b3b6a176460682fd59 doc: slight improvement to Jade documentation (Antoine Poinsot)
2bd25b6eaaedf52e2e9672bd2e05d8d07580917f Release notes for 6.0 (Antoine Poinsot)
168112de10617f03abf8bd7bdf1ea4dd5dbaabaf Bump version to 6.0 (Antoine Poinsot)

Pull request description:

  The first step toward the v6 release: bump the lianad version and update the release notes.

ACKs for top commit:
  darosior:
    self-ACK 15f4e819724006f52b9468b3b6a176460682fd59

Tree-SHA512: 211e5ed7ae440f26e1761b178401c5b36bbe2de0c893a0aae03ae7ef770e5a0df67d0fb9bcce05b766845f2fc8df7cc0db4cdc13c47ecf84d2b521ccce989905
2024-06-28 14:06:42 +02:00
Antoine Poinsot
15f4e81972
doc: slight improvement to Jade documentation 2024-06-27 15:58:04 +02:00
Antoine Poinsot
2bd25b6eaa
Release notes for 6.0 2024-06-27 15:58:03 +02:00
Antoine Poinsot
168112de10
Bump version to 6.0 2024-06-27 15:53:30 +02:00
edouardparis
4f41276fbb
Merge #1141: installer: add a warning if remote adress is not loopback
3d55616b66e8a0995e2ef9e4ad6d294bf23fe6a7 installer: add a warning if remote adress is not loopback (pythcoiner)

Pull request description:

  This PR is a variant of #1137, it add a warning under text input field if user try to connect to a non-loopback address & use RPCAuth:

  ![image](https://github.com/wizardsardine/liana/assets/124568858/f925f9e1-d212-4b1e-9e58-d40f7633f026)

  It also add a check on address + RPC user/password/cookie:
  Check connection button is greyed out until address is valid + user and password are filled (if RPCAuth selected)

  Closes https://github.com/wizardsardine/liana/issues/1059

ACKs for top commit:
  jp1ac4:
    Tested ACK 3d55616b66.

Tree-SHA512: a48efe85ee178a4bf216a9cc60b03cbb705c6337b1ce21a49bd031a032e2e81e70428fa4cd76c5ee297b428912dc64f51ffc8ce8dfa928b000dcff412ca530db
2024-06-27 09:41:01 +02:00
pythcoiner
3d55616b66 installer: add a warning if remote adress is not loopback 2024-06-27 09:23:47 +02:00
pythcoiner
243f4eac0a Add -h/--help args to the GUI 2024-06-27 08:33:36 +02:00
edouardparis
370aadb1d7
Merge #1140: gui: fix psbt update
c289186803ab6a26ee95e71a59cb5b24414d3260 check validity of user form for psbt update (edouardparis)
b70d83ec29fa0ab69a618fb696de84e8306985e8 gui: non regression test for psbt update (edouardparis)

Pull request description:

  first commit is a non regression test, should fail on CI.

  close #1133

ACKs for top commit:
  edouardparis:
    Self-ACK c289186803ab6a26ee95e71a59cb5b24414d3260

Tree-SHA512: 79b88e3dbf996f18af9b9e3546418194f9f5d01054c9fdffe2dae36191b4f9eb2b3f0a2c09ca42f6bccf635c6e8efb6325e3250d242a7b29913f822681c0c04d
2024-06-26 11:05:29 +02:00
edouardparis
c289186803 check validity of user form for psbt update 2024-06-26 10:52:31 +02:00
edouardparis
b70d83ec29 gui: non regression test for psbt update 2024-06-26 10:52:31 +02:00
pythcoiner
7e36256f67 add specter support for tap-miniscript 2024-06-25 16:38:11 +02:00
edouardparis
8e6fa8be02
Merge #1134: update async-hwi with serial fix
5a313243586d143d8321b3335a8a151289eb5db2 bump async-hwi for hw serial connection fix (edouardparis)

Pull request description:

  close #1126

ACKs for top commit:
  edouardparis:
    Self-ACK 5a313243586d143d8321b3335a8a151289eb5db2

Tree-SHA512: 1ba101a7f02c0aa339c76c8b9a72c6b97ec4ee27f13263de106b58c81ce31c1d6ad189d0f93a62c204966745ebaadab4efe8f34a38d65d5f7b0dd15ebd6982ac
2024-06-25 15:27:03 +02:00
edouardparis
5a31324358 bump async-hwi for hw serial connection fix 2024-06-25 14:29:47 +02:00
edouardparis
67d835a7b3
Merge #1136: gui: fix large enum variant clippy error
ea5d9de54b28420b0000193674528ee4f0d337bb gui: fix large enum variant clippy error (edouardparis)

Pull request description:

ACKs for top commit:
  jp1ac4:
    ACK ea5d9de54b28420b0000193674528ee4f0d337bb.

Tree-SHA512: 0c512fa2892edfc1ee177ebd4884e0880ccb6e9076533d2c7b2f4646aec3c966668a5e1f23f2cb9158e1010f4da621bdf30ee4d1a8d84bc8aad2aaa721c1756c
2024-06-25 14:22:58 +02:00
edouardparis
ea5d9de54b gui: fix large enum variant clippy error 2024-06-25 12:55:31 +02:00
edouardparis
ac01a68591
Merge #1114: Clippyfy rust 1.78.0
a8e256eb6b5463dfd32599618998592a94835193 clippyfy (pythcoiner)

Pull request description:

  Note [this](7a11fe584a/gui/src/main.rs (L5-L6)) is related to a clippy warning that appear on MacOs (and i guess on windows)

ACKs for top commit:
  edouardparis:
    utACK a8e256eb6b5463dfd32599618998592a94835193

Tree-SHA512: 33d84a14718f14caf97c0a46796488cd1f3415b78efb285277afa8384b10831522a2ed15c73c9bdee4dd775ffd294ba76b146e3034d734a067c30ab25b483790
2024-06-25 11:41:13 +02:00
pythcoiner
a8e256eb6b clippyfy 2024-06-25 03:01:29 +02:00
Antoine Poinsot
bdc0b50ad9
Merge #1125: descriptors: improve satisfaction size estimate for single key
0eda557fdf219b16af8b2d831a755148f1286669 descriptors: improve satisfaction size estimate for primary path (jp1ac4)

Pull request description:

  This is to resolve #1118.

  It improves the satisfaction size estimate in the case of a primary path spend involving a single key.

  Tests have been updated to account for transaction fees now being lower in some cases due to better estimates.

  It was already known that we sometimes end up with a transaction feerate (in sat/vb) lower than our target value, since our fee calculation from coin selection is based on sat/weight, which can give a sat/vb value lower than our target due to rounding. This will probably happen more often now given that we'll pay lower fees due to better size estimates.

ACKs for top commit:
  darosior:
    ACK 0eda557fdf219b16af8b2d831a755148f1286669

Tree-SHA512: 588ded7d69e937dd32ee66ca0d59daad405a1bc4605eef1b6342788625f07a6b9d2c166fb35722d0f002e10104d6e57c13abfa7a7fbbc0fd84391b91c766b2aa
2024-06-21 16:53:17 +02:00
edouardparis
b0d30dbebf Use rustc 1.70 required by gui for docker reproducible build 2024-06-21 11:46:45 +02:00
edouardparis
93dbf6e2f6
Merge #1124: replace the descriptor by template in descriptor registration step
40f9dd9bc43bac0c966585ac2770a02aa4c92765 replace the descriptor by template + key vector in descriptor registration step (pythcoiner)

Pull request description:

  This PR replace the descriptor displayed in the installer descriptor registration step, by the wallet policies template + its keys, as almost (all?) signing devices displays the discriptor in this way for registration.

  ![image](https://github.com/wizardsardine/liana/assets/124568858/ac4d6dee-dbe9-448e-b89f-1d4cc6710676)

  closes #727

ACKs for top commit:
  jp1ac4:
    Tested ACK 40f9dd9bc43bac0c966585ac2770a02aa4c92765.

Tree-SHA512: 396d20d766b89b93d3f598b3168311dfa693fcd83efe02e0515ee6428e006a5e2db4f502e3b21f50a085f37e44a1049bbfa3e4e09719a6101396012b80486cea
2024-06-21 10:23:12 +02:00
jp1ac4
0eda557fdf
descriptors: improve satisfaction size estimate for primary path
Thanks to darosior for providing the changes to `max_sat_weight`
and the Taproot sanity checks test.
2024-06-20 17:09:38 +01:00
pythcoiner
40f9dd9bc4 replace the descriptor by template + key vector in descriptor registration step 2024-06-20 11:40:08 +02:00
edouardparis
610a95bf3b
Merge #1116: Set minimum window size
3bca6faffe6f1802e08471af05548f355804767c set minimum window size (pythcoiner)

Pull request description:

  fixes #506
  i put ~~800x800~~ as default size, feel free to told me if you think something else more appropriate.
  edit: i change to 1000x800 so we can also close #507 (i do not have strong opinion, 1000 looks a bit large to me, but if we decide less than 1000 i think we shouls close #507 also)

ACKs for top commit:
  edouardparis:
    ACK 3bca6faffe6f1802e08471af05548f355804767c

Tree-SHA512: 673e40304c9070777ebcc539975fdc28b14df559330b68dd8f6b23f7ab09dee22364a037967604ab70e1ca9596ecc028930dbb80878faadd085f11e47d3fa491
2024-06-19 15:12:29 +02:00
edouardparis
b36220504f
Merge #1121: fix outdated gui/shell.nix
d919d92cc0b1c90b0ad01bc5a41898c119fef5a1 fix shell.nix (plebhash)

Pull request description:

  fix #1120

ACKs for top commit:
  edouardparis:
    ACK d919d92cc0b1c90b0ad01bc5a41898c119fef5a1

Tree-SHA512: 29d946f4ffab5cf114e01abfc75eeafc925214cff7efe2c6e57cb085dcfd066beca60a31576b672e4ec5258afc2746774cba8c6ddb24fff58c1c13844ab31c5e
2024-06-17 11:11:49 +02:00
plebhash
d919d92cc0
fix shell.nix 2024-06-16 16:02:07 +02:00
pythcoiner
3bca6faffe set minimum window size 2024-06-11 13:04:13 +02:00
edouardparis
dddd62b31e
Merge #1113: Remove ui example
64370af843a6e7442b1c1813fc22c34be68a43d8 remove ui example (pythcoiner)

Pull request description:

  closes #1072

ACKs for top commit:
  jp1ac4:
    ACK 64370af843.

Tree-SHA512: 6efa8d95a16060db5efcfcdc466dfaa41dab583f4faeb5ce7a3f3fd072da11139cbbb9447a6b78813d65f6a48c5b400a0bca1f8cdb4993ad8af560340101bba0
2024-06-10 16:23:59 +02:00
edouardparis
6f0a850278
Merge #1112: Update hw support info
33b67fca980e364d97fca9b2142bdae381960914 update hw support info (pythcoiner)

Pull request description:

  Fixes #1106, taproot support already specified in doc/signing_devices.md

ACKs for top commit:
  jp1ac4:
    ACK 33b67fca98.

Tree-SHA512: c5fcc6ea7bb2af49039ad0649e689e1d4d3c01bb510e9f6b5f3db1622f42c84eefbe1f2205d667d369bcc89dd45cabac4bb3a830484557296667a88d2e598af3
2024-06-10 16:02:46 +02:00
pythcoiner
64370af843 remove ui example 2024-06-10 02:56:46 +02:00
pythcoiner
33b67fca98 update hw support info 2024-06-10 02:48:04 +02:00
pythcoiner
ba9213e48c add instruction to refresh Antoine PGP key 2024-06-10 02:40:49 +02:00
edouardparis
93d12b62d1
Merge #1108: Revert "add specter support for tap-miniscript"
8921140f6b5adec85f129b07a2040b78c45a72c1 Revert "add specter support for tap-miniscript" (edouardparis)

Pull request description:

  This reverts commit 876d83af6518a3e4ae45e156ef2952a7e67affc1.

  TAP_KEY_SIG was in fact not implemented by specter version 1.9.0 db3ce3e918

ACKs for top commit:
  jp1ac4:
    ACK 8921140f6b.

Tree-SHA512: abe108775441680139d72b7067dac0679f20f176762fc4d9471fc31061de594840099c7b4f4fc7a3bf75d54026af8cb7256bee9d3c15ef84eb2da1f20b88cbda
2024-06-07 12:52:36 +02:00