MCPcopy Create free account
hub / github.com/tendermint/tendermint / GenesisFile

Method GenesisFile

config/config.go:278–280  ·  view source on GitHub ↗

GenesisFile returns the full path to the genesis.json file

()

Source from the content-addressed store, hash-verified

276
277// GenesisFile returns the full path to the genesis.json file
278func (cfg BaseConfig) GenesisFile() string {
279 return rootify(cfg.Genesis, cfg.RootDir)
280}
281
282// NodeKeyFile returns the full path to the node_key.json file
283func (cfg BaseConfig) NodeKeyFile() string {

Callers 15

NewFromConfigFunction · 0.80
BenchmarkLoadValidatorsFunction · 0.80
setupTestCaseFunction · 0.80
makeStateAndBlockStoreFunction · 0.80
TestLoadBaseMetaFunction · 0.80
TestPruneBlocksFunction · 0.80
WALGenerateNBlocksFunction · 0.80
crashWALandCheckLivenessFunction · 0.80
testHandshakeReplayFunction · 0.80
stateAndStoreFunction · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 14

BenchmarkLoadValidatorsFunction · 0.64
setupTestCaseFunction · 0.64
makeStateAndBlockStoreFunction · 0.64
TestLoadBaseMetaFunction · 0.64
TestPruneBlocksFunction · 0.64
crashWALandCheckLivenessFunction · 0.64
testHandshakeReplayFunction · 0.64
stateAndStoreFunction · 0.64
TestProviderFunction · 0.64