github.com/celestiaorg/celestia-node@v0.15.0-beta.1/nodebuilder/state/config.go (about) 1 package state 2 3 import ( 4 "github.com/cosmos/cosmos-sdk/crypto/keyring" 5 ) 6 7 var defaultKeyringBackend = keyring.BackendTest 8 9 // Config contains configuration parameters for constructing 10 // the node's keyring signer. 11 type Config struct { 12 KeyringAccName string 13 KeyringBackend string 14 } 15 16 func DefaultConfig() Config { 17 return Config{ 18 KeyringAccName: "", 19 KeyringBackend: defaultKeyringBackend, 20 } 21 } 22 23 // Validate performs basic validation of the config. 24 func (cfg *Config) Validate() error { 25 return nil 26 }