163 Commits (5d987f2dec8d4d292021945a61c69c09264f031e)

Author SHA1 Message Date
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
practicalswift 4bdd2452f2 Make sure fsync, connect and close are never accidentally passed negative arguments 7 years ago
Rusty Russell 0f97b8cf36 subdaemon.c: subdaemon_setup() routine for all daemons. 7 years ago
Christian Decker 539c1485f2 hsm: Implement private key derivation needed for unilateral closes 7 years ago
Christian Decker 3db4474465 hsm: Generate fully signed funding transaction in the HSM 7 years ago
Christian Decker ce845853b0 hsm: Generate fully signed transactions and return them to caller 7 years ago
Rusty Russell 810abb6b21 bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 7 years ago
Rusty Russell bd0b762b2f hsm: fix complex withdrawl transactions. 7 years ago
ZmnSCPxj b56fea8b2a Modify hsm_sign_withdrawal to transmit scriptpubkey to withdraw to, rather than pkh. 7 years ago
ZmnSCPxj 5fd74f9933 Change withdraw_tx to accept scriptpubkey rather than plain address. 7 years ago
Christian Decker 9ba99d2b2d hsm: Cleanup after merging control and client libraries 7 years ago