123 Commits (a3ddf9be9bb635e7b6ff14b5385f31c59812f933)

Author SHA1 Message Date
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
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell 4130a47f5b hsm: clean up status usage. 7 years ago
practicalswift c53dfc3fde Check return value of derive_simple_privkey(...) call in hsm_unilateral_close_privkey(...) 7 years ago