80 Commits (157954d4ff2f72ad1ca67fed8d4ce8edbb59102c)

Author SHA1 Message Date
Sander van Grieken 7e5ebf0484 swap: wrap coros in tasks (req since python3.11) 3 years ago
ThomasV d9f1a21219 reverse_swap: return as soon as we detect the funding transaction 3 years ago
SomberNight 0647a2cf9f
transaction.py: rm PartialTxInput.{num_sig, script_type} 3 years ago
ThomasV 719b468eee Refresh bolt11 routing hints when channel liquidity changes: 3 years ago
ThomasV 72fb43f950 lnworker: do not assume MPP in num_sats_can_receive 3 years ago
SomberNight 72e1be6f5e
swaps: rm support for p2wsh-p2sh lockup scripts 3 years ago
SomberNight 8a4c06b692
swaps: small refactor and add unit tests for claim tx 3 years ago
ThomasV 5e88b0da88 swaps: cache pairs to file 3 years ago
ThomasV 215629235d submarine_swaps: fix bugs and create method for max_amount_forward_swap 3 years ago
ThomasV f617887509 RBF dialog: do not decrease payment for swap funding transactions. 3 years ago
SomberNight e3485de496
qt gui: handle swap server unreachable 3 years ago
ThomasV 3131fde97b submarine swaps: set rbf for CLI transactions 3 years ago
SomberNight 5b0aad5084
network: rename _send_http_on_proxy and make it part of public API 4 years ago
ThomasV 53c054ece4 swaps: set spending_txid as soon as tx is added to wallet 4 years ago
ThomasV 121d8732f1 Persist LNWatcher transactions in wallet file: 4 years ago
ThomasV 5bb99ddfaf submarine_swaps: fix order of operations in get_send_amount 4 years ago
ThomasV feb10bc67b remove unneeded parameter (follow-up e392197ab9) 4 years ago
ThomasV 53151244e2 LNWorker: Add suggest_rebalance methods for sending and receiving. 4 years ago
SomberNight 2ec9e869b3
invoice.get_amount_sat: handle None in more places 4 years ago
ThomasV 7102fb732e follow-up prev: 4 years ago
ThomasV e392197ab9 wallet_db upgrade: 4 years ago
SomberNight 0226e7196d
swaps: build index(es) for the swaps dict to avoid linear scanning 4 years ago
ThomasV f01197b6b5 Reverse swaps: Wait until funding tx is confirmed 4 years ago
ThomasV 670f8dbe42 submarine_swaps: use prevout to determine if a txin is claiming a swap 4 years ago
SomberNight e36d7fed7d
swaps: more precise tx size estimation for claim tx when RBF-ing 4 years ago
SomberNight 357aaff582
swaps: when RBF-ing a forward swap tx, payment amt must not decrease 4 years ago
SomberNight aa5172faa2
swaps: fix forward swap: lnworker.create_invoice is not async 4 years ago
ThomasV 1364e7538a bump fee of swap claim transactions 4 years ago
SomberNight f52c0fd571
lnchannel: rm HTLC value upper limit of ~42 mBTC 5 years ago
bitromortac b97e51dbd8
swaps: fix off-by-one sanity check 5 years ago
SomberNight 63ea5587a2
swaps: revise send/recv amount calculation 5 years ago
ThomasV 41f22df26b submarine swaps: use num_sats_can_receive_no_mpp, to prevent funds being locked 5 years ago
ThomasV 0c93394513 rename lnworker._pay to pay_invoice, call it directly from GUIs 5 years ago
SomberNight 337d4890a1
lnworker/swaps: add '_sat' suffix to arg names and force kwargs 5 years ago
SomberNight 3d1796ab1d
follow-up prev: fix units when calling lnworker.create_invoice: msat/sat 5 years ago
bitromortac 64ecf8539a
swaps: fix normal amount formulas 5 years ago
SomberNight 89bd520185
bitcoin: move construct_witness from transaction.py to bitcoin.py 5 years ago
ThomasV edc593a886 submarine swap: add comment to explain witness script asymmetry 5 years ago
SomberNight 08f70420e3
submarine_swaps: describe event-flow for both swap direction in docstr 5 years ago
SomberNight 1d187d36f0
(fix) allow opening LN wallet with --offline 5 years ago
ThomasV 5f7d8cc462 reverse swap: check that received amount is higher than dust threshold 5 years ago
ThomasV e9829563d3 forward swaps: save the onchain amount we actually paid 6 years ago
ThomasV abac4a4340 swaps: check_invoice_amount (fixes #6217) 6 years ago
ThomasV 599797c966 swaps: update server URL 6 years ago
ThomasV 4bda882695 Group swap transactions in Qt history (fixes #6237) 6 years ago
SomberNight 9385d2dae3
submarine_swaps: minor clean-up (preimage/locktime) 6 years ago
ThomasV a03d8dc6ac swaps: add testnet url 6 years ago
ThomasV 4344ca47b3 swaps: create invoice without saving the request 6 years ago
SomberNight fcbc1c9a45
submarine_swaps: increase min locktime delta for reverse swap to 60 6 years ago
SomberNight c2ffc6ca3a
qt swap_dialog: "max" now takes into account the server-provided value 6 years ago