680 Commits (01b5e3f8e03f9025e8ba55fcf223fe7e17e454f1)

Author SHA1 Message Date
ThomasV 196b4c00a3 Use new value of option_trampoline_routing flag, add it to our invoices. 5 years ago
ThomasV fd48b96335 follow-up prev commit 5 years ago
ThomasV 308b02ca7d lnworker: fix amount in htlc_log after mpp bucket failure 5 years ago
ThomasV 5df4466812 rm fixme; it was for intermediate stage, between commits. 5 years ago
SomberNight edb214aeca
lnworker.pay_to_node: re overpayment, raise before actually it happens 5 years ago
ThomasV 5663e59863 lnworker: fix amount_inflight. 5 years ago
ThomasV 31919d0425 lnworker: add assert amount_inflight <= amount_to_pay 5 years ago
ThomasV 5207c40cc3 fix trampoline forwarding: add_received_htlc must be indexed by payment_secret 5 years ago
ThomasV 2e4f45ec74 use two trampolines: fix blacklisting, use local variables for trampoline_fee_level and use_two_trampolines 5 years ago
ThomasV 5a2a724cb9 Receive MPP: Use persisted payment status to decide whether to 5 years ago
ThomasV 738411e32b Trampoline forwarding: 5 years ago
ThomasV ba4d6bc8b3 trampoline MPP: fix total_msat in trampoline onion, and bucketing 5 years ago
ThomasV 253907fb60 lnworker: move buckets logic inside first branch of if statement (refactoring commit) 5 years ago
SomberNight adbfb2dcc8
lnworker.pay_to_node: (fix) pass correct total_msat to pay_to_route 5 years ago
ThomasV ca6ecd56f2 fix route for non-trampoline MPP 5 years ago
ThomasV 51f3c613a5 (minor) fix typos and indentation 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 06ea06f7d3
_calc_routing_hints_for_invoice: incl max 15 chans to avoid qr overflow 5 years ago
SomberNight 6f894b9f88
_calc_routing_hints_for_invoice: also incl chans < invoice amount 5 years ago
SomberNight 1139720b58
lnworker: fix handle_error_code_from_failed_htlc for private channels 5 years ago
SomberNight 7d7dcf0795
qt/kivy ChannelsList: if node alias is unknown, display node id 5 years ago
ThomasV f32d49b8ca revert 'keep invoice INFLIGHT', check HTLCs before payment attempt 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 16f0b30ced
lnpeer: MPP recv: only fulfill htlc if amt sum exact-matches total_msat 5 years ago
SomberNight 691ebaf4f8
lnworker/lnpeer: add some type hints, force some kwargs 5 years ago
ThomasV c9d6d11604 create_trampoline_route: check that we can pay the amount and the fees, and that the route is sane 5 years ago
ThomasV bf1d516959 lnworker: add fees from private path to the amount passed to find_route. 5 years ago
ThomasV 391dba7117 Refactor find_route_for_payment 5 years ago
SomberNight 0a5b714643
lnworker: add "endurance" ACINQ testnet node as hardcoded trampoline 5 years ago
SomberNight 4aab843f17
lnutil.LnFeatures: impl and use "supports" method for feature-bit-tests 5 years ago
ThomasV 0369829e5e MPP: can_send/can_receive is now the sum, no longer the max 5 years ago
ThomasV 827cd344d5 enable MPP with trampoline 5 years ago
ThomasV 64c9ddb88d MPP: refactor code 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
bitromortac 3ddb83fad3
lnworker: move NoPathFound to lnutil 5 years ago
ThomasV cf818fe08c Trampoline routing: 5 years ago
ThomasV ded449233e Trampoline routing. 5 years ago
ThomasV 1323bd4f9c open_channel_coroutine: do not timeout on sign_transaction. fixes #7027 5 years ago
ThomasV 87a080d30e split code in htlc_switch: 5 years ago
ThomasV 42c10c2fec Separate pay_to_node logic from pay_invoice: 5 years ago
ThomasV 2c2d3f3b30 handle_error_from_failed_htlc: blacklist channel if cannot decode payload 5 years ago
ThomasV 4febbcdc2d encapsulate get_routing_info in lnaddr 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