cli: add optional --genesis_hash flag to check genesis hash upon startup (#4238)

Closes #4113
This commit is contained in:
Anton Kaliaev
2019-12-11 15:48:46 +04:00
committed by GitHub
parent 0f69336148
commit 4da816a849
3 changed files with 48 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ func DefaultGenesisDocProviderFunc(config *cfg.Config) GenesisDocProvider {
}
}
// NodeProvider takes a config and a logger and returns a ready to go Node.
// Provider takes a config and a logger and returns a ready to go Node.
type Provider func(*cfg.Config, log.Logger) (*Node, error)
// DefaultNewNode returns a Tendermint node with default settings for the