node

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 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 PVFromFile added in v0.0.6

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

func PVFromJSON added in v0.0.6

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

func PVToFile added in v0.0.6

func PVToFile(path string, perm os.FileMode, obj tmtypes.PrivValidator) error

func PVToJSON added in v0.0.6

func PVToJSON(obj tmtypes.PrivValidator) ([]byte, 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