128 Commits (15f54878e45dca87b477f2d77d2d5e3c46eb8927)

Author SHA1 Message Date
Rusty Russell 3c97f3954e daemon_conn: make it a tal object, typesafe callbacks. 6 years ago
Rusty Russell 689d51cba5 common/daemon_conn: remove finished function. 6 years ago
lisa neigut 0ae1d03513 BOLT7: broadcast `htlc_maximum_msat` in `channel_update s 6 years ago
lisa neigut b1ceaf9910 gossipd: Update BOLT-split flags in channel_update 6 years ago
Rusty Russell 5b2e829b4f hsmd: remove master pointer. 6 years ago
Rusty Russell 019bc4fcd7 hsmd: reorder functions (MOVEONLY). 6 years ago
Rusty Russell b0769d9c0c hsmd: don't use daemon_conn for clients. 6 years ago
Rusty Russell 573f2f065a hsmd: document as part II of our journey. 6 years ago
Rusty Russell cc48e794c9 hsmd: extract and use common sign_all_inputs() helper. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 8f1f1784b3 hsmd: remove hsmd/client.c 6 years ago
Rusty Russell f8df069536 hsmd: move HTLC TX signing next to commitment TX signing. 6 years ago
Rusty Russell 6b6b7eac61 hsmd: use status_conn to send bad_request messages, make handlers uniform. 6 years ago
Rusty Russell 1e4e476c9e hsmd: implement bitcoin_key() to subsume bitcoin_pubkey and bitcoin_keypair. 6 years ago
Rusty Russell 3e63d88ad1 hsmd: rename per-peer to per-channel. 6 years ago
Rusty Russell 72e7856bf3 hsmd: reorder functions (MOVEONLY). 6 years ago
Rusty Russell 0d46a3d6b0 Put the 'd' back in the daemons. 6 years ago
Rusty Russell ac488bc01d hsmd: keep a map of clients. 6 years ago
Rusty Russell 32d12e725f hsm: simplify code. 6 years ago
Rusty Russell 5d1b944a21 hsmd: use async for status reporting. 6 years ago
Rusty Russell 18297a173c hsm: routine to validate that a future secret is correct. 6 years ago
Rusty Russell 7f37fa3263 derive_basepoints: harden checking. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 7 years ago
Rusty Russell 9bf238e001 hsmd: provide message for master to get basepoints & funding pubkey for a channel 7 years ago
Rusty Russell 6b700f904d hsmd: add message to sign the mutual close transaction. 7 years ago
Rusty Russell b9ff130e9e hsmd: routines to sign remote commitment and HTLC txs. 7 years ago
Rusty Russell 2575dbf493 hsmd: provide routine to get the per-commitment point. 7 years ago
Rusty Russell 522b9dc96b hsmd: add routing to sign a local htlc transaction for onchaind. 7 years ago
Rusty Russell dfaf74d972 hsmd: add routines to sign onchain transactions, part 1. 7 years ago
Rusty Russell 93b8217eb0 lightningd: get HSM to sign the last commitment tx for us. 7 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 7 years ago
Rusty Russell d4300e0ce8 hsm: create both channel_announcement signatures. 7 years ago
Rusty Russell f9e5dc7ee8 hsmd: take dbid for client. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell 2ecfbf46e3 hsmd: drop newdir logic. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
conanoc 0733770559 Adjust indents 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
practicalswift dc25e3a6df Make compiler happy 7 years ago
Rusty Russell b45477b081 Make cppcheck happy and code clearer. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
Rusty Russell e63b7bb539 take: allocate temporary variables off NULL. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
practicalswift 7f8ae7e0bf Remove unused parameter master in load_hsm(struct daemon_conn *master) 7 years ago
practicalswift f5742b0928 Remove unused parameter master in create_new_hsm(struct daemon_conn *master) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago