From e21f3bc16782422140a49c494dfcfbfff4c4a04f Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Sun, 13 Feb 2022 15:31:06 +0100 Subject: [PATCH] keyconf documentation --- node/services/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/node/services/config.go b/node/services/config.go index f8a0aa6168..31a99b690d 100644 --- a/node/services/config.go +++ b/node/services/config.go @@ -22,7 +22,8 @@ type Config struct { // as reliable to fetch headers at any moment. TrustedPeer string - // TODO @renaynay: document + // KeyConf contains configuration details for construction of the keyring.Signer + // that will be used to manage the node's account. KeyConf KeyConfig } @@ -31,6 +32,7 @@ func DefaultConfig() Config { return Config{ TrustedHash: "", TrustedPeer: "", + KeyConf: DefaultKeyConfig(), } } @@ -55,6 +57,8 @@ func (cfg *Config) trustedHash() (tmbytes.HexBytes, error) { return hex.DecodeString(cfg.TrustedHash) } +// KeyConfig contains configuration details for construction of the keyring.Signer +// that will be used to manage the node's account. type KeyConfig struct { KeyringAccName string }