Documentation ¶
Index ¶
- Variables
- type ErrorResponse
- type GetBlockHashesRequest
- func (*GetBlockHashesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHashesRequest) GetNums() []uint64
- func (*GetBlockHashesRequest) ProtoMessage()
- func (x *GetBlockHashesRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockHashesRequest) Reset()
- func (x *GetBlockHashesRequest) String() string
- type GetBlockHashesResponse
- func (*GetBlockHashesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHashesResponse) GetHashes() [][]byte
- func (*GetBlockHashesResponse) ProtoMessage()
- func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockHashesResponse) Reset()
- func (x *GetBlockHashesResponse) String() string
- type GetBlockNumberRequest
- type GetBlockNumberResponse
- func (*GetBlockNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockNumberResponse) GetNumber() uint64
- func (*GetBlockNumberResponse) ProtoMessage()
- func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockNumberResponse) Reset()
- func (x *GetBlockNumberResponse) String() string
- type GetBlocksByHashesRequest
- func (*GetBlocksByHashesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByHashesRequest) GetBlockHashes() [][]byte
- func (*GetBlocksByHashesRequest) ProtoMessage()
- func (x *GetBlocksByHashesRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByHashesRequest) Reset()
- func (x *GetBlocksByHashesRequest) String() string
- type GetBlocksByHashesResponse
- func (*GetBlocksByHashesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByHashesResponse) GetBlocksBytes() [][]byte
- func (x *GetBlocksByHashesResponse) GetCommitSig() [][]byte
- func (*GetBlocksByHashesResponse) ProtoMessage()
- func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByHashesResponse) Reset()
- func (x *GetBlocksByHashesResponse) String() string
- type GetBlocksByNumRequest
- func (*GetBlocksByNumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByNumRequest) GetNums() []uint64
- func (*GetBlocksByNumRequest) ProtoMessage()
- func (x *GetBlocksByNumRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByNumRequest) Reset()
- func (x *GetBlocksByNumRequest) String() string
- type GetBlocksByNumResponse
- func (*GetBlocksByNumResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlocksByNumResponse) GetBlocksBytes() [][]byte
- func (x *GetBlocksByNumResponse) GetCommitSig() [][]byte
- func (*GetBlocksByNumResponse) ProtoMessage()
- func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlocksByNumResponse) Reset()
- func (x *GetBlocksByNumResponse) String() string
- type Message
- func MakeErrorResponseMessage(rid uint64, err error) *Message
- func MakeGetBlockHashesResponseMessage(rid uint64, hs []common.Hash) *Message
- func MakeGetBlockNumberResponseMessage(rid uint64, bn uint64) *Message
- func MakeGetBlocksByHashesResponseMessage(rid uint64, blocksBytes, sigs [][]byte) *Message
- func MakeGetBlocksByNumResponseMessage(rid uint64, blocksBytes, sigs [][]byte) *Message
- func MakeMessageFromRequest(req *Request) *Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (msg *Message) GetBlockHashesResponse() (*GetBlockHashesResponse, error)
- func (msg *Message) GetBlockNumberResponse() (*GetBlockNumberResponse, error)
- func (msg *Message) GetBlocksByHashesResponse() (*GetBlocksByHashesResponse, error)
- func (msg *Message) GetBlocksByNumberResponse() (*GetBlocksByNumResponse, error)
- func (x *Message) GetReq() *Request
- func (m *Message) GetReqOrResp() isMessage_ReqOrResp
- func (x *Message) GetResp() *Response
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Req
- type Message_Resp
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetGetBlockHashesRequest() *GetBlockHashesRequest
- func (x *Request) GetGetBlockNumberRequest() *GetBlockNumberRequest
- func (x *Request) GetGetBlocksByHashesRequest() *GetBlocksByHashesRequest
- func (x *Request) GetGetBlocksByNumRequest() *GetBlocksByNumRequest
- func (x *Request) GetReqId() uint64
- func (m *Request) GetRequest() isRequest_Request
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_GetBlockHashesRequest
- type Request_GetBlockNumberRequest
- type Request_GetBlocksByHashesRequest
- type Request_GetBlocksByNumRequest
- type Response
- func MakeErrorResponse(rid uint64, err error) *Response
- func MakeGetBlockHashesResponse(rid uint64, hs []common.Hash) *Response
- func MakeGetBlockNumberResponse(rid uint64, bn uint64) *Response
- func MakeGetBlocksByHashesResponse(rid uint64, blocksBytes [][]byte, sigs [][]byte) *Response
- func MakeGetBlocksByNumResponse(rid uint64, blocksBytes, sigs [][]byte) *Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetErrorResponse() *ErrorResponse
- func (x *Response) GetGetBlockHashesResponse() *GetBlockHashesResponse
- func (x *Response) GetGetBlockNumberResponse() *GetBlockNumberResponse
- func (x *Response) GetGetBlocksByHashesResponse() *GetBlocksByHashesResponse
- func (x *Response) GetGetBlocksByNumResponse() *GetBlocksByNumResponse
- func (x *Response) GetReqId() uint64
- func (m *Response) GetResponse() isResponse_Response
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type ResponseError
- type Response_ErrorResponse
- type Response_GetBlockHashesResponse
- type Response_GetBlockNumberResponse
- type Response_GetBlocksByHashesResponse
- type Response_GetBlocksByNumResponse
Constants ¶
This section is empty.
Variables ¶
var File_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetError ¶
func (x *ErrorResponse) GetError() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
type GetBlockHashesRequest ¶
type GetBlockHashesRequest struct { Nums []uint64 `protobuf:"varint,1,rep,packed,name=nums,proto3" json:"nums,omitempty"` // contains filtered or unexported fields }
func (*GetBlockHashesRequest) Descriptor
deprecated
func (*GetBlockHashesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHashesRequest.ProtoReflect.Descriptor instead.
func (*GetBlockHashesRequest) GetNums ¶
func (x *GetBlockHashesRequest) GetNums() []uint64
func (*GetBlockHashesRequest) ProtoMessage ¶
func (*GetBlockHashesRequest) ProtoMessage()
func (*GetBlockHashesRequest) ProtoReflect ¶
func (x *GetBlockHashesRequest) ProtoReflect() protoreflect.Message
func (*GetBlockHashesRequest) Reset ¶
func (x *GetBlockHashesRequest) Reset()
func (*GetBlockHashesRequest) String ¶
func (x *GetBlockHashesRequest) String() string
type GetBlockHashesResponse ¶
type GetBlockHashesResponse struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` // contains filtered or unexported fields }
func (*GetBlockHashesResponse) Descriptor
deprecated
func (*GetBlockHashesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHashesResponse.ProtoReflect.Descriptor instead.
func (*GetBlockHashesResponse) GetHashes ¶
func (x *GetBlockHashesResponse) GetHashes() [][]byte
func (*GetBlockHashesResponse) ProtoMessage ¶
func (*GetBlockHashesResponse) ProtoMessage()
func (*GetBlockHashesResponse) ProtoReflect ¶
func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message
func (*GetBlockHashesResponse) Reset ¶
func (x *GetBlockHashesResponse) Reset()
func (*GetBlockHashesResponse) String ¶
func (x *GetBlockHashesResponse) String() string
type GetBlockNumberRequest ¶
type GetBlockNumberRequest struct {
// contains filtered or unexported fields
}
func (*GetBlockNumberRequest) Descriptor
deprecated
func (*GetBlockNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockNumberRequest.ProtoReflect.Descriptor instead.
func (*GetBlockNumberRequest) ProtoMessage ¶
func (*GetBlockNumberRequest) ProtoMessage()
func (*GetBlockNumberRequest) ProtoReflect ¶
func (x *GetBlockNumberRequest) ProtoReflect() protoreflect.Message
func (*GetBlockNumberRequest) Reset ¶
func (x *GetBlockNumberRequest) Reset()
func (*GetBlockNumberRequest) String ¶
func (x *GetBlockNumberRequest) String() string
type GetBlockNumberResponse ¶
type GetBlockNumberResponse struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*GetBlockNumberResponse) Descriptor
deprecated
func (*GetBlockNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockNumberResponse.ProtoReflect.Descriptor instead.
func (*GetBlockNumberResponse) GetNumber ¶
func (x *GetBlockNumberResponse) GetNumber() uint64
func (*GetBlockNumberResponse) ProtoMessage ¶
func (*GetBlockNumberResponse) ProtoMessage()
func (*GetBlockNumberResponse) ProtoReflect ¶
func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message
func (*GetBlockNumberResponse) Reset ¶
func (x *GetBlockNumberResponse) Reset()
func (*GetBlockNumberResponse) String ¶
func (x *GetBlockNumberResponse) String() string
type GetBlocksByHashesRequest ¶
type GetBlocksByHashesRequest struct { BlockHashes [][]byte `protobuf:"bytes,1,rep,name=block_hashes,json=blockHashes,proto3" json:"block_hashes,omitempty"` // contains filtered or unexported fields }
func (*GetBlocksByHashesRequest) Descriptor
deprecated
func (*GetBlocksByHashesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByHashesRequest.ProtoReflect.Descriptor instead.
func (*GetBlocksByHashesRequest) GetBlockHashes ¶
func (x *GetBlocksByHashesRequest) GetBlockHashes() [][]byte
func (*GetBlocksByHashesRequest) ProtoMessage ¶
func (*GetBlocksByHashesRequest) ProtoMessage()
func (*GetBlocksByHashesRequest) ProtoReflect ¶
func (x *GetBlocksByHashesRequest) ProtoReflect() protoreflect.Message
func (*GetBlocksByHashesRequest) Reset ¶
func (x *GetBlocksByHashesRequest) Reset()
func (*GetBlocksByHashesRequest) String ¶
func (x *GetBlocksByHashesRequest) String() string
type GetBlocksByHashesResponse ¶
type GetBlocksByHashesResponse struct { BlocksBytes [][]byte `protobuf:"bytes,1,rep,name=blocks_bytes,json=blocksBytes,proto3" json:"blocks_bytes,omitempty"` CommitSig [][]byte `protobuf:"bytes,2,rep,name=commit_sig,json=commitSig,proto3" json:"commit_sig,omitempty"` // contains filtered or unexported fields }
func (*GetBlocksByHashesResponse) Descriptor
deprecated
func (*GetBlocksByHashesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByHashesResponse.ProtoReflect.Descriptor instead.
func (*GetBlocksByHashesResponse) GetBlocksBytes ¶
func (x *GetBlocksByHashesResponse) GetBlocksBytes() [][]byte
func (*GetBlocksByHashesResponse) GetCommitSig ¶
func (x *GetBlocksByHashesResponse) GetCommitSig() [][]byte
func (*GetBlocksByHashesResponse) ProtoMessage ¶
func (*GetBlocksByHashesResponse) ProtoMessage()
func (*GetBlocksByHashesResponse) ProtoReflect ¶
func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message
func (*GetBlocksByHashesResponse) Reset ¶
func (x *GetBlocksByHashesResponse) Reset()
func (*GetBlocksByHashesResponse) String ¶
func (x *GetBlocksByHashesResponse) String() string
type GetBlocksByNumRequest ¶
type GetBlocksByNumRequest struct { Nums []uint64 `protobuf:"varint,1,rep,packed,name=nums,proto3" json:"nums,omitempty"` // contains filtered or unexported fields }
func (*GetBlocksByNumRequest) Descriptor
deprecated
func (*GetBlocksByNumRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByNumRequest.ProtoReflect.Descriptor instead.
func (*GetBlocksByNumRequest) GetNums ¶
func (x *GetBlocksByNumRequest) GetNums() []uint64
func (*GetBlocksByNumRequest) ProtoMessage ¶
func (*GetBlocksByNumRequest) ProtoMessage()
func (*GetBlocksByNumRequest) ProtoReflect ¶
func (x *GetBlocksByNumRequest) ProtoReflect() protoreflect.Message
func (*GetBlocksByNumRequest) Reset ¶
func (x *GetBlocksByNumRequest) Reset()
func (*GetBlocksByNumRequest) String ¶
func (x *GetBlocksByNumRequest) String() string
type GetBlocksByNumResponse ¶
type GetBlocksByNumResponse struct { BlocksBytes [][]byte `protobuf:"bytes,1,rep,name=blocks_bytes,json=blocksBytes,proto3" json:"blocks_bytes,omitempty"` CommitSig [][]byte `protobuf:"bytes,2,rep,name=commit_sig,json=commitSig,proto3" json:"commit_sig,omitempty"` // contains filtered or unexported fields }
func (*GetBlocksByNumResponse) Descriptor
deprecated
func (*GetBlocksByNumResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksByNumResponse.ProtoReflect.Descriptor instead.
func (*GetBlocksByNumResponse) GetBlocksBytes ¶
func (x *GetBlocksByNumResponse) GetBlocksBytes() [][]byte
func (*GetBlocksByNumResponse) GetCommitSig ¶
func (x *GetBlocksByNumResponse) GetCommitSig() [][]byte
func (*GetBlocksByNumResponse) ProtoMessage ¶
func (*GetBlocksByNumResponse) ProtoMessage()
func (*GetBlocksByNumResponse) ProtoReflect ¶
func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message
func (*GetBlocksByNumResponse) Reset ¶
func (x *GetBlocksByNumResponse) Reset()
func (*GetBlocksByNumResponse) String ¶
func (x *GetBlocksByNumResponse) String() string
type Message ¶
type Message struct { // Types that are assignable to ReqOrResp: // *Message_Req // *Message_Resp ReqOrResp isMessage_ReqOrResp `protobuf_oneof:"req_or_resp"` // contains filtered or unexported fields }
func MakeErrorResponseMessage ¶
MakeErrorResponse makes the error response
func MakeGetBlockHashesResponseMessage ¶
MakeGetBlockHashesResponseMessage makes the GetBlockHashes message
func MakeGetBlockNumberResponseMessage ¶
MakeGetBlockNumberResponseMessage makes the GetBlockNumber response message
func MakeGetBlocksByHashesResponseMessage ¶
MakeGetBlocksByHashesResponseMessage makes the GetBlocksByHashesResponse of Message type
func MakeGetBlocksByNumResponseMessage ¶
MakeGetBlocksByNumResponseMessage makes the GetBlocksByNumResponse of Message type
func MakeMessageFromRequest ¶
MakeMessageFromRequest makes a message from the request
func (*Message) Descriptor
deprecated
func (*Message) GetBlockHashesResponse ¶
func (msg *Message) GetBlockHashesResponse() (*GetBlockHashesResponse, error)
GetBlockHashesResponse parse the message to GetBlockHashesResponse
func (*Message) GetBlockNumberResponse ¶
func (msg *Message) GetBlockNumberResponse() (*GetBlockNumberResponse, error)
GetBlockNumberResponse parse the message to GetBlockNumberResponse
func (*Message) GetBlocksByHashesResponse ¶
func (msg *Message) GetBlocksByHashesResponse() (*GetBlocksByHashesResponse, error)
GetBlocksByHashesResponse parse the message to GetBlocksByHashesResponse
func (*Message) GetBlocksByNumberResponse ¶
func (msg *Message) GetBlocksByNumberResponse() (*GetBlocksByNumResponse, error)
GetBlocksByNumberResponse parse the message to GetBlocksByNumberResponse
func (*Message) GetReqOrResp ¶
func (m *Message) GetReqOrResp() isMessage_ReqOrResp
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Req ¶
type Message_Req struct {
Req *Request `protobuf:"bytes,1,opt,name=req,proto3,oneof"`
}
type Message_Resp ¶
type Message_Resp struct {
Resp *Response `protobuf:"bytes,2,opt,name=resp,proto3,oneof"`
}
type Request ¶
type Request struct { ReqId uint64 `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // Types that are assignable to Request: // *Request_GetBlockNumberRequest // *Request_GetBlockHashesRequest // *Request_GetBlocksByNumRequest // *Request_GetBlocksByHashesRequest Request isRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func MakeGetBlockHashesRequest ¶
MakeGetBlockHashesRequest makes GetBlockHashes Request
func MakeGetBlockNumberRequest ¶
func MakeGetBlockNumberRequest() *Request
MakeGetBlockNumberRequest makes the GetBlockNumber Request
func MakeGetBlocksByHashesRequest ¶
MakeGetBlockByHashesRequest makes the GetBlocksByHashes request
func MakeGetBlocksByNumRequest ¶
MakeGetBlocksByNumRequest makes the GetBlockByNumber request
func (*Request) Descriptor
deprecated
func (*Request) GetGetBlockHashesRequest ¶
func (x *Request) GetGetBlockHashesRequest() *GetBlockHashesRequest
func (*Request) GetGetBlockNumberRequest ¶
func (x *Request) GetGetBlockNumberRequest() *GetBlockNumberRequest
func (*Request) GetGetBlocksByHashesRequest ¶
func (x *Request) GetGetBlocksByHashesRequest() *GetBlocksByHashesRequest
func (*Request) GetGetBlocksByNumRequest ¶
func (x *Request) GetGetBlocksByNumRequest() *GetBlocksByNumRequest
func (*Request) GetRequest ¶
func (m *Request) GetRequest() isRequest_Request
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_GetBlockHashesRequest ¶
type Request_GetBlockHashesRequest struct {
GetBlockHashesRequest *GetBlockHashesRequest `protobuf:"bytes,3,opt,name=get_block_hashes_request,json=getBlockHashesRequest,proto3,oneof"`
}
type Request_GetBlockNumberRequest ¶
type Request_GetBlockNumberRequest struct {
GetBlockNumberRequest *GetBlockNumberRequest `protobuf:"bytes,2,opt,name=get_block_number_request,json=getBlockNumberRequest,proto3,oneof"`
}
type Request_GetBlocksByHashesRequest ¶
type Request_GetBlocksByHashesRequest struct {
GetBlocksByHashesRequest *GetBlocksByHashesRequest `protobuf:"bytes,5,opt,name=get_blocks_by_hashes_request,json=getBlocksByHashesRequest,proto3,oneof"`
}
type Request_GetBlocksByNumRequest ¶
type Request_GetBlocksByNumRequest struct {
GetBlocksByNumRequest *GetBlocksByNumRequest `protobuf:"bytes,4,opt,name=get_blocks_by_num_request,json=getBlocksByNumRequest,proto3,oneof"`
}
type Response ¶
type Response struct { ReqId uint64 `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // Types that are assignable to Response: // *Response_ErrorResponse // *Response_GetBlockNumberResponse // *Response_GetBlockHashesResponse // *Response_GetBlocksByNumResponse // *Response_GetBlocksByHashesResponse Response isResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func MakeErrorResponse ¶
MakeErrorResponse makes the error response as a response
func MakeGetBlockHashesResponse ¶
MakeGetBlockHashesResponse makes the GetBlockHashes response
func MakeGetBlockNumberResponse ¶
MakeGetBlockNumberResponse makes the GetBlockNumber response
func MakeGetBlocksByHashesResponse ¶
MakeGetBlocksByHashesResponse make the GetBlocksByHashesResponse of Response type
func MakeGetBlocksByNumResponse ¶
MakeGetBlocksByNumResponseMessage make the GetBlocksByNumResponse of Response type
func (*Response) Descriptor
deprecated
func (*Response) GetErrorResponse ¶
func (x *Response) GetErrorResponse() *ErrorResponse
func (*Response) GetGetBlockHashesResponse ¶
func (x *Response) GetGetBlockHashesResponse() *GetBlockHashesResponse
func (*Response) GetGetBlockNumberResponse ¶
func (x *Response) GetGetBlockNumberResponse() *GetBlockNumberResponse
func (*Response) GetGetBlocksByHashesResponse ¶
func (x *Response) GetGetBlocksByHashesResponse() *GetBlocksByHashesResponse
func (*Response) GetGetBlocksByNumResponse ¶
func (x *Response) GetGetBlocksByNumResponse() *GetBlocksByNumResponse
func (*Response) GetResponse ¶
func (m *Response) GetResponse() isResponse_Response
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseError ¶
type ResponseError struct {
// contains filtered or unexported fields
}
ResponseError is the error from an error response
func (*ResponseError) Error ¶
func (err *ResponseError) Error() string
Error is the error string of ResponseError
type Response_ErrorResponse ¶
type Response_ErrorResponse struct {
ErrorResponse *ErrorResponse `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,proto3,oneof"`
}
type Response_GetBlockHashesResponse ¶
type Response_GetBlockHashesResponse struct {
GetBlockHashesResponse *GetBlockHashesResponse `protobuf:"bytes,4,opt,name=get_block_hashes_response,json=getBlockHashesResponse,proto3,oneof"`
}
type Response_GetBlockNumberResponse ¶
type Response_GetBlockNumberResponse struct {
GetBlockNumberResponse *GetBlockNumberResponse `protobuf:"bytes,3,opt,name=get_block_number_response,json=getBlockNumberResponse,proto3,oneof"`
}
type Response_GetBlocksByHashesResponse ¶
type Response_GetBlocksByHashesResponse struct {
GetBlocksByHashesResponse *GetBlocksByHashesResponse `protobuf:"bytes,6,opt,name=get_blocks_by_hashes_response,json=getBlocksByHashesResponse,proto3,oneof"`
}
type Response_GetBlocksByNumResponse ¶
type Response_GetBlocksByNumResponse struct {
GetBlocksByNumResponse *GetBlocksByNumResponse `protobuf:"bytes,5,opt,name=get_blocks_by_num_response,json=getBlocksByNumResponse,proto3,oneof"`
}