Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- type Client
- func (c *Client) GetLBlock(ctx context.Context) (*tmtype.Block, error)
- func (c *Client) GetLByBlock(ctx context.Context, block_num int64) (*tmtype.Block, error)
- func (c *Client) GetLValidatorSet(ctx context.Context) ([]*tmservice.Validator, error)
- func (c *Client) GetSyncInfo(ctx context.Context) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { tmservice.ServiceClient *grpc.ClientConn }
Client wraps GRPC client connection.
func (*Client) GetLByBlock ¶
func (*Client) GetLValidatorSet ¶
Click to show internal directories.
Click to hide internal directories.