mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
developer: add --dev-force-channel-secrets.
We don't have this on a per-channel basis (yet), but it's sufficient for testing now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
5879f6b4e0
commit
1e6eabf018
@@ -155,4 +155,14 @@ void towire_basepoints(u8 **pptr, const struct basepoints *b);
|
||||
void fromwire_basepoints(const u8 **ptr, size_t *max,
|
||||
struct basepoints *b);
|
||||
|
||||
/* For --dev-force-channel-secrets. */
|
||||
#if DEVELOPER
|
||||
extern struct secrets *dev_force_channel_secrets;
|
||||
extern struct sha256 *dev_force_channel_secrets_shaseed;
|
||||
#endif
|
||||
|
||||
/* Note: these abort if !DEVELOPER */
|
||||
void towire_secrets(u8 **pptr, const struct secrets *s);
|
||||
void fromwire_secrets(const u8 **ptr, size_t *max, struct secrets *s);
|
||||
|
||||
#endif /* LIGHTNING_COMMON_DERIVE_BASEPOINTS_H */
|
||||
|
||||
Reference in New Issue
Block a user