28 Commits (f77d70d5461f7937f9916ad1e3455ff8e92019e2)

Author SHA1 Message Date
Rusty Russell 3b4a06f52b common: generalize ecdh function. 5 years ago
Rusty Russell 8c984fbf1d common: make sphinx.c use hmac.c. 5 years ago
Christian Decker 59b6159e56 sphinx: Functions to enable RV mode and serialize compressed onions 5 years ago
Wladimir J. van der Laan e4c6fd89b7 Add missing `extern` qualifiers for gcc 10 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
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 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
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 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 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
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker c38afc5512 tx: Switch to amount_sat for fee computations 5 years ago
Rusty Russell 3fa375881a bigsize: make it a proper first-class type. 5 years ago
Christian Decker a0a1a1f752 sphinx: Add function to add a new v0 hop to a sphinx_path 6 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
practicalswift ba4282f935 Don't advertise features we don't have in run-sphinx 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Christian Decker 08bfb740f5 onion: Move cli onion tool to devtools/onion 7 years ago
Rusty Russell ab634dfcdd common/test_sphinx: change to standard run- format. 7 years ago
Rusty Russell 7200002773 tests: detect and close leaks in unit tests. 7 years ago
Rusty Russell 4f6ae3209b common/test/test_sphinx: build fixes. 7 years ago
Rusty Russell 739b163f8b Makefiles: simplify dependencies. 7 years ago
Rusty Russell 14277f93f2 tests: fix up whitespace. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Christian Decker 9820abda7c sphinx: Store shared secrets on the origin node 8 years ago
Christian Decker 79582ea415 sphinx: Update the HMAC in onionreply to full length 8 years ago
Christian Decker c44836ee2f sphinx: Use test vector hop_data 8 years ago
Christian Decker 83e89f0fe5 sphinx: Using hop_data to serialize per-hop information into onion 8 years ago
Christian Decker 752f884c23 sphinx: Removed per-hop payloads, will be replaced by hop_data 8 years ago
Christian Decker cca0e561d6 sphinx: Added unit-testing mode to test_sphinx 8 years ago
Christian Decker e603dba14a sphinx: Fixing makefile for test_sphinx and using lightningd version 8 years ago
Rusty Russell 8146b838e8 daemon/sphinx: split handling. 8 years ago
Christian Decker cae283087d sphinx: Committing the onion packet to the payment-hash 8 years ago
Christian Decker 91b17d45d8 sphinx: Removing last vestiges of the end-to-end payload 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Christian Decker 7bb5c279a8 sphinx: Implemented sphinx onion routing 9 years ago