47 Commits (0d1b45dfccfb6f522e5569919ceef4476299c4dd)

Author SHA1 Message Date
Rusty Russell 32c7c133f4 common/sphinx: make onionpacket.routinginfo a dynamic member. 4 years ago
Rusty Russell 3776af4a35 common/sphinx: make TOTAL_PACKET_SIZE a macro. 4 years ago
Rusty Russell c34c055d82 Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Rusty Russell 8c984fbf1d common: make sphinx.c use hmac.c. 5 years ago
Rusty Russell 24984ec680 common/sphinx: add realm flag so we can avoid legacy parsing. 5 years ago
Christian Decker ef86ee0bae sphinx: Migrate sphinx compression to new interface 5 years ago
Christian Decker 6dd14a2039 sphinx: Kill read_buffer with fire 🔥 5 years ago
Christian Decker e79cda8c9a sphinx: Treat compressed onions as a standalone struct 5 years ago
Christian Decker fd37c5b672 sphinx: Expose the shared secret creation function 5 years ago
Christian Decker 49a3321d7e sphinx: Add functions to decompress 5 years ago
Christian Decker 59b6159e56 sphinx: Functions to enable RV mode and serialize compressed onions 5 years ago
Rusty Russell c11212bb52 pytest: test that we handle WIRE_UPDATE_FAIL_MALFORMED_HTLC correctly. 5 years ago
Rusty Russell 262e4c840f sphinx: use struct secret for shared secret. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell aae5148206 common: remove onionreply type from sphinx.c 5 years ago
Christian Decker dff0a13bd1 sphinx: Make payload size computation publicly available 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 f569b52681 sphinx: Make the sphinx_hop struct public 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
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 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 913a1a9b59 bolt: update to 8b2cf0054660bece9e1004f42a500c6a1a77efd3 5 years ago
Rusty Russell 8774070a31 bolt: Update to latest bolt, including TLV onion format. 5 years ago
Christian Decker c752c3318d sphinx: Cleanup sphinx onion construction, remove realm 5 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 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) 5 years ago
Christian Decker adb984dd45 hooks: Add the raw payload to the htlc_accepted call 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 8553edb7e2 common: fix up BOLT 4 references. 6 years ago
Rusty Russell 8c22bd9ee1 headers: fix up header idempotent lines. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell fea412dd94 BOLT: Update text to latest commit. 7 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 7 years ago
sstone f371b6df20 sphinx: fix payload amount encoding 7 years ago