305 Commits (ef661050c8da36b7b2b73bec47dbaeddb38301f5)

Author SHA1 Message Date
ThomasV ef661050c8 lnworker: set request status after LN payment 4 years ago
SomberNight a125cd5392
tests: test payreq status after getting paid via LN 4 years ago
ThomasV 196b4c00a3 Use new value of option_trampoline_routing flag, add it to our invoices. 4 years ago
SomberNight 0491da2c66
lnpeer: (trivial) log htlc in on_update_add_htlc 4 years ago
ThomasV d3d476f44c lnpeer: fix error code in logs 4 years ago
ThomasV 5207c40cc3 fix trampoline forwarding: add_received_htlc must be indexed by payment_secret 4 years ago
SomberNight 762ebb12b2
lnpeer: increase max_accepted_htlcs (5->30) 4 years ago
ThomasV eda9097e89 trampoline forwarding: return UNKNOWN_NEXT_PEER if we cannot find a route 4 years ago
ThomasV 6cc3480356 follow-up prev commit 4 years ago
SomberNight ff485cee62
use functools.wraps() for some wrappers 4 years ago
ThomasV 738411e32b Trampoline forwarding: 4 years ago
SomberNight 44059ec116
lnpeer: more detailed logging in maybe_fulfill_htlc 4 years ago
SomberNight 4445cef033
lnutil: turn global forwarding fee params into Channel attributes 4 years ago
ThomasV 259dacd56f Trampoline MPP aggregation: 4 years ago
ThomasV 2da90add8f maybe_fulfill_htlc: add failure reason to logs 4 years ago
ThomasV 7f61f22857 MPP receive: allow payer to retry after mpp timeout 4 years ago
SomberNight 254f57bce5
lnpeer.maybe_fulfill_htlc: fix error case FINAL_INCORRECT_HTLC_AMOUNT 4 years ago
SomberNight 31bdb5c344
lnpeer.maybe_fulfill_htlc: follow BOLTs re some errors 4 years ago
SomberNight 16f0b30ced
lnpeer: MPP recv: only fulfill htlc if amt sum exact-matches total_msat 4 years ago
SomberNight 9024419fdc
lnpeer: MPP receive: require payment_secret for each htlc 4 years ago
SomberNight 691ebaf4f8
lnworker/lnpeer: add some type hints, force some kwargs 4 years ago
ThomasV 152894e6a9 calc_hops_data: total_msat should be optional 4 years ago
SomberNight 4aab843f17
lnutil.LnFeatures: impl and use "supports" method for feature-bit-tests 4 years ago
bitromortac 9f84fa9580
lnonion: add total_msat to onion payment data 4 years ago
ThomasV 3a40d48a6e lnpeer: remove recursve call in maybe_fulfill_htlc 4 years ago
ThomasV bab22c8c53 minor: fix exception 4 years ago
ThomasV cf818fe08c Trampoline routing: 4 years ago
ThomasV ded449233e Trampoline routing. 5 years ago
ThomasV 1323bd4f9c open_channel_coroutine: do not timeout on sign_transaction. fixes #7027 4 years ago
ThomasV 87a080d30e split code in htlc_switch: 4 years ago
bitromortac 2bffc9d3eb
lnpeer: fix timed out mpp 4 years ago
ThomasV ef5a265449 basic_mpp: receive multi-part payments 4 years ago
ThomasV e477a43385 PaymentInfo: use msat precision 4 years ago
SomberNight 2b0f156ce8
lnpeer.htlc_switch: (bugfix) don't fulfill htlc until add is irrevocable 4 years ago
SomberNight e8a2fa5596
tests: lnpeer.htlc_switch: don't fulfill htlc until add is irrevocable 4 years ago
ThomasV 521376f87f rm unused parameter in maybe_fulfill_htlc 4 years ago
ThomasV fe1b2149cb lnpeer: fix flen in INIT 4 years ago
ThomasV 23ece8b33b lnpeer: initialize new channel storage with lnworker db 4 years ago
bitromortac bd178fbed5 lnpeer: remove unused imports, code cleanup 4 years ago
bitromortac 6b90a2d36c lnpeer: implement upfront shutdown script logic 4 years ago
bitromortac 863fe031f0 lnpeer: await on_message handlers to raise exceptions 4 years ago
ThomasV 177766ac37 lnpeer: fix a comment 4 years ago
ThomasV eb6eac9254 fix reserve_sat in local_config. see #6896 4 years ago
ThomasV b29cdc02da Require gossip_queries in LNWallet (follow-up f83d2d9fee) 4 years ago
ThomasV f83d2d9fee Move the part of process_gossip that requires access to channel_db into in LNGossip. 4 years ago
ThomasV dfcdcb8d64 fix typo 5 years ago
SomberNight 82c8c4280f
lnworker: add request_remote_force_close which can be used without state 5 years ago
SomberNight 35f1f2905b
lnpeer: forbid creating Peer with ourselves (self-connect) 5 years ago
SomberNight ea3e3ddbb8
lnpeer: handle cooperative close edge-case 5 years ago
SomberNight aba2e0f55a
lnhtlc: add all_htlcs_ever, get_htlc_by_id, was_htlc_failed and use them 5 years ago