752 Commits (197d1bcef23ab8216f6f205e49ef049337e144b7)

Author SHA1 Message Date
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 aa6aad0131 common: add struct onionreply 5 years ago
Rusty Russell aae5148206 common: remove onionreply type from sphinx.c 5 years ago
ZmnSCPxj jxPCSnmZ 44e8256338 common/json.c: Implement `json_to_u32`. 5 years ago
Vasil Dimov fc75d8a9e6 connectd: add own err codes instead of generic -1 5 years ago
Vasil Dimov 11da88a281 common: add 2 specific error codes wrt funding 5 years ago
Christian Decker 5e44895264 sphinx: Check the payload size at construction and in createonion 5 years ago
Christian Decker dff0a13bd1 sphinx: Make payload size computation publicly available 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
Rusty Russell c74fceb4c9 JSON RPC: invoice exposeprivatechannels can specify exact channels. 5 years ago
Rusty Russell 1d0c433dc4 channeld: treat all incoming errors as "soft", so we retry. 5 years ago
Rusty Russell 839909d2cf Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 5 years ago
Rusty Russell d2673a4e6f channeld: remove changes_pending flags. 5 years ago
Rusty Russell 24d54f98ad channeld: use fee_states internally. 5 years ago
Rusty Russell 8ffd9d570b channeld: cleanup: use the channel_feerate() accessor everywhere. 5 years ago
Rusty Russell b9d6e8bbaa common: add fee_states state machine for update_fee. 5 years ago
Rusty Russell 5d413e0f79 common: offer option_basic_mpp for EXPERIMENTAL_FEATURES. 5 years ago
Rusty Russell 0e4a30c635 doc: update experimental bolt version quotes. 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
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