Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.sgncli") // DefaultNodeHome sets the folder where the application data and configuration will be stored DefaultNodeHome = os.ExpandEnv("$HOME/.sgnd") // ModuleBasicManager is in charge of setting up basic module elemnets ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, params.AppModuleBasic{}, supply.AppModuleBasic{}, upgrade.AppModuleBasic{}, cron.AppModule{}, gov.NewAppModuleBasic(govclient.ParamProposalHandler, govclient.UpgradeProposalHandler), slash.AppModule{}, guard.AppModule{}, sync.AppModule{}, validator.AppModuleBasic{}, ) )
Functions ¶
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() GenesisState
Click to show internal directories.
Click to hide internal directories.