43 Commits (e44f951b6c1e5f45a00b1e718bc3b3b94f2f6648)

Author SHA1 Message Date
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
Christian Decker 2d9cd4759e hsm: Make the master simply a client with special capabilities 7 years ago
Christian Decker 8ff69e0307 hsm: channeld now also just uses the handle_client entry point 7 years ago
Christian Decker 6ce264d3a2 hsm: Remove special case of hsmfd_ecdh, replaced with client and cap 7 years ago
Christian Decker 5482acb837 hsm: Unifying the client creation and adding client capabilities 7 years ago
Christian Decker 2fd78362ad hsm: Log incoming client messages 7 years ago
Rusty Russell af7e6158af Makefile: clean needs to do more, distclean should remove everything. 7 years ago
Rusty Russell f9c6f6413f hsmd: invoice signing support. 7 years ago
Rusty Russell ffaa15c7da hsm: remove unique_id. 7 years ago
Rusty Russell 32631b4278 generate-wire.py: add --bolt arg, use size->type hacks only when that's specified. 7 years ago
Rusty Russell 1398a208f8 hsmd: add debugging into io_loop. 7 years ago
Rusty Russell 7e1154e1ec hsmd: use debug for backtraces. 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago