Documentation ¶
Index ¶
- func ListBlockValidatorByAddress(address string, minHeight, maxHeight int64) ([]*types.BlockValidator, error)
- func ListBlockValidatorByHeight(chainID string, height int64) ([]*types.BlockValidator, error)
- func ListValidatorByChain(chainID string) ([]*types.Validator, error)
- func RetrieveBlockValidator(chainID string, height int64, validatorAddress string) (*types.BlockValidator, error)
- func RetrieveValidator(address string) (*types.Validator, error)
- func Save(b *tmctypes.ResultBlock, vs *tmctypes.ResultValidators) error
- func SaveBlockValidator(chainId string, v *tmtypes.Vote, vl *tmtypes.Validator) error
- func SaveValidator(chainId string, v *tmtypes.Vote, vl *tmtypes.Validator) error
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 ¶
ListValidatorByChain 查询链所有的validator
func RetrieveBlockValidator ¶
func RetrieveBlockValidator(chainID string, height int64, validatorAddress string) (*types.BlockValidator, error)
Search 单个查询
func RetrieveValidator ¶
RetrieveValidator 单个查询
func Save ¶
func Save(b *tmctypes.ResultBlock, vs *tmctypes.ResultValidators) error
func SaveBlockValidator ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.