Documentation
¶
Index ¶
- type RollupServiceServer
- func (s *RollupServiceServer) GetBlockByHash(ctx context.Context, req *pbRollupapisV1.GetBlockByHashRequest) (*pbRollupapisV1.GetBlockByHashResponse, error)
- func (s *RollupServiceServer) GetBlockByHeight(ctx context.Context, req *pbRollupapisV1.GetBlockByHeightRequest) (*pbRollupapisV1.GetBlockByHeightResponse, error)
- func (s *RollupServiceServer) GetChainInfo(ctx context.Context, req *pbRollupapisV1.GetChainInfoRequest) (*pbRollupapisV1.GetChainInfoResponse, error)
- func (s *RollupServiceServer) GetLatestBlock(ctx context.Context, req *pbRollupapisV1.GetLatestBlockRequest) (*pbRollupapisV1.GetLatestBlockResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RollupServiceServer ¶
type RollupServiceServer struct { pbRollupapisV1.UnimplementedRollupServiceServer // contains filtered or unexported fields }
func NewRollupServiceServer ¶
func NewRollupServiceServer(chainState *state.ChainState) *RollupServiceServer
func (*RollupServiceServer) GetBlockByHash ¶
func (s *RollupServiceServer) GetBlockByHash( ctx context.Context, req *pbRollupapisV1.GetBlockByHashRequest, ) (*pbRollupapisV1.GetBlockByHashResponse, error)
func (*RollupServiceServer) GetBlockByHeight ¶
func (s *RollupServiceServer) GetBlockByHeight( ctx context.Context, req *pbRollupapisV1.GetBlockByHeightRequest, ) (*pbRollupapisV1.GetBlockByHeightResponse, error)
func (*RollupServiceServer) GetChainInfo ¶
func (s *RollupServiceServer) GetChainInfo( ctx context.Context, req *pbRollupapisV1.GetChainInfoRequest, ) (*pbRollupapisV1.GetChainInfoResponse, error)
func (*RollupServiceServer) GetLatestBlock ¶
func (s *RollupServiceServer) GetLatestBlock( ctx context.Context, req *pbRollupapisV1.GetLatestBlockRequest, ) (*pbRollupapisV1.GetLatestBlockResponse, error)
Click to show internal directories.
Click to hide internal directories.