Commit Graph

604 Commits

Author SHA1 Message Date
yse
3e2f2dbc74 fix: always execteassadsfix: run full scan on misaligned tips 2025-03-05 22:59:11 +01:00
yse
ae1a7fbf96 fix: use height instead of lwk Tip for wallet 2025-03-05 22:54:08 +01:00
yse
2681699da2 fix: ensure wallet and chain service tips are within leeway 2025-03-05 22:54:07 +01:00
Roei Erez
3081c0bc0e rename reconnect_handler to subscription_handler 2025-02-28 13:59:29 +02:00
Roei Erez
2a2514cbe9 limit claim for local swaps 2025-02-28 11:17:18 +02:00
Roei Erez
33e5ac5a16 fix clippy 2025-02-27 22:56:32 +02:00
Roei Erez
f8252fca68 Only claim if local swap 2025-02-27 22:39:42 +02:00
Roei Erez
61ea9c5582 subscribe incoming synced records to swapper updates 2025-02-27 16:02:42 +02:00
Ross Savage
69e17c60a1 Fix Clippy issues (#758) 2025-02-26 12:42:34 +01:00
Roei Erez
35f0e0fc3f Merge branch 'v0.7.0-package'
* v0.7.0-package:
  update version to 0.7.1
  Remove min 0-conf fee rate (#750)
  update version to 0.7.0
2025-02-24 11:44:16 +02:00
Daniel Granhão
5209532433 Tolerate older wallet tx map during tx recovery (#751) 2025-02-23 22:41:53 +00:00
Ross Savage
b390864986 Chain swap: calculate cooperative tx size and allow immediate refund (#715)
* Calculate cooperative tx sizes

* Allow immediate refund of failed incoming chain swap

* Update to merged trunk

* Calculate refundable amount from utxos

* Revert removable of utxo selection

* Apply suggestions from code review

Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>

---------

Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
2025-02-21 08:09:53 +01:00
Erdem Yerebasmaz
5a6b495f6c chore: Update flutter_rust_bridge to 2.8.0 & update Flutter dependencies to latest (#727)
* chore: update Flutter dependencies to latest

Use Flutter version 3.27.4 on CI workflows

* chore: update flutter_rust_bridge to 2.8.0 and generate bindings

chore: update dependencies to latest

* Use Flutter 3.29.0 on CI workflows
2025-02-19 13:25:01 +03:00
Roei Erez
6d47d2964d update version to 0.7.1 2025-02-18 18:16:42 +02:00
Erdem Yerebasmaz
ded8ef16b8 Extract description from metadata_str for LNURL payments (#740)
* Extract description from LnUrlPayRequestData's metadata on lnurl_pay

* Persist description from lnurlp metadata on payment details description

* Use invoice description if it's available then fallback to description from metadata

for LNURLp payments
2025-02-18 17:25:34 +03:00
Daniel Granhão
2f27042e65 Remove min 0-conf fee rate (#750)
(cherry picked from commit eb3b12021c)
2025-02-18 12:23:10 +00:00
Daniel Granhão
eb3b12021c Remove min 0-conf fee rate (#750) 2025-02-18 12:20:39 +00:00
Ross Savage
6bf203dd80 Add seed to ConnectRequest (#748)
* Add seed option to ConnectRequest

* Explicitly require mnemonic or seed
2025-02-17 17:37:06 +01:00
yse
9fbf7774b8 feat: add client_id to rt-sync notifications (#747) 2025-02-17 16:31:31 +01:00
Daniel Granhão
3ec57ad93e Add tx propagation grace period to swap recovery (#733)
* Add tx propagation grace period to swap recovery

* Add missing tx reset checks and improve logs
2025-02-17 13:23:32 +00:00
Roei Erez
8243f3bbf8 update version to 0.7.0 2025-02-17 15:12:16 +02:00
Ross Savage
c686e44dfe Deduct send amount if tx not seen yet (#736)
* Deduct send amount if tx not seen

* Reuse NETWORK_PROPAGATION_GRACE_PERIOD_SEC to determine a new tx

* Use the payment event to update the wallet info
2025-02-13 13:59:51 +01:00
Ross Savage
a1fcf60d24 Consider created send swaps as recoverable (#735) 2025-02-12 16:18:56 +01:00
Roei Erez
206d0a3065 Merge pull request #732 from breez/lock-free-sync
Refactor sync notifications loop
2025-02-11 18:46:28 +02:00
Roei Erez
cb4da697f4 Some more logs 2025-02-11 18:37:35 +02:00
Roei Erez
fb953c3386 lock free sync trigger 2025-02-11 17:58:43 +02:00
Daniel Granhão
fc03572588 Persist and expose BIP353 addresses (#718)
* Persist and expose BIP353 addresses

* Increment schema minor version

* Move bip353 address from LNURL context to SendDestination

* Update after sdk-common merge

* Address review

* Only try to insert bip353 address when available
2025-02-11 15:29:16 +00:00
Roei Erez
2216e8859f fix log message 2025-02-11 15:18:13 +02:00
Roei Erez
224b9cac73 commit changes regardless of sync trigger exists. 2025-02-11 14:12:58 +02:00
Roei Erez
453feca8b1 refactor sync notifications loop 2025-02-11 10:25:58 +02:00
Daniel Granhão
b5e1f2963d Clean payment txs data on sync (#731)
* Clean payment txs data on sync

* Move liquid wallet full scan into sync
2025-02-10 16:34:35 +00:00
Ross Savage
9dade57317 Send Swap recovery fixes (#730)
* Only recover claim tx when the lockup tx exists

* Only set local send swaps from Created to TimedOut on restart

* Fix is_local condition
2025-02-10 17:33:43 +01:00
Roei Erez
41bfaab8f1 Revert "Clean and update dependencies (#726)"
This reverts commit c52acd5ae7.
2025-02-09 17:49:30 +02:00
yse
e6747058d7 feat(rt-sync): add notifications endpoint (#694) 2025-02-09 04:01:23 +01:00
Daniel Granhão
99d8765681 Support regtest (#707)
* Support regtest

* Fix bindings, print and switch boltz client crate

* Remove stop-grace-period

* Fix docker compose issues

* feat: add rt-sync to regtest setup

* Configure local rtsync instance on default regtest config

* Bump sdk-common rev

* Fix compose restart missing quotation

* Specify platform only in base configurations

* Fix after rebase

---------

Co-authored-by: yse <hydra_yse@proton.me>
2025-02-07 16:00:59 +00:00
Daniel Granhão
c52acd5ae7 Clean and update dependencies (#726) 2025-02-07 13:59:00 +00:00
Roei Erez
72ec801898 fix persist error on initialization 2025-02-06 20:01:02 +02:00
yse
e7a7adaf8a feat: remove swapper initialization at startup (#712) 2025-02-06 14:24:55 +01:00
Roei Erez
0056429c0d Merge branch 'v0.7.0-rc4'
* v0.7.0-rc4:
  update version to 0.7.0-rc4
2025-02-06 13:06:12 +02:00
Ross Savage
0b4acc6f6a Add seed passphrase to ConnectRequest (#722)
* Add seed passphrase to ConnectRequest

* Fix tests
2025-02-06 11:32:47 +01:00
Daniel Granhão
1e5bf46b70 Use same tx_map for recovery of swaps and liquid payments (#720) 2025-02-06 09:35:01 +00:00
yse
bc0a7dbf2b feat: add log header on SDK init (#717) 2025-02-06 09:19:18 +01:00
Roei Erez
2ae49043df update version to 0.7.0-rc4 2025-02-05 17:42:51 +02:00
Roei Erez
543b1d198c Merge pull request #719 from breez/savage-fix-signer-empty-derivation-path
Don't attempt to derive empty derivation path
2025-02-05 17:40:03 +02:00
Roei Erez
96ad2fcb5e Merge branch 'debug-ios-crash-on-push'
* debug-ios-crash-on-push:
  update version to 0.7.0-rc3
  Switch to pure AES implementation in ecies (#716)
  update version to 0.7.0-rc2
  Add logging to handle_push
  update version to 0.7.0-rc1
2025-02-05 17:31:59 +02:00
Ross Savage
144b027120 Don't attempt to derive empty derivation path 2025-02-05 15:17:41 +01:00
Roei Erez
8a0036d2d3 update version to 0.7.0-rc3 2025-02-04 21:46:31 +02:00
Daniel Granhão
87cc4a830e Switch to pure AES implementation in ecies (#716)
(cherry picked from commit d139f36756)
2025-02-04 21:44:31 +02:00
Daniel Granhão
d139f36756 Switch to pure AES implementation in ecies (#716) 2025-02-04 18:43:22 +00:00
Roei Erez
3594943aec update version to 0.7.0-rc2 2025-02-04 18:43:04 +02:00