core-lightning/daemon/secrets.h
Rusty Russell 9449f387ac daemon: primitive privkey handling.
Eventually this will be in a separate process, etc.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-01-22 06:41:48 +10:30

16 lines
374 B
C

#ifndef LIGHTNING_DAEMON_SECRETS_H
#define LIGHTNING_DAEMON_SECRETS_H
/* Routines to handle private keys. */
#include "config.h"
struct peer;
struct lightningd_state;
struct signature;
void privkey_sign(struct peer *peer, const void *src, size_t len,
struct signature *sig);
void secrets_init(struct lightningd_state *state);
#endif /* LIGHTNING_DAEMON_SECRETS_H */