Documentation ¶
Index ¶
- func FilePVFromFile(path string) (*privval.FilePV, error)
- func FilePVFromJSON(buf []byte) (*privval.FilePV, error)
- func FilePVKeyFromJSON(buf []byte) (*privval.FilePVKey, error)
- func FilePVKeyToJSON(obj privval.FilePVKey) ([]byte, error)
- func FilePVStateToJSON(obj privval.FilePVLastSignState) ([]byte, error)
- func FilePVToJSON(obj *privval.FilePV) ([]byte, error)
- 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 PVKeyToFile(path string, perm os.FileMode, obj privval.FilePVKey) error
- func PVStateToFile(path string, perm os.FileMode, obj privval.FilePVLastSignState) 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 FilePVKeyFromJSON ¶ added in v0.4.0
func FilePVStateToJSON ¶ added in v0.4.0
func FilePVStateToJSON(obj privval.FilePVLastSignState) ([]byte, error)
func GenesisFromTMGenesis ¶
func GenesisFromTMGenesis(genesis *tmtypes.GenesisDoc) (*types.Genesis, error)
Akash genesis doc from file
func NodeKeyToFile ¶ added in v0.0.10
func PVKeyToFile ¶ added in v0.4.0
func PVStateToFile ¶ added in v0.4.0
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.