mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
2ecfbf46e3
Originally we were supposed to tell the HSM we had just created the directory, otherwise it wouldn't create a new seed. But we modified it to check if there was a seed file anyway: just move that logic into a branch of hsmd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
362 B
C
13 lines
362 B
C
#ifndef LIGHTNING_LIGHTNINGD_HSM_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_HSM_CONTROL_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
#include <stdbool.h>
|
|
|
|
struct lightningd;
|
|
|
|
u8 *hsm_sync_read(const tal_t *ctx, struct lightningd *ld);
|
|
void hsm_init(struct lightningd *ld);
|
|
#endif /* LIGHTNING_LIGHTNINGD_HSM_CONTROL_H */
|