34 Commits (67ce27aac723d7b6ec9201cd2809798bcc8c6255)

Author SHA1 Message Date
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