Commit Graph

587 Commits

Author SHA1 Message Date
Daniel Granhão
bac98a6ddf Move get_all_external_input_parsers to Config 2024-12-17 10:32:42 +00:00
Daniel Granhão
015823c8b5 Remove Option from parsers field 2024-12-17 10:08:14 +00:00
Daniel Granhão
72a9aa66ff Support default external input parsers 2024-12-16 19:37:35 +00:00
Ross Savage
c773e8d7a5 Add ExternalInputParser mirror for frb (#605) 2024-12-14 15:31:57 +01:00
Ross Savage
e3fa3d62d1 Zero-amount quote get balance retry (#603)
* Use non-blocking sleep

* Use script_get_balance_with_retry to get user lockup balance
2024-12-13 14:21:01 +01:00
Ross Savage
a57083f520 Check MRH has already been paid (#596) 2024-12-13 13:11:56 +01:00
Daniel Granhão
8540cfebdb Merge pull request #597 from breez/external-input-parsing
External input parsing
2024-12-12 18:39:45 +00:00
Daniel Granhão
3705175093 Default external parsers config to null 2024-12-12 15:15:56 +00:00
Daniel Granhão
895e64b823 Implement external input parsing 2024-12-12 12:02:53 +00:00
ok300
1bf5be4b45 Fix CLI reference (#594) 2024-12-09 17:27:06 +00:00
ok300
eba09c6faf Fix clippy CI step (#593)
* Add workspace-wide clippy lint config

* CLI: fix clippy
2024-12-09 16:43:29 +00:00
ok300
cfc883ae00 Add zero-amount Receive Chain Swap (#538)
Add support for Zero-Amount Receive Chain Swaps
2024-12-09 16:10:52 +00:00
ok300
790dfa91be Persist swapper fees for swaps (#586)
* Add new Payment field swapper_fees_sat

* Add swapper fee handling for Receive Swaps

* Add swapper fee handling for Send Swaps

* Add swapper fee handling for Chain Swaps

* Fix tests

* Send Swap: persist pair JSON instead of service fee

* Receive Swap: persist pair JSON instead of service fee

* Chain Swap: persist pair JSON instead of service fee
2024-12-06 08:32:03 +00:00
Ross Savage
3a9b6a6dcd Set IPHONEOS_DEPLOYMENT_TARGET in CI (#587) 2024-12-02 18:40:08 +01:00
ok300
84f444d44b Fix handling of Esplora API call results (#585) 2024-11-30 09:07:53 +00:00
Ross Savage
f5fb65bb54 Use lockup or claim address for Bitcoin address query (#582) 2024-11-30 07:49:00 +01:00
Lars Klassen
7eafdb57b1 Payload compatibility for Expo Notifications (#572) 2024-11-26 20:18:03 +01:00
ok300
746193a00c Fix typo in fallback payment description (#580) 2024-11-25 16:06:00 +00:00
Roy Sheinfeld
e7eafa90d3 Update README.md 2024-11-25 17:41:23 +02:00
ok300
7e724c561e Remote csharp reference to 32bit binding (#577) 2024-11-20 16:14:41 +00:00
ok300
14d5bc9c27 Remove 32bit support (#575)
* Remove i686 bindings

* Remove armv7 bindings
2024-11-20 15:20:21 +00:00
ok300
bd38a99ef4 Add precision validation for Moonpay call (#576) 2024-11-20 15:07:35 +00:00
Ross Savage
02dd93c810 Add preimage to receive payment (#571) 2024-11-19 16:18:59 +01:00
ok300
fe1dc30917 Add support for paying to BOLT12 (#549)
Add support for paying to BOLT12
2024-11-19 13:08:50 +00:00
Ross Savage
0750e2e0fd Fix swift URL init compatibility (#569) 2024-11-18 20:01:49 +01:00
Ross Savage
802e9eece7 Configurable cache dir (#567)
* Add a configurable cache dir

* Fix UDL field position
2024-11-18 13:36:38 +01:00
Lars Klassen
f65a8ae2c3 Android: Replaced with (#558) 2024-11-18 08:22:02 +01:00
Roei Erez
1cbe6d7a80 Merge pull request #566 from breez/recover-wallet-error
Wipe storage cache in case of data corrupted issue
2024-11-14 21:33:20 +02:00
Roei Erez
efd8915079 fix typo 2024-11-14 21:32:06 +02:00
Roei Erez
66ffb56dc4 fix clilppy 2024-11-14 17:04:38 +02:00
Roei Erez
99e80c25cb wipe storage cache in case of data corrupted issue 2024-11-14 16:16:29 +02:00
Erdem Yerebasmaz
8f3c303534 Log errors on starting an SDK instance (#565) 2024-11-14 16:54:55 +03:00
Ross Savage
7cbe176936 Notify success when waiting for claim confirmation (#562) 2024-11-13 14:40:37 +01:00
Ross Savage
8dc744c798 Validate the pay_onchain address (#561) 2024-11-13 09:23:48 +01:00
Ross Savage
4da57e3fe2 Liquid/Lightning drain (#553)
* Attempt drain using liquid or lightning payment

* Optimize estimation handling, use address in drain estimation

* Add drain option to PrepareSendRequest

* Block draining while there are pending payments

* Apply suggestions from code review

* Rename PayOnchainAmount to PayAmount
2024-11-11 21:50:18 +01:00
Ross Savage
2c70315125 Monitor server lockup tx in thread to verify/claim (#557) 2024-11-11 16:06:51 +01:00
Roy Sheinfeld
df6ab51602 Update README.md 2024-11-09 16:13:29 +02:00
Ross Savage
92e7384522 Fix chronological order of list_payments (#552)
* Order payments first by swap timestamp then tx timestamp

* Fix payment timestamp from tx
2024-11-07 18:07:00 +01:00
ok300
4c2fcf6549 Onchain payment flow: add more logging (#551) 2024-11-07 14:24:04 +00:00
Ross Savage
dee4952455 Store claim_address for incoming chain swap when claiming (#548) 2024-11-06 19:04:43 +01:00
yse
a515718dc7 feat: allow send transition from TimedOut to Created (#545) 2024-11-05 10:12:59 +01:00
ok300
bf5d4a1578 Propagate signer interface changes (#544) 2024-11-04 06:57:18 +00:00
yse
22e98f0e32 fix: double-lockup when payment is TimedOut (#541) 2024-10-31 15:01:13 +01:00
Ross Savage
4d036f2529 Reserved address pool (#531) 2024-10-30 11:06:10 +01:00
Ross Savage
b3f1eed429 Prevent swap double claim (#542)
* Prevent receive swap double claim

* Prevent chain swap double claim
2024-10-30 10:08:13 +01:00
ok300
59dfacc12d Receive Chain Swap: support refund even when lockup address is re-used (#471)
* rescan_onchain_swaps: separate internal (scheduled) from external (manual) call

* Add TODOs for supporting more utxos in BtcSwapTx::new_refund

* Update boltz-client to build refund tx with all utxos

* list-refundables: show refundable amount, not swap amount

* Chain swap cooperative refund: fix "Liquid chain used for Bitcoin operations" error

* Revert "Chain swap cooperative refund: fix "Liquid chain used for Bitcoin operations" error"

This reverts commit 8a325e3c13b7e9b54b9f5256bea206989eac53b6.

* Bump boltz-rust to include sign_refund fix

* Bump boltz-rust to include sign_refund fix for non-coop refund

* Fix state handling when incoming chain swaps are refunded

* Move swap state change inside refund_incoming_swap

* Bump to latest boltz-client branch version
2024-10-29 12:56:55 +00:00
ok300
414c9f1ae9 Bring remaining u32 amount types to u64 (#537) 2024-10-28 14:36:33 +00:00
Ross Savage
b78d53b436 Add swift framework plists (#536)
* Add a Info.plist per framework

* Update dart bindings
2024-10-24 16:58:55 +02:00
Roy Sheinfeld
4149db226f Update README.md 2024-10-23 12:59:28 +02:00
Roy Sheinfeld
cdc0af78b8 Update README.md 2024-10-23 00:34:49 +03:00