70 Commits

Author SHA1 Message Date
jp1ac4
fae32df086
gui: pass change_address param to createspend 2024-01-29 15:53:49 +00:00
edouardparis
366e9b7d49 gui: use descriptor method to detect psbt change outputs
This commit also fix handling of create_spend result while
updating liana:master

close #841
2024-01-25 17:01:43 +01:00
edouardparis
3196a8025e gui: bump liana:master and async-hwi:master 2024-01-22 15:49:56 +01:00
edouardparis
99bc44d2b1 gui: remove base64 dep 2024-01-22 12:20:22 +01:00
jp1ac4
5c06eef586
gui(daemon): fix rbfpsbt params for external daemon 2024-01-08 15:40:24 +00:00
jp1ac4
e373ad45d4
gui: use helper for unsigned tx max size 2023-12-15 18:00:34 +00:00
edouardparis
4ccecd1cdf Use create_spend to calculate amount left to select
close #822
2023-12-12 10:07:43 +01:00
jp1ac4
71fd9c4900
gui: enable use of RBF on pending transactions 2023-12-08 00:39:14 +00:00
jp1ac4
ce50dd8c41
gui: optionally filter spend transactions by txids 2023-12-07 23:28:47 +00:00
jp1ac4
4846a0b05a
gui: update liana dependency
This is needed to use the `rbfpsbt` command.

Now, `create_spend` has an additional parameter
for change address, which we leave as `None`.
2023-12-07 18:46:57 +00:00
jp1ac4
0ab00cd658
gui: keep conflicting PSBTs as Pending until confirmation 2023-12-06 17:35:06 +00:00
edouardparis
40ade751e0 Fix transactions Labelled methods
Better to use the input previous output
field instead of relying of possible missing
coin.
2023-11-28 13:08:35 +01:00
edouardparis
946e499b5a Handle missing coin inputs in tx and psbt
As coins deposited by an unconfirmed
transactions can be removed from
the database, GUI should not rely
on them to calculate fees.
The fees must be passed as Option.

If a input coin is missing for a psbt,
we use the witness_utxo amount
and settle the total fee to None
if both are absents.
2023-11-27 17:48:35 +01:00
jp1ac4
9e2407eb8a
gui: auto-select coins for spend 2023-11-15 20:01:30 +00:00
edouard
1a59d03858
Merge #706: Add bitbox support
4be74ad496692d371adffcc1b3c868ef6a01cb52 refac hw module and add bitbox support (edouard)

Pull request description:

  - Add bitbox02 as possible signer to liana-gui
  - Introduce global_settings.json in datadir to keep the bitbox noise config.

ACKs for top commit:
  edouardparis:
    Self-ACK 4be74ad496692d371adffcc1b3c868ef6a01cb52

Tree-SHA512: e0615e1903baa7faecc25db717f49ed71c23a6afcec607c41ac2045cfb2cfa9a9aa3d3452cc952aeaf72a735d670c56dbf19b239c8d665466a2ecb09fbe222c5
2023-10-24 17:46:37 +02:00
edouard
4be74ad496 refac hw module and add bitbox support 2023-10-24 17:23:57 +02:00
edouard
2f2975c279 coinbase transaction outputs may not have valid scripts 2023-10-24 17:09:33 +02:00
edouard
c170f7b25b fix psbt labelling for single payment 2023-10-23 16:45:09 +02:00
edouard
28aaca919a gui: update liana:master 2023-10-23 16:17:57 +02:00
edouard
07fbc0c1b3 Attach outpoint and txid labels for single payment transaction 2023-10-23 16:17:57 +02:00
edouard
757b53ebab cargo update -p liana 2023-10-18 17:37:12 +02:00
edouard
9edcdd9a4e Add labels to change outputs according to main label 2023-10-18 17:37:12 +02:00
edouard
2354ac9175 cargo clippy --fix --lib -p liana_gui 2023-10-18 17:37:12 +02:00
edouard
9db4541952 Add labels support to gui 2023-10-18 17:37:12 +02:00
jp1ac4
846431ed53
gui: display (estimated) feerate
For transactions that have been broadcast, the feerate is calculated
using the transaction's actual size. For PSBTs, the feerate is
calculated using the max satisfaction size for all inputs, whether
they have been signed or not.
2023-10-12 16:16:55 +01:00
Antoine Poinsot
3250d8dc87
gui: adapt to latest change in lianad API 2023-08-29 19:11:30 +02:00
edouard
caa9d385b9 check if embedded daemon is stopped before request 2023-08-23 12:24:53 +02:00
edouard
a1c7166117 fix gui: stop daemon gracefully 2023-08-22 16:18:39 +02:00
edouard
30ce2dea08 installer: use appended path instead of account number for xpubs 2023-08-11 17:48:10 +02:00
edouard
e327928f83 gui: bitcoin=0.30 and async-hwi=0.0.8 2023-07-19 16:24:28 +02:00
edouard
b4c7d1af50 gui: refac psbt view 2023-04-25 21:39:06 +02:00
edouard
e7e8028d8a ui: add history events to design-system 2023-04-20 12:20:48 +02:00
edouard
4064e92200
Merge #422: gui: display if signer signed in modal
1a6221bbf022b934c2ac89bcea536478c47cbcbb gui: display if signer signed in modal (edouard)

Pull request description:

  close #349

ACKs for top commit:
  edouardparis:
    Self-ACK 1a6221bbf022b934c2ac89bcea536478c47cbcbb

Tree-SHA512: ed7220374dd6c022daf39ac2f0137fce3c81a3b4bd99e9250a61438b42fbeaaff24e4cdbf604004a06b58c57ed1f3e9f28f7475f0c4d487856e14975e2472449
2023-04-12 16:23:59 +02:00
edouard
499f792685 gui: fix wrong jsonrpc delspendtx request 2023-04-11 14:55:10 +02:00
edouard
1a6221bbf0 gui: display if signer signed in modal
close #349
2023-04-07 17:21:38 +02:00
edouard
54fd0d8f50 fix gui jsonrpc client: wrong createspend args 2023-04-06 16:09:56 +02:00
edouard
75527ab145 gui: fix list spend transactions ordering
Spend transactions are first ordered by status
in the following order: pending, broadcast, spent,
deprecated, then by `updated_at` field with last
updated tx first.

close #281
2023-04-05 17:36:46 +02:00
edouard
ce23bcf498 gui: add path selection to recovery panel 2023-04-04 15:17:06 +02:00
edouard
35dbb47bc1 gui: update liana with multipath support 2023-04-04 15:17:06 +02:00
Antoine Poinsot
2dea4b1a6c
Merge #355: Clippification: a little bit of housekeeping
ebf5a294ad5eeb9359625e941013809f5544672b gui: fix some clippy warning (Antoine Poinsot)
cf3e9cafe05d703637e09220351113d7be4458e4 ci: run clippy using Rust 1.67.1 (Antoine Poinsot)
896575842119a5e2779309edea4f9b4141126825 bitcoind: fix a clippy warning about lifetime ellision (Antoine Poinsot)

Pull request description:

  FIx clippy lints and bump the clippy version for the daemon. Also fix some lints for the GUI (there are some false positives that couldn't be fixed though).

ACKs for top commit:
  darosior:
    self-ACK ebf5a294ad5eeb9359625e941013809f5544672b -- trivial

Tree-SHA512: 3fccbce67637d417da1758584f1d4f027e1536054b21c7abafc2e6b70e65901abb373a1ffc7fc7efbbbdf5c504ccde9df75e477d72ecd46a8b7798ce7985f64d
2023-03-21 18:51:02 +01:00
edouard
a13bb0272b gui: add logger module and handle log file destinations
Installer has its own log file installer.log that is removed
after successful install.
When changing network, the destination log file change
to <datadir>/<network>/liana-gui.log
2023-03-08 16:12:19 +01:00
Antoine Poinsot
ebf5a294ad
gui: fix some clippy warning 2023-02-17 10:26:14 +01:00
edouard
9535b80258 Add spent tag to confirmed broadcast tx
close #233
2023-02-16 10:49:22 +01:00
edouard
56d3522f8c gui: change path signature details 2023-02-06 11:09:30 +01:00
edouard
445ad733fb Add signatures information to spend 2023-02-02 12:23:48 +01:00
edouard
1f3399bd0f Add PartialSpendInfo to SpendTx model 2023-02-02 11:01:19 +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
bde519fa7b Integrate modal component in spend tx actions 2023-01-02 15:48:32 +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
fffca977a9 fix client: list_pending_txs must include incoming tx 2022-12-16 15:49:17 +01:00