61 Commits (7be7ea71db2fa391177eba75717e5786ba57495c)

Author SHA1 Message Date
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
ThomasV a033cfeee8 submarine swaps: fee_invoice is now a hold invoice 6 years ago
SomberNight 7570c8c1c6
qt swap_dialog: "max" button now respects max htlc value 6 years ago
SomberNight a74552f3dd
qt main_window: fix threading for run_coroutine_from_thread 6 years ago
SomberNight 2be2a510ff
submarine_swaps: replace asserts with Exceptions 6 years ago
SomberNight 1849206394
submarine_swaps: small clean-up 6 years ago
SomberNight 5f2d347d81
submarine_swaps: wallet.get_unused_address -> get_receiving_address 6 years ago
ThomasV a1e8f9e2aa swaps: mapping of prepay_hash to payment_hash 6 years ago
ThomasV c8506eaa39 swaps: store fee_preimage 6 years ago
ThomasV 540dd73f3b Submarine swaps: 6 years ago
ThomasV ee59ad13c4 support new protocol (minerFeeInvoice) 6 years ago
ThomasV 5fa09970b6 swaps: move fee logic to swap_manager, fix command line 6 years ago
ThomasV 3874f7ec77 swaps: use StoredObject to store data 6 years ago
ThomasV a73f24e826 swaps: perform 10 payment attempts 6 years ago
ThomasV 04fb329c2e swaps: stop watching address once utxo is spent and mined 6 years ago
ThomasV 7ec7dd07d0 swaps: disable rbf 6 years ago
ThomasV f8dd62aec0 show swaps as single line in history 6 years ago
ThomasV 46770bfd71 submarine swaps: fix expected amounts 6 years ago
ThomasV 17485e3b88 follow-up prev commit 6 years ago
ThomasV 000e56d67e submarine swaps: verify amounts 6 years ago