50 Commits (3f3a48dae92626765ebc12208353962c9f7873de)

Author SHA1 Message Date
Rusty Russell 839909d2cf Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 5 years ago
Christian Decker ff5f7b194f sphinx: Return the error in parse_onionpacket 5 years ago
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
Rusty Russell bb538a1862 common: don't crash on bad sphinx payload. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker f569b52681 sphinx: Make the sphinx_hop struct public 5 years ago
Christian Decker 714b57241b sphinx: Promote TLV payloads to be non-experimental 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Christian Decker e46f423ae9 sphinx: Cleanup route_step_decode_* functions 5 years ago
Christian Decker baffa84291 sphinx: Decode payload and place shortcuts in the route-step 5 years ago
Christian Decker d69a43780c sphinx: Use the new `fromwire_tlv_payload` function 5 years ago
lisa neigut ea9faf6ff1 onion fixup: use enum for type, not length of packet 5 years ago
Christian Decker dda792c766 plugin: Pass the full raw_payload including realm to htlc_accepted 5 years ago
Rusty Russell 9dc8cff9b4 devtools/onion: use raw sphinx helper or new style, allow TLV. 5 years ago
Rusty Russell 0211712f5e sphinx: separate nonfinal from final interface, add tlv option. 5 years ago
Rusty Russell 2a2259083a lightningd: handle tlv-style payloads. 5 years ago
Rusty Russell b7bbccd6fa common/sphinx: handle decoding of TLV payload. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
Rusty Russell c62f0cb6ff sphinx: fix potential data leak. 5 years ago
Rusty Russell 3fa375881a bigsize: make it a proper first-class type. 5 years ago
Rusty Russell e23f183468 common/sphinx: use bigsize_get not varint_get. 5 years ago
Chirimen-Jako b7119150a7 Fix build fail on 32bit environment. 5 years ago
Christian Decker 78c7edb889 sphinx: Switch to big-endian number encoding 6 years ago
Christian Decker c752c3318d sphinx: Cleanup sphinx onion construction, remove realm 6 years ago
Christian Decker 660921a9dd sphinx: Introduce a `runtest` command to the onion tool 6 years ago
Christian Decker b83d15ea4a sphinx: Remove standalone v0 payload in favor of the unionized one 6 years ago
Christian Decker d607afd195 sphinx: Variable left-shift when unwrapping onion 6 years ago
Christian Decker 7bc4cf83b1 sphinx: Expose sphinx_add_raw_hop for testing 6 years ago
Christian Decker 75c0160c08 sphinx: Simplify the filler generation code 6 years ago
Christian Decker a0a1a1f752 sphinx: Add function to add a new v0 hop to a sphinx_path 6 years ago
Christian Decker 71cf4e1b39 sphinx: Add sphinx_path struct to encapsulate routing related info 6 years ago
Christian Decker ea4831363e sphinx: Consolidate some of the hard-coded parameter naming 6 years ago
lisa neigut 5c07afac7d bolt: update to BOLT spec changes (extract format + type specifications) 6 years ago
Christian Decker adb984dd45 hooks: Add the raw payload to the htlc_accepted call 6 years ago
Rusty Russell e0ec9ac521 libwally: update to 0.6.8. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 7e8dbc1c37 sphinx: use struct pubkey. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 8553edb7e2 common: fix up BOLT 4 references. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
practicalswift f84828be36 Avoid writing uninitialized value data->realm in serialize_hop_data(...) (via create_onionpacket(...)) 7 years ago
practicalswift bfce5b41f9 Fix typo (a vs. an) 7 years ago
Rusty Russell 8c4eecc089 sphinx: fix leaks. 7 years ago
Rusty Russell a9002eac52 Update to latest BOLT. 7 years ago
Christian Decker a9f02a8985 sphinx: Remove annoying warning when MACs do not match 7 years ago
Christian Decker a44f893838 sphinx: Switch to version 0x00 like the spec says 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago