27 Commits (cfcdcf3993788a29267ba160188df0cc47b623da)

Author SHA1 Message Date
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. 7 years ago
Rusty Russell 207eeae1f7 lightningd: explictly split htlc_in and htlc_out. 7 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 7 years ago
Rusty Russell 1ca97a7913 channeld: don't unpack union, leave that to master. 7 years ago
Rusty Russell 6e28412f8f lightningd: clean up HTLC error handling. 7 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 7 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