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