Documentation ¶
Index ¶
- func GenesisFromTMGenesis(genesis *tmtypes.GenesisDoc) (*types.Genesis, error)
- func NodeKeyToFile(path string, perm os.FileMode, obj *p2p.NodeKey) error
- func NodeKeyToJSON(obj *p2p.NodeKey) ([]byte, error)
- func PVFromFile(path string) (*privval.FilePV, error)
- func PVFromJSON(buf []byte) (*privval.FilePV, error)
- func PVToFile(path string, perm os.FileMode, obj tmtypes.PrivValidator) error
- func PVToJSON(obj tmtypes.PrivValidator) ([]byte, error)
- func TMGenesisFromFile(path string) (*tmtypes.GenesisDoc, error)
- func TMGenesisToJSON(obj *tmtypes.GenesisDoc) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenesisFromTMGenesis ¶
func GenesisFromTMGenesis(genesis *tmtypes.GenesisDoc) (*types.Genesis, error)
Akash genesis doc from file
func NodeKeyToFile ¶ added in v0.0.10
func TMGenesisFromFile ¶
func TMGenesisFromFile(path string) (*tmtypes.GenesisDoc, error)
Tendermint genesis doc from file
func TMGenesisToJSON ¶ added in v0.0.6
func TMGenesisToJSON(obj *tmtypes.GenesisDoc) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.