Commit Graph

881 Commits

Author SHA1 Message Date
Roei Erez
5a6649ade6 Merge branch 'v0.8.3'
* v0.8.3:
  update version to 0.8.3
  Set esplora/waterfalls as default chain explorer backend
  Update version to 0.8.2
  Fix recommended fees calculation
  update version to 0.8.1
  Broadcast receive swap server lockup txs (#904)
2025-05-19 10:02:59 +03:00
Ross Savage
d0f84bf65b Allow get_payment to get payment no matter the state (#921) 2025-05-19 05:27:33 +00:00
Ross Savage
c872a62f1d Add user lockup_tx_id to Bitcoin payment details (#918) 2025-05-19 05:26:18 +00:00
Ross Savage
ce5a7f99b9 Set the BOLT12 offer min amount (#909) 2025-05-15 10:14:15 +00:00
Ross Savage
42c7bfe285 Add LNURL-verify notification plugin tasks (#911)
* Add LNURL-verify notification plugin tasks

* Only settled when MRH payment is complete

* Ignore unknown JSON keys

* Log fail replyURL

* Prevent escaping slashes
2025-05-15 06:26:32 +02:00
Ross Savage
f8275cbd17 BOLT12 receive updates (#907)
* Pass the invoice request error back via WS/Webhook

* Remove the MRH blinded payment path

* Fix incorrectly set Liquid address

* Fix notification error handling

* Fix BOLT12 offer webhook URL update

* Optimize requests during BOLT12 invoice creation

* Address review feedback

* Fix Wasm regtest issue with WS receive channel

* Update merged dependencies
2025-05-12 11:52:49 +00:00
Roei Erez
68b2f5da17 Merge pull request #905 from Dunsin-cyber/fix/mrh-address
fix : invalid MRH addresses during Receive Swap recovery
2025-05-11 19:45:03 +02:00
yse
6128edb531 fix: ignored payment events on failed wallet sync (#910)
* fix: increase `NETWORK_PROPAGATION_GRACE_PERIOD` to 1 minute

This ensures that the PaymentTxData of pending Send swaps is not deleted
before confirmation

* fix: abort sync on wallet scan fail

This ensures that operations that depend on coherent wallet information
(e.g. recovery) do not execute when the SDK is out of sync
2025-05-05 14:19:05 +02:00
Roei Erez
2f37e510e9 update version to 0.8.3 2025-05-04 12:01:09 +03:00
Daniel Granhão
e97bf9e088 Set esplora/waterfalls as default chain explorer backend
(cherry picked from commit a65b58dd44)
2025-05-04 11:59:31 +03:00
Roei Erez
7d5d5b9fae Merge pull request #906 from breez/daniel-set-waterfalls-as-default
Set esplora/waterfalls as default chain explorer backend
2025-05-03 21:08:45 +03:00
Ross Savage
3fc567768f Fix recommended fees calculation (#908) 2025-05-02 19:07:02 +00:00
Ross Savage
759925c4b5 Update version to 0.8.2 2025-05-02 20:31:24 +02:00
Ross Savage
783c51a3bc Fix recommended fees calculation 2025-05-02 20:29:37 +02:00
Dunsin
86c156c976 fix : invalid MRH addresses during Receive Swap recovery 2025-04-30 17:19:51 +01:00
Daniel Granhão
a65b58dd44 Set esplora/waterfalls as default chain explorer backend 2025-04-30 17:18:25 +01:00
Daniel Granhão
94bd1bc31d Upgrade boltz regtest submodule (#898) 2025-04-30 10:03:44 +01:00
Roei Erez
a7472f4651 update version to 0.8.1 2025-04-30 10:21:51 +03:00
Daniel Granhão
4a0cb993b3 Broadcast receive swap server lockup txs (#904)
(cherry picked from commit 68ed656aaa)
2025-04-30 10:18:42 +03:00
Daniel Granhão
68ed656aaa Broadcast receive swap server lockup txs (#904) 2025-04-29 20:05:16 +01:00
Daniel Granhão
89190663e2 regtest: build data-sync image (#903) 2025-04-29 17:59:16 +01:00
Ross Savage
b206775f03 Downgrade to ubuntu 22.04 for built binaries (#901) 2025-04-29 15:27:01 +00:00
Ross Savage
8e51200514 Update CI secp256k1-zkp dependency (#900) 2025-04-29 13:03:30 +00:00
Ross Savage
71b66e553f Move dependency to breez org (#899) 2025-04-29 12:50:49 +00:00
Ross Savage
5b69c7beb2 BOLT12 receive (#882)
* Add BOLT12 receive payment handling

* Handle BOLT12 invoice requests via WS

* Fix invoice request subscription on stream initialisation

* Store the BOLT12 offer used to receive a payment

* Address review feedback

* Separate into create BOLT12 invoice fn

* Update all BOLT12 offers when webhook URL changes

* Deprecate Lightning for Bolt11Invoice
2025-04-29 11:43:45 +00:00
Ross Savage
586a349b75 Fixes the reference to the dart repo tag (#887)
* Fixes the reference to the dart repo tag

* ci(flutter): do not publish pubspec_overrides.yaml

* Run just version

---------

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
2025-04-24 09:44:57 +00:00
Daniel Granhão
ca23206ae8 WASM: end-to-end-test support (#846)
* Wasm: end-to-end-test support

* Update testing dev docs

* Expose Arc in prelude

* Switch to waterfalls fork

* Set node version
2025-04-24 09:43:55 +01:00
Daniel Granhão
14868de334 Fix missing 0.8.0 version bumps (#895) 2025-04-23 11:34:55 +01:00
Daniel Granhão
c0079d93eb Drop unnecessary tip requests (#891) 2025-04-22 18:17:35 +01:00
Roei Erez
3c7781bbb4 Merge branch 'v0.8.0'
* v0.8.0:
  remove ubunto-20.04 as it is dprecated
  update version to 0.8.0
2025-04-22 17:53:43 +03:00
Daniel Granhão
e10c7b129a Prevent concurrent claim attempts (#883)
* Prevent concurrent claim attempts

* Add timeout to boltz client

* Use same timeout for boltz API and chain clients

* Update boltz client rev after merge
2025-04-21 10:33:19 +01:00
Roy Sheinfeld
cf1a8eeb92 Update README.md 2025-04-18 15:12:14 +03:00
Roei Erez
66fce1287a remove ubunto-20.04 as it is dprecated 2025-04-17 22:31:26 +03:00
Roei Erez
90cec4b18e update version to 0.8.0 2025-04-17 20:53:38 +03:00
Roei Erez
eb06866c1a Merge pull request #886 from breez/wasm-server-url
Fix WASM Breez server url
2025-04-17 19:30:18 +03:00
Roei Erez
9cc61ce4b0 Fix WASM Breez server url 2025-04-17 18:57:59 +03:00
yse
c1fff12cda feat[rt-sync]: add failsafe mechanism (#871)
* fix[rt-sync]: improve logging

* feat[rt-sync]: add failsafe mechanism on event loop

* fix[rt-sync]: apply review suggestions

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

* fix[rt-sync]: only consider record conflicts for db wipe

* fix[rt-sync]: add better error handling

- Removes DecryptionError in favor of PullError
- Extends PushError variant
- Increments push failed counter on
`PushError::ExcessiveRecordConflicts` variant

---------

Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
2025-04-16 18:50:13 +02:00
Daniel Granhão
fbd0673e81 Fix invoice expiry check logic (#885) 2025-04-16 15:49:43 +01:00
Daniel Granhão
1f71244c45 fix: Interval not compatible with node.js (#880)
* fix: Interval not compatible with node.js

* Address review and fix E2E tests
2025-04-15 09:19:15 +01:00
Daniel Granhão
0f1932ede2 fix: Recreate wallet cache dir after clear (#881) 2025-04-14 16:40:29 +01:00
Daniel Granhão
1122896a70 Wasm: Run tests on node.js (#872) 2025-04-11 17:12:13 +01:00
Daniel Granhão
5922e140fd Wasm: prevent cache corruption and gracefully handle it (#875) 2025-04-11 16:41:16 +01:00
Daniel Granhão
27ee2781b1 fix: Wasm makefile extra spaces (#873) 2025-04-10 17:10:50 +01:00
Daniel Granhão
09138c9d45 Wasm: wallet cache persistence (#868)
* Expose wallet cache persister

* Implement IndexedDB wallet cache persister

* Refactor wallet persister interfaces

* Implement Node Fs persister

* Encrypt wallet updates

* Remove unnecessary tokio_with_wasm features

* Improve async persist logs

* Fix flutter binding generation

* Use dynamic dispatch for wallet_cache_persister

* Optimize conditional compilation branching

* Address review

* Refactor structure
2025-04-10 14:46:16 +01:00
Ross Savage
004ce24a81 Handle send swap minimal_batched (#863)
* Handle send swap minimal_batched

* Simplify batch handling

* Update recoverer handling of batched send swap

* Use the preimage to determine if the swap is complete

* Use the preimage endpoint when the swap is batched

* Try cooperative claim before fetching preimage
2025-04-09 09:45:57 +00:00
Ross Savage
e885ddcb26 Strip input prefix before bip353 lookup (#869)
* Update lock for boltz-rust

* Strip input prefix before bip353 lookup
2025-04-09 08:59:17 +00:00
Ross Savage
17714e6d65 Add wasm to defaults (#866) 2025-04-09 05:59:48 +02:00
Roei Erez
f81b265e95 Merge pull request #867 from breez/wasm-realtime-sync-url
Set correct realtime sync url for wasm
2025-04-08 14:22:14 +03:00
Roei Erez
51ef43043c fix realtime sync url for wasm 2025-04-08 12:42:43 +03:00
yse
8a33bb42e6 feat: switch Esplora client url to Breez server instance (#845)
Co-authored-by: Ross Savage <mr.dangeross@googlemail.com>
2025-04-08 10:27:13 +02:00