Documentation ¶
Index ¶
- Constants
- func MakeBaseBlockByHeightMsg(blockMsg types.BlockMsg) (tmservice.GetBlockByHeightRequest, error)
- func MakeBaseLatestBlockMsg() (tmservice.GetLatestBlockRequest, error)
- func MakeBaseNodeInfoMsg() (tmservice.GetNodeInfoRequest, error)
- func MakeBaseSyncingMsg() (tmservice.GetSyncingRequest, error)
- func MakeLatestValidatorSetMsg() (tmservice.GetLatestValidatorSetRequest, error)
- func MakeValidatorSetByHeightMsg(validatorSetMsg types.ValidatorSetMsg) (tmservice.GetValidatorSetByHeightRequest, error)
Constants ¶
View Source
const ( Base = "base" BaseNodeInfoMsgType = "base-node-info" BaseSyncingMsgType = "base-syncing" BaseLatestBlockMsgtype = "base-latest-block" BaseBlockByHeightMsgType = "base-block-by-height" BaseLatestValidatorSetMsgType = "base-latest-validator-set" BaseValidatorSetByHeightMsgType = "base-validator-set-by-height" )
Variables ¶
This section is empty.
Functions ¶
func MakeBaseBlockByHeightMsg ¶
func MakeBaseBlockByHeightMsg(blockMsg types.BlockMsg) (tmservice.GetBlockByHeightRequest, error)
(Query) make msg - get block by height
func MakeBaseLatestBlockMsg ¶
func MakeBaseLatestBlockMsg() (tmservice.GetLatestBlockRequest, error)
(Query) make msg - latest block
func MakeBaseNodeInfoMsg ¶
func MakeBaseNodeInfoMsg() (tmservice.GetNodeInfoRequest, error)
(Query) make msg - node info
func MakeBaseSyncingMsg ¶
func MakeBaseSyncingMsg() (tmservice.GetSyncingRequest, error)
(Query) make msg - syncing
func MakeLatestValidatorSetMsg ¶
func MakeLatestValidatorSetMsg() (tmservice.GetLatestValidatorSetRequest, error)
(Query) make msg - latest validator set
func MakeValidatorSetByHeightMsg ¶
func MakeValidatorSetByHeightMsg(validatorSetMsg types.ValidatorSetMsg) (tmservice.GetValidatorSetByHeightRequest, error)
(Query) make msg - latest validator set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.