Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainRPC ¶
type ChainRPC interface { GetBlock(height int64) (*coretypes.ResultBlock, error) GetTxsByBlockHeight(height int64) (*txTypes.GetTxsEventResponse, error) IsCatchingUp() (bool, error) GetLatestBlockHeight() (int64, error) GetLatestBlockHeightWithRetry(retryMaxAttempts int64, retryMaxWaitSeconds uint64) (int64, error) GetEarliestAndLatestBlockHeights() (int64, int64, error) }
func NewChainRPC ¶
func NewChainRPC(cl *probeClient.ChainClient) ChainRPC
Click to show internal directories.
Click to hide internal directories.