node

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilePVFromFile added in v0.4.0

func FilePVFromFile(path string) (*privval.FilePV, error)

func FilePVFromJSON added in v0.4.0

func FilePVFromJSON(buf []byte) (*privval.FilePV, error)

func FilePVKeyFromJSON added in v0.4.0

func FilePVKeyFromJSON(buf []byte) (*privval.FilePVKey, error)

func FilePVKeyToJSON added in v0.4.0

func FilePVKeyToJSON(obj privval.FilePVKey) ([]byte, error)

func FilePVStateToJSON added in v0.4.0

func FilePVStateToJSON(obj privval.FilePVLastSignState) ([]byte, error)

func FilePVToJSON added in v0.4.0

func FilePVToJSON(obj *privval.FilePV) ([]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 NodeKeyToFile(path string, perm os.FileMode, obj *p2p.NodeKey) error

func NodeKeyToJSON added in v0.0.10

func NodeKeyToJSON(obj *p2p.NodeKey) ([]byte, error)

func PVKeyToFile added in v0.4.0

func PVKeyToFile(path string, perm os.FileMode, obj privval.FilePVKey) error

func PVStateToFile added in v0.4.0

func PVStateToFile(path string, perm os.FileMode, obj privval.FilePVLastSignState) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL