49 Commits (b0227c7e03f3b4f55591e61c5c9a8814ce1c6509)

Author SHA1 Message Date
SomberNight 53a8453e3b
trampoline: fix off-by-one confusion of fees 2 years ago
SomberNight 22a8348303
renames: use consistent naming of cltv delta vs cltv abs 2 years ago
ThomasV 4c42840c1c lnpeer: obfuscate error pakets of forwarded htlcs, that we 2 years ago
ThomasV 250884489e Revert "lnonion: fix decode_onion_error" 2 years ago
ThomasV 08132d6b7d lnonion: fix decode_onion_error 2 years ago
SomberNight a059a9a256
lnpeer.pay: also log hops_data for trampoline_onion 2 years ago
SomberNight 98ccad68c1
channel_db: add TTLs to channel_updates_for_private_channels 3 years ago
SomberNight 6b43eac6fd
lnonion: rm support for legacy (pre-TLV) onions 3 years ago
SomberNight fc6486ecdb
lnaddr: make payment_secret field mandatory, in both directions 3 years ago
SomberNight 373db76ac9
util: kill bh2u 3 years ago
ThomasV c109d5e722 lnwire: update csv files with recent BOLTs 3 years ago
SomberNight 1b6706bed6
replace some erroneous usages of IntFlag with IntEnum 4 years ago
Benoit Verret f731c38293
Minor style changes 5 years ago
SomberNight 65e16fabd2
follow-up d8352f1a0a 5 years ago
SomberNight d8352f1a0a
lnworker: nicer logs/error msgs for payment failure 5 years ago
ThomasV 51f3c613a5 (minor) fix typos and indentation 5 years ago
SomberNight 691ebaf4f8
lnworker/lnpeer: add some type hints, force some kwargs 5 years ago
ThomasV 152894e6a9 calc_hops_data: total_msat should be optional 5 years ago
bitromortac 9f84fa9580
lnonion: add total_msat to onion payment data 5 years ago
ThomasV cf818fe08c Trampoline routing: 5 years ago
ThomasV ded449233e Trampoline routing. 5 years ago
ThomasV 87a080d30e split code in htlc_switch: 5 years ago
ThomasV ef5a265449 basic_mpp: receive multi-part payments 5 years ago
SomberNight 89ddc1345d
lnutil.PaymentAttemptLog: fix error formatting 6 years ago
ThomasV c1b1638615 fix htlc forwarding: 6 years ago
SomberNight 1be0a710c3
ln: implement option payment_secret 6 years ago
SomberNight d424487814
lnpeer: better error handling when processing onion packets 6 years ago
SomberNight 30bf32b34b
use option varonion: actually use TLV payloads, and signal support 6 years ago
SomberNight 4b78bf94d4
lnaddr: add feature bit support to invoices 6 years ago
SomberNight a66437f399
lnonion: implement basis of varonion support 6 years ago
SomberNight b524460fdf
lnpeer: implement basic handling of "update_fail_malformed_htlc" 6 years ago
SomberNight 5e59d1a0ed
lnonion: use random starting bytes in Sphinx packet as in updated BOLT4 6 years ago
SomberNight 18f3a37032
crypto: move LN-related chacha20/poly1305 code into crypto.py 6 years ago
SomberNight a32af44ff9
trivial clean-up (typing/imports) 6 years ago
SomberNight b99add59c3
lnworker: introduce PaymentAttemptLog NamedTuple 6 years ago
SomberNight 2a604b1676
lnonion: get_failure_msg_from_onion_error might raise in python 3.7 6 years ago
SomberNight 509df9ddaf
create class for ShortChannelID and use it 7 years ago
SomberNight d2d4d19fcb lnpeer: add a few sanity checks to payment-forwarding (and related) 7 years ago
ThomasV d493dd1953 add pycryptodomex to requirements 7 years ago
SomberNight 9256472485 rm 'cryptography' as dependency; use new pycryptodomex version 7 years ago
SomberNight f70e679aba some more type annotations that needed conditional imports 7 years ago
SomberNight 7edbd5682a fix confusion re max path length 7 years ago
SomberNight 2fafd01945 protect against getting robbed through routing fees 7 years ago
SomberNight d511ecdc00 start failing htlcs 7 years ago
SomberNight ded11b4d9e lnonion: implement error packet construction 7 years ago
SomberNight 3ac9858d59 follow-up prev 7 years ago
SomberNight a8ace7ef4f lnonion: use IntEnum and IntFlag for failure codes 7 years ago
SomberNight bab9f163f7 decode onion errors to failure message type 7 years ago
SomberNight 5a05a92b3d move bolt-04 onion stuff to its own module 7 years ago