core-lightning/hsmd
Rusty Russell ac488bc01d hsmd: keep a map of clients.
This means we make sure that we only have one fd per dbid, but more importantly
it enables leak detection, since we can iterate the clients we have.

If we get a second hsmfd request for the same dbid, we free the old
one: sometimes we get the new request before we notice the old daemon
died.  We also have to handle the three 0-value dbid daemons a bit
specially.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-24 19:54:32 +02:00
..
capabilities.h hsmd: add message to sign the mutual close transaction. 2018-07-24 00:40:01 +02:00
client.c tools/generate-wire.py: remove length argument from fromwire_ routines. 2018-02-20 22:36:21 +01:00
client.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
hsm_client_wire_csv hsm: routine to validate that a future secret is correct. 2018-08-23 14:46:22 +02:00
hsm.c hsmd: keep a map of clients. 2018-08-24 19:54:32 +02:00
Makefile common/daemon: common routines for all daemons. 2018-04-03 14:03:28 +02:00