MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / NodeKeyFile

Method NodeKeyFile

config/config.go:281–283  ·  view source on GitHub ↗

NodeKeyFile returns the full path to the node_key.json file

()

Source from the content-addressed store, hash-verified

279
280// NodeKeyFile returns the full path to the node_key.json file
281func (cfg BaseConfig) NodeKeyFile() string {
282 return rootify(cfg.NodeKey, cfg.RootDir)
283}
284
285func (cfg BaseConfig) NodeMinerKeyFile() string {
286 return rootify(cfg.NodeKey+"_miner", cfg.RootDir)

Callers 12

initFilesWithConfigFunction · 0.80
DefaultNewNodeFunction · 0.80
createSwitchFunction · 0.80
setupNodeFunction · 0.80
showNodeIDFunction · 0.80
initFilesWithConfigFunction · 0.80
persistentPeersStringFunction · 0.80
genNodeKeyFunction · 0.80
NewTendermintFunction · 0.80
DefaultNewNodeFunction · 0.80
createSwitchFunction · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 1