mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
daemon: primitive privkey handling.
Eventually this will be in a separate process, etc. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
15
daemon/secrets.h
Normal file
15
daemon/secrets.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user