143 Commits (3721f04ac8a131bd2297e4cdc5b6092b564c67c1)

Author SHA1 Message Date
ThomasV 3721f04ac8
replace electrum/ecc with electrum_ecc package 1 year ago
ThomasV e2afe2059b move tx grouping code from lnworker to submarine_swaps 1 year ago
SomberNight 7a0bffc3e3
swaps: broadcast_transaction error-handling 2 years ago
ThomasV 6b02364457 follow-up 444b3f3e17f5b29248ad88c7c37b1080ea97626c: if we bump the fee of a claim tx, we must broadcast because add_transaction will fail 2 years ago
ThomasV 444b3f3e17 swapserver: bump fee of refund tx if needed 2 years ago
ThomasV fd672fed9f submarine swaps: separate server logic from transport 2 years ago
ThomasV 01ca1b0382 submarine_swaps: move http calls to method 2 years ago
SomberNight 2f1095510c
bitcoin.py/transaction.py: API changes: rm most hex usage 2 years ago
SomberNight 4a71032318
swaps: expand docstring for reverse_swap 2 years ago
SomberNight 05599eeda5
swaps: fix get_swap_by_funding_tx, and types/type-hints 2 years ago
SomberNight af6a1f3d01
swaps: use longer final_cltv_delta for client-normal-swap 2 years ago
ThomasV 7ff3a0feff submarine swaps: fail htlc with INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS 2 years ago
ThomasV b563c9dd0e submarine swaps: do not set attempts parameter in pay_invoice 2 years ago
MrNaif2018 7369145a49 Fix graceful shutdown for lightning swaps 2 years ago
ThomasV 178a03129f submarine_swaps: define main_loop, with async with taskgroup 2 years ago
SomberNight 8db68cadcd
swaps: forward swap: make cltv requirements explicit 2 years ago
SomberNight 9f1b8613d0
swaps: code style clean-up, add type hints, force kwargs 2 years ago
SomberNight 9d5d582752
swaps: forward swap: (fix) propagate channels parameter 2 years ago
ThomasV 9b1c40e396 Refactor payment forwarding: 2 years ago
SomberNight c4068ab6cc
swaps: add small comment 2 years ago
ThomasV fb4eb86e7c submarine swaps: remove support for 'old' normal swaps, 2 years ago
ThomasV 300c3bbd30 submarine_swaps: rename variable for clarity 2 years ago
ThomasV fce83c708c fail_swap: do not remove swap if it has been funded 2 years ago
SomberNight 65394c37d5
wallet.make_unsigned_transaction: add batch_rbf/send_change params 2 years ago
ThomasV 535f7cdcb7 follow-up previous commit 2 years ago
ThomasV 16ef287e86 swap server: try to batch funding transactions 2 years ago
ThomasV 622162a056 submarine swaps: 2 years ago
Sander van Grieken 8dbddedd30 submarine swaps: register hold invoice early in wait_for_htlcs_and_broadcast, so a SwapManager.cancel_normal_swap() does not race. 2 years ago
ThomasV ea79562b7a submarine swaps: remove expired swaps from the list, and log the reason for failing a swap. 2 years ago
SomberNight 4c63d8729b
add sanity checks we don't sign tx including dummy addr 2 years ago
ThomasV 3bc9ead67b submarine swaps: use password stored in memory. fixes #8612 2 years ago
ThomasV 9df8bb61a5 Give users an option to cancel a submarine swap while awaiting HTLCs. 2 years ago
ThomasV 649ce979ab send tx change to lightning 2 years ago
ThomasV 136978e9d0 submarine swaps: fail received HTLCs of normal swap htlcs if 2 years ago
SomberNight 6a2806c2c5
simple_config: implement complex default values 2 years ago
SomberNight a560841f3f
lnworker: fix some type hints re hold_invoices 2 years ago
SomberNight 6468813105
swaps: fix type of payment_hash in init 2 years ago
ThomasV 78f0f788d6 submarine swaps: use a short expiry with hold invoices, and display result to the user 2 years ago
ThomasV f5ab4b0f18 swapserver: sanity check amount in new flow 2 years ago
ThomasV e06df2cb69 swapserver: reduce refund delay to 70 blocks 2 years ago
ThomasV 68be768818 swapserver: use taskgroup (follow-up 0083560ee6) 2 years ago
ThomasV 0083560ee6 swapserver: throttle payments, handle exceptions in pay_pending_invoices 2 years ago
ThomasV f85354903d swapserver: try many times, to increase trampoline fee 2 years ago
ThomasV dfa0dd47b7 swapserver: remove config option LIGHTNING_SWAP_HTLC_FIRST; read it from get_pairs instead. 2 years ago
ThomasV e0c1fbfe77 normal swaps: use different callbacks for server and client 2 years ago
ThomasV fd10ae3a3b New flow for submarine swaps: 2 years ago
ThomasV 11af4e47a8 follow-up ff547e3dcf 2 years ago
ThomasV ff547e3dcf swapserver: use a single config variable for swapserver_url; testnet and regtest have their own config files 2 years ago
ThomasV 1ce50b9dee submarine swaps: register callbacks on startup 2 years ago
ThomasV bf86cd6761 lnpeer and lnworker cleanup: 2 years ago