Roei Erez
41aca3c8ec
fix comment
2025-02-03 12:53:55 +02:00
Roei Erez
e5d0e94e58
remove println statements
2025-02-03 11:43:25 +02:00
Roei Erez
a5cc34d591
lazy initialization of electrum
2025-02-02 22:43:42 +02:00
Roei Erez
262254f998
simlify tip
2025-02-02 18:29:35 +02:00
Roei Erez
f0e25807af
fix clippy
2025-02-02 17:19:34 +02:00
Roei Erez
54d7e9acb1
remove electrum tip query on start
2025-02-02 17:00:16 +02:00
Roei Erez
a57edbeace
configure timeouts
2025-01-30 03:15:48 +02:00
Daniel Granhão
3a321379bf
Increase onchain fetching retries ( #702 )
2025-01-29 22:50:03 +00:00
Daniel Granhão
3590f5cdef
Distinguish between failed fetch and tx not found ( #703 )
2025-01-29 22:49:08 +00:00
Daniel Granhão
d5030c5fb5
Allow incoming chain swap refund tx id overwrite ( #695 )
2025-01-29 14:33:28 +00:00
Ross Savage
b24046c5e9
LNURL-pay drain ( #674 )
...
* LNURL-pay drain
* Fix min_sendable calculation
2025-01-29 14:44:46 +01:00
Roei Erez
ca9da9ea6d
Merge branch 'lock-free-liquid-chain-service'
...
* lock-free-liquid-chain-service:
cleanup tip endpoint
fix formatting
Add logs
cargo fmt
remove lock for bitcoin chain service
Add logs
remove lock for liquid chain servivce
2025-01-29 12:28:50 +02:00
Roei Erez
461f54be38
cleanup tip endpoint
2025-01-29 12:07:39 +02:00
Roei Erez
fb37e7bccc
fix formatting
2025-01-29 10:38:11 +02:00
Roei Erez
ede21aba69
Merge pull request #696 from breez/optimize-wallet-sync
...
Use cached electrum client connection for full_scan
2025-01-29 10:26:15 +02:00
Roei Erez
7ad4de9381
Add logs
2025-01-28 22:33:05 +02:00
Roei Erez
ec6b4d29a8
cargo fmt
2025-01-28 22:02:56 +02:00
Roei Erez
9c68b9e8a3
remove lock for bitcoin chain service
2025-01-28 22:00:50 +02:00
Roei Erez
2cffea07b8
Add logs
2025-01-28 21:01:19 +02:00
Roei Erez
282978fddf
remove lock for liquid chain servivce
2025-01-28 20:29:59 +02:00
Roei Erez
a4ab1b0c4b
return error instead of unwrap
2025-01-28 19:01:33 +02:00
Roei Erez
d046472a63
use cached electrum client connection for full_scan
2025-01-28 00:31:58 +02:00
yse
cf957a4d98
fix: explicitly set absolute fees when signing transactions ( #682 )
...
Reflect changes from SatoshiPortal/boltz-client@db045fbd94
2025-01-27 19:27:45 +01:00
Ross Savage
ad5b108eda
Fix the send amount for swap payments ( #693 )
2025-01-25 19:59:36 +01:00
Ross Savage
79462db2e2
Verify and claim swap if not verifiable in swap loop ( #681 )
...
* Verify and claim swap if not verifiable in swap loop
* Verify lockup amount
* Tolerate overpayment
* Adapt receive swap test
* Separate verification functions and set swap Failed if underpaid
2025-01-25 09:30:24 +01:00
Daniel Granhão
386c62ea82
Consider PairLimits in is_refundable condition ( #691 )
...
* Consider PairLimits in is_refundable condition
* Prevent WaitingFeeAcceptance state for out of bounds lockup
2025-01-24 19:20:42 +00:00
Ross Savage
652c23800e
Configure asset metadata ( #659 )
...
* Configure asset metadata
* Apply suggestions from code review
* Return BIP21 URI also when only non-bitcoin asset_id is defined
* Rename AssetMetadata functions
2025-01-24 16:57:22 +01:00
Ross Savage
e196a91973
Multi-asset send/receive ( #645 )
...
* Multi-asset send/receive
* Apply suggestions from code review
Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com >
* Log the prepare asset_id
---------
Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com >
2025-01-24 16:55:51 +01:00
Daniel Granhão
7841939e6a
Expose amountless swap fees auto acceptance ( #690 )
...
* Expose amountless swap fees auto acceptance
* Move field behind optional ones
* Add serde default to auto_accepted_fees
2025-01-24 10:18:34 +00:00
Daniel Granhão
53fb22ab41
Chain swap refund tx fee bumping ( #688 )
...
* Chain swap refund tx fee bumping
* Add "pending" to refund tx id field names
* Rename pending to last
2025-01-24 09:41:32 +00:00
Daniel Granhão
6ec6c96709
Fix new clippy warnings ( #689 )
2025-01-23 09:42:10 +00:00
Daniel Granhão
1dd94e52ec
Validate refund address input ( #687 )
2025-01-22 12:00:53 +00:00
Daniel Granhão
3c2f6edad8
Set specific rev for Boltz client crate ( #685 )
2025-01-22 10:36:20 +00:00
Daniel Granhão
6760960cb0
Add SdkEvent for refundable swap ( #683 )
2025-01-21 14:43:23 +00:00
Daniel Granhão
0cdfa2057c
Prevent claiming of overpaid swaps ( #667 )
...
* Handle overpayments gracefully
* Fix test mock txs and swaps
* Get actual payer amount from blockchain
* Check first tx output instead of script balance
* Fetch actual payer amount if not available
* Remove user lockup amount verification in recoverer
* Refactor user lockup amount check into appropriate method
2025-01-21 10:13:13 +00:00
Ross Savage
16ac13e5b4
Include non-swap state in list payments query ( #673 )
2025-01-21 10:12:13 +01:00
yse
95998013a9
fix: remove mandatory API key checks ( #639 )
2025-01-21 08:32:05 +01:00
yse
4abcebcde8
feat: add sort_ascending flag to list_payments ( #679 )
2025-01-21 08:06:18 +01:00
Daniel Granhão
dd95b5a3f6
Fix receive chain swap is_refundable condition ( #680 )
2025-01-20 09:14:40 +00:00
Roei Erez
58e95334d3
fix confirmed balance
...
(cherry picked from commit 538a100140c948a867360972c399beda79601e75)
2025-01-19 19:01:05 +02:00
Ross Savage
746b6e0223
Discount Confidential Transactions ( #637 )
...
* Update dependencies
* Use discount-ct when building txs
* Broadcast using the electrum client
* Fix CI
* Remove use of esplora url
* Address PR feedback
* Fix dart/flutter
* Update zero-conf fee rate check
* Fix clippy
2025-01-19 13:57:38 +01:00
yse
3a09bbe653
fix: increase keep-alive time and add cli sync flag ( #672 )
...
Reflects changes from breez/data-sync#14
2025-01-17 18:25:47 +01:00
Ross Savage
f92a6b9f0f
Ensure fees are calculated without overflow ( #671 )
2025-01-17 15:28:09 +01:00
yse
b185ff0e35
feat: add cooperative preimage recovery and optimize flow ( #669 )
2025-01-17 14:32:58 +01:00
Daniel Granhão
bc779e3269
Fix amountless receiver amount and waiting fee acceptance condition ( #670 )
2025-01-17 13:26:42 +00:00
Daniel Granhão
037c77ab9f
Fix swap structs PartialEq implementation ( #662 )
2025-01-17 10:57:44 +00:00
Ross Savage
fb6c4e9a01
Store the payer/receiver amount ( #668 )
2025-01-16 20:53:01 +01:00
yse
ffcdfdbac3
fix: consider only confirmed txs for wallet balance ( #664 )
2025-01-16 12:07:15 +01:00
Daniel Granhão
9a4360bf00
Fix: prevent non-local chain swap claim ( #660 )
...
* Fix: prevent non-local chain swap claim
* Setup dotnet in binding tests
* Update cli Cargo.lock
2025-01-15 15:43:11 +00:00
yse
bb0b370d17
fix: remove auto-formatting command from build ( #655 )
...
* feat: use `include_protos` macro instead of builder
* fix: pin boltz to rev SatoshiPortal/boltz-rust@3bbc0dd
2025-01-15 11:02:35 +01:00