116 Commits (8a051dcd76d1d81971129573914b3ceaffa995cc)

Author SHA1 Message Date
ThomasV 8a051dcd76 lnworker: use booleans for enable_htlc_settle, enable_htlc_forwarding 5 years ago
bitromortac 8828998093
mpp_split: use single nodes for mpp payments over trampoline 5 years ago
SomberNight 2487a3fa90
tests: add test for prev 5 years ago
SomberNight cb78f73ed0
lnworker: try to fail pending HTLCs when shutting down 5 years ago
ThomasV 533d796a41 add TODO, rename check_received_mpp_htlc 5 years ago
ThomasV dc55cf4b2d test_multipart_payment_with_timeout: give extra time for second HTLC to timeout before next test 5 years ago
ThomasV 50ab8be7a2 lnpeer: try to fix tests 5 years ago
SomberNight a7c948bac1
tests: fix tearDown() issue in test_lnrouter.py 5 years ago
ThomasV 4250f3b8a1 test_lnpeer: use 2s MPP_TIMEOUT, and split test_multipart_payment_with_timeout 5 years ago
ThomasV 549b9a95df test_lnpeer: add test for mpp_timeout 5 years ago
ThomasV ef661050c8 lnworker: set request status after LN payment 5 years ago
SomberNight a125cd5392
tests: test payreq status after getting paid via LN 5 years ago
SomberNight f662859e5c
test_lnpeer: (trivial) prepare_invoice to return both LnAddr and str 5 years ago
SomberNight 4069b455d0
lnaddr: add get_features method 5 years ago
ThomasV 6ddd02506e test_lnpeer: add missing parameter in pay_to_route 5 years ago
ThomasV 83993768e5 trampoline: do not add node in trampoline hints if it already is 5 years ago
ThomasV 59547d0513 test_lnpeer: variables must be declared in MockLNWallet.__init__ 5 years ago
ThomasV 1f60d5d8ee test_lnpeer: add test for trampoline 5 years ago
ThomasV 3fa1aed8cd add unit test for basic mpp 5 years ago
SomberNight 9310e9023e
test_lnpeer: add test: multihop payment that routes around failure 5 years ago
SomberNight 750d8cfab5
lnworker: run create_route_for_payment end-to-end, incl private edges 5 years ago
ThomasV 259dacd56f Trampoline MPP aggregation: 5 years ago
ThomasV 693583edc5 lnworker: amount passed in HtlcLog must be without fees 5 years ago
SomberNight 2b693d3498
tests: fix test_lnpeer.test_payment_race 5 years ago
ThomasV 5175a97671 test_payment_race: increase delay 5 years ago
ThomasV 38652cffb0 fix test_lnpeer (follow-up prev commit) 5 years ago
ThomasV b6b13217b4 lnworker: keep invoice status INFLIGHT as long as HTLCs are inflight 5 years ago
ThomasV 7f61f22857 MPP receive: allow payer to retry after mpp timeout 5 years ago
SomberNight 691ebaf4f8
lnworker/lnpeer: add some type hints, force some kwargs 5 years ago
ThomasV 6922b416d6 follow-up prev commit 5 years ago
bitromortac e9fe0ed22b
lnworker: use suggest_splits for multiple routes 5 years ago
bitromortac 9f84fa9580
lnonion: add total_msat to onion payment data 5 years ago
ThomasV 42c10c2fec Separate pay_to_node logic from pay_invoice: 5 years ago
ThomasV 0c93394513 rename lnworker._pay to pay_invoice, call it directly from GUIs 5 years ago
ThomasV 34734bd229 cleanup, follow-up f28a2aae73 5 years ago
ThomasV f28a2aae73 Reorganize code so that we can send Multi Part Payments: 5 years ago
ThomasV 1102ea50e8 fix tests (follow-up previous commit) 5 years ago
ThomasV ef5a265449 basic_mpp: receive multi-part payments 5 years ago
ThomasV e477a43385 PaymentInfo: use msat precision 5 years ago
SomberNight e8a2fa5596
tests: lnpeer.htlc_switch: don't fulfill htlc until add is irrevocable 5 years ago
ThomasV ad91257729 pass blacklist to lnrouter.find_route, so that lnrouter is stateless (see #6778) 5 years ago
ThomasV 805c5a2120 upfront_shutdown_script: rm dead code, fix test 5 years ago
bitromortac e555ea650e lnpeer: add unit test for upfront shutdown script 5 years ago
ghost43 3eba26b398
LN cooperative close: avoid address-reuse (#6590) 5 years ago
SomberNight d5f368c584
LN invoices: support msat precision 6 years ago
ThomasV 2adbbee5fe Add extra state to distinguish shutdown negotiation from post- 6 years ago
SomberNight f9de6a5354
tests: lnpeer: make debug htlc failure hooks more uniform 6 years ago
SomberNight 619f8555f5
follow-up prev: trivial rename 6 years ago
SomberNight cc4029c335
test_lnpeer: add some multi-hop payment unit tests 6 years ago
SomberNight 04d018cd0f
test_lnpeer: some clean-up, make it easier to add "num_node>2" tests 6 years ago