633 Commits (2986854c88d00ec0bd4c8e216768e5b7c76d9f2a)

Author SHA1 Message Date
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
Saibato f6006f43a9 Init commit to be able to create a tor static service on the fly. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker 82255e2401 json-rpc: Add helper for an array of secrets 5 years ago
Christian Decker 21b5b59c8c json-rpc: Rename onion payload type to style 5 years ago
Christian Decker 55d8dcc907 param: Encapsulate hops parsing in a param_hops_array helper 5 years ago
Christian Decker f569b52681 sphinx: Make the sphinx_hop struct public 5 years ago
Christian Decker 43fb2a6ed0 json: Add helper to extract a secret from JSON 5 years ago
Christian Decker 714b57241b sphinx: Promote TLV payloads to be non-experimental 5 years ago
Christian Decker de6bf3e421 json: Add two param parsers for secrets and hex-encoded binary data 5 years ago
gorazdko a3961c4e06 unit test: run sphinx unit test by default 5 years ago
gorazdko d5a6072642 unit test: fix test vectors in run-sphinx 5 years ago
gorazdko e8ce9d0327 unit test: fix run-sphinx dependencies and update mocks 5 years ago
fiatjaf 17bb862cfe don't enforce description_hash checking 5 years ago
Rusty Russell 8393d21503 common/features: add `payment_secret` feature if EXPERIMENTAL. 5 years ago
Rusty Russell 3b37c9d426 common/features: clean up feature handling for different cases. 5 years ago
Rusty Russell e5247a68b6 lightningd: check payment secret on htlc receipt. 5 years ago
Rusty Russell 854c64ffee common/bolt11: add secret support. 5 years ago
Rusty Russell 09cdbb70eb common: make BOLT11 use the normal feature array. 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Rusty Russell f5831e5d10 config: limit depth on includes. 5 years ago
Rusty Russell e3dbd78536 config: explicitly disallow nonsensical options. 5 years ago
Rusty Russell 36c517bac5 common: change default network from testnet to mainnet for new installs. 5 years ago
Rusty Russell a56f2b25b0 common: parse --allow-deprecated-apis extremely early. 5 years ago
Rusty Russell aab83e729b lightningd: change config-dir from plugin / wallet / hsm POV into <network> subdir 5 years ago
Rusty Russell dc23c308e4 config: Read both top-level and network-subdir config files. 5 years ago
Rusty Russell 8b1aa3ef8b lightningd: move basic parameter parsing into common/configdir 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
Rusty Russell ce1049115a channeld: remove chainparams local parameter. 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 4fc498f901 lightningd: enable io logging on subdaemons iff we're going to print it. 5 years ago
Rusty Russell 00cb5adfe6 common: allow subdaemons to specify the node_id in status messages. 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
Rusty Russell bb06bec891 features: set OPT_VAR_ONION (bit 9) iff EXPERIMENTAL_FEATURES 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
lisa neigut 963a1da958 addr: handle P2SH/P2PKH in scriptpubkey encoding 5 years ago
Rusty Russell c62f0cb6ff sphinx: fix potential data leak. 5 years ago
darosior 16f5af00c7 common/json: add a helper for json to u16 5 years ago
lisa neigut f0f47ce153 warnings: if behind blockchain, don't show cannot afford 5 years ago
Rusty Russell bb370e66a8 gossipd: handle a "push" marker into the gossip_store. 5 years ago
Rusty Russell 4d0c2e93bf common: remove spammy debug msg. 5 years ago