From eff9899d14317a514a3094360dc6d1aa7a220033 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 9 Dec 2018 19:38:45 -0800 Subject: [PATCH] keychain: add new KeyFamily: KeyFamilyStaticBackup for SCB encryption keys --- keychain/derivation.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/keychain/derivation.go b/keychain/derivation.go index f63587d75..d908da757 100644 --- a/keychain/derivation.go +++ b/keychain/derivation.go @@ -83,6 +83,13 @@ const ( // in order to establish a transport session with us on the Lightning // p2p level (BOLT-0008). KeyFamilyNodeKey KeyFamily = 6 + + // KeyFamilyStaticBackup is the family of keys that will be used to + // derive keys that we use to encrypt and decrypt our set of static + // backups. These backups may either be stored within watch towers for + // a payment, or self stored on disk in a single file containing all + // the static channel backups. + KeyFamilyStaticBackup KeyFamily = 7 ) // KeyLocator is a two-tuple that can be used to derive *any* key that has ever