47 Commits (646c564ec5ee9be700bce5d4503fe33b8a58ffc8)

Author SHA1 Message Date
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
lisa neigut aab9893661 coins: have `we_fulfilled` be fully 'ternary' 5 years ago
lisa neigut 434cad0c3b wallet-htlc: add 'we-filled' flag to saved htlc state 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Rusty Russell c9e73dc4e0 lightningd: rename htlc_in field from failcode to badonion. 5 years ago
Rusty Russell 72d55d3e3b lightningd: store raw msg rather than code for locally-failed outgoing HTLCs 5 years ago
Rusty Russell ed839bfda0 channeld: get the onionreply back from lightningd for failed htlcs. 5 years ago
Rusty Russell b84b4b4695 lightningd: rename htlc_in and htlc_out failuremsg fields to failonion. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 5 years ago
Rusty Russell 345ca9b122 db: add partid field to htlc_out. 5 years ago
Christian Decker 2ce9a1e10d wallet: Add `received_time` to `htlc_in` for forwarding times 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 7e01efbd1f lightningd: clean up htlc_in->shared_secret to be optional. 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 9ef67e50ff lightningd: don't leave htlc_out's in pointer dangling when htlc_in freed. 6 years ago
Rusty Russell 4040c53258 lightningd: handle case where incoming HTLC vanished before fulfilled outgoing. 6 years ago
Rusty Russell 112b7336a3 memleak: create and use a generic htable helper and generic intmap helper. 6 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
Rusty Russell 90a5ba043c htlc_out: initialize hout->key.id, in case we destroy it before setting. 7 years ago
Rusty Russell ba6904f833 pay: close leaks. 7 years ago
Rusty Russell c956d9f5eb lightningd: tal memleak detection, dev-memleak command. 7 years ago
Rusty Russell 2bed246e10 channeld: generate error messages instead of having master do it. 7 years ago
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Christian Decker 79443d6f94 htlc: Defer saving the outgoing payment until we store the HTLC 7 years ago
Christian Decker c6f210a46c htlcs: Needed to add origin_htlc_id to outgoing HTLCs 7 years ago
Christian Decker b8fa765c3f wallet: Add primitives to store htlcs in the database 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 8 years ago
Rusty Russell 207eeae1f7 lightningd: explictly split htlc_in and htlc_out. 8 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 8 years ago
Rusty Russell 1ca97a7913 channeld: don't unpack union, leave that to master. 8 years ago
Rusty Russell 6e28412f8f lightningd: clean up HTLC error handling. 8 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 8 years ago
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Christian Decker 126839886a routing: Use a pointer to a shared_secret htlc_end 8 years ago
Christian Decker 9820abda7c sphinx: Store shared secrets on the origin node 8 years ago
Christian Decker 79f848145c sphinx: Passing shared secret of the HTLC up to the master 8 years ago
Christian Decker 25f1cba3cf routing: Ask gossipd to resolve channel_id and forward HTLCs 8 years ago
Rusty Russell 826fb0c2dc lightningd: track HTLC ends. 8 years ago