32 Commits (a3ddf9be9bb635e7b6ff14b5385f31c59812f933)

Author SHA1 Message Date
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
Rusty Russell fe17acf07b TAGS: reformat to fix when PRINTF_FMT() used. 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 ad2519a6f4 spelling: Check LockTime Verify. 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 b77906634e lightningd: even more HTLC consistency checking: check states. 6 years ago
Rusty Russell a516e26331 lightningd: beef up HTLC consistency checking. 6 years ago
Rusty Russell 112b7336a3 memleak: create and use a generic htable helper and generic intmap helper. 6 years ago
practicalswift 2ab274595e Remove unused parameter ptr in corrupt(const void *ptr, ...) 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 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 45665a994b htlc_end: allow htlc_out to have 0 msatoshi. 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 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 53763ba6a4 wallet: Store HTLCs to the wallet 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 798c4b73c4 lightningd/htlc_end: fix key for stricter compiler. 8 years ago
Rusty Russell 826fb0c2dc lightningd: track HTLC ends. 8 years ago