validator

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListBlockValidatorByAddress

func ListBlockValidatorByAddress(address string, minHeight, maxHeight int64) ([]*types.BlockValidator, error)

ListBlockValidatorByAddress 查询

func ListBlockValidatorByHeight

func ListBlockValidatorByHeight(chainID string, height int64) ([]*types.BlockValidator, error)

ListBlockValidatorByHeight 查询

func ListValidatorByChain

func ListValidatorByChain(chainID string) ([]*types.Validator, error)

ListValidatorByChain 查询链所有的validator

func RetrieveBlockValidator

func RetrieveBlockValidator(chainID string, height int64, validatorAddress string) (*types.BlockValidator, error)

Search 单个查询

func RetrieveValidator

func RetrieveValidator(address string) (*types.Validator, error)

RetrieveValidator 单个查询

func SaveBlockValidator

func SaveBlockValidator(chainId string, v *tmtypes.Vote, vl *tmtypes.Validator) error

func SaveValidator

func SaveValidator(chainId string, v *tmtypes.Vote, vl *tmtypes.Validator) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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