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:
Rusty Russell
2019-07-17 07:15:14 +09:30
committed by neil saitug
parent 5879f6b4e0
commit 1e6eabf018
9 changed files with 153 additions and 44 deletions

View File

@@ -211,6 +211,10 @@ struct lightningd {
/* This is the forced bip32 seed for the node. */
struct secret *dev_force_bip32_seed;
/* These are the forced channel secrets for the node. */
struct secrets *dev_force_channel_secrets;
struct sha256 *dev_force_channel_secrets_shaseed;
#endif /* DEVELOPER */
/* tor support */