Documentation ¶
Index ¶
- Variables
- type AccountData
- type ErrorResponse
- type GetAccountRangeRequest
- func (*GetAccountRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRangeRequest) GetBytes() uint64
- func (x *GetAccountRangeRequest) GetLimit() []byte
- func (x *GetAccountRangeRequest) GetOrigin() []byte
- func (x *GetAccountRangeRequest) GetRoot() []byte
- func (*GetAccountRangeRequest) ProtoMessage()
- func (x *GetAccountRangeRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRangeRequest) Reset()
- func (x *GetAccountRangeRequest) String() string
- type GetAccountRangeResponse
- func (*GetAccountRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRangeResponse) GetAccounts() []*AccountData
- func (x *GetAccountRangeResponse) GetProof() [][]byte
- func (*GetAccountRangeResponse) ProtoMessage()
- func (x *GetAccountRangeResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountRangeResponse) Reset()
- func (x *GetAccountRangeResponse) String() string
- 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 GetByteCodesRequest
- func (*GetByteCodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByteCodesRequest) GetBytes() uint64
- func (x *GetByteCodesRequest) GetHashes() [][]byte
- func (*GetByteCodesRequest) ProtoMessage()
- func (x *GetByteCodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetByteCodesRequest) Reset()
- func (x *GetByteCodesRequest) String() string
- type GetByteCodesResponse
- func (*GetByteCodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByteCodesResponse) GetCodes() [][]byte
- func (*GetByteCodesResponse) ProtoMessage()
- func (x *GetByteCodesResponse) ProtoReflect() protoreflect.Message
- func (x *GetByteCodesResponse) Reset()
- func (x *GetByteCodesResponse) String() string
- type GetNodeDataRequest
- func (*GetNodeDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeDataRequest) GetNodeHashes() [][]byte
- func (*GetNodeDataRequest) ProtoMessage()
- func (x *GetNodeDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeDataRequest) Reset()
- func (x *GetNodeDataRequest) String() string
- type GetNodeDataResponse
- func (*GetNodeDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeDataResponse) GetDataBytes() [][]byte
- func (*GetNodeDataResponse) ProtoMessage()
- func (x *GetNodeDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeDataResponse) Reset()
- func (x *GetNodeDataResponse) String() string
- type GetReceiptsRequest
- func (*GetReceiptsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceiptsRequest) GetBlockHashes() [][]byte
- func (*GetReceiptsRequest) ProtoMessage()
- func (x *GetReceiptsRequest) ProtoReflect() protoreflect.Message
- func (x *GetReceiptsRequest) Reset()
- func (x *GetReceiptsRequest) String() string
- type GetReceiptsResponse
- func (*GetReceiptsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceiptsResponse) GetReceipts() map[uint64]*Receipts
- func (*GetReceiptsResponse) ProtoMessage()
- func (x *GetReceiptsResponse) ProtoReflect() protoreflect.Message
- func (x *GetReceiptsResponse) Reset()
- func (x *GetReceiptsResponse) String() string
- type GetStorageRangesRequest
- func (*GetStorageRangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStorageRangesRequest) GetAccounts() [][]byte
- func (x *GetStorageRangesRequest) GetBytes() uint64
- func (x *GetStorageRangesRequest) GetLimit() []byte
- func (x *GetStorageRangesRequest) GetOrigin() []byte
- func (x *GetStorageRangesRequest) GetRoot() []byte
- func (*GetStorageRangesRequest) ProtoMessage()
- func (x *GetStorageRangesRequest) ProtoReflect() protoreflect.Message
- func (x *GetStorageRangesRequest) Reset()
- func (x *GetStorageRangesRequest) String() string
- type GetStorageRangesResponse
- func (*GetStorageRangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStorageRangesResponse) GetProof() [][]byte
- func (x *GetStorageRangesResponse) GetSlots() []*StoragesData
- func (*GetStorageRangesResponse) ProtoMessage()
- func (x *GetStorageRangesResponse) ProtoReflect() protoreflect.Message
- func (x *GetStorageRangesResponse) Reset()
- func (x *GetStorageRangesResponse) String() string
- type GetTrieNodesRequest
- func (*GetTrieNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrieNodesRequest) GetBytes() uint64
- func (x *GetTrieNodesRequest) GetPaths() []*TrieNodePathSet
- func (x *GetTrieNodesRequest) GetRoot() []byte
- func (*GetTrieNodesRequest) ProtoMessage()
- func (x *GetTrieNodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrieNodesRequest) Reset()
- func (x *GetTrieNodesRequest) String() string
- type GetTrieNodesResponse
- func (*GetTrieNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrieNodesResponse) GetNodes() [][]byte
- func (*GetTrieNodesResponse) ProtoMessage()
- func (x *GetTrieNodesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTrieNodesResponse) Reset()
- func (x *GetTrieNodesResponse) String() string
- type Message
- func MakeErrorResponseMessage(rid uint64, err error) *Message
- func MakeGetAccountRangeResponseMessage(rid uint64, accounts []*AccountData, proof [][]byte) *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 MakeGetByteCodesResponseMessage(rid uint64, codes [][]byte) *Message
- func MakeGetNodeDataResponseMessage(rid uint64, nodeData [][]byte) *Message
- func MakeGetReceiptsResponseMessage(rid uint64, receipts map[uint64]*Receipts) *Message
- func MakeGetStorageRangesResponseMessage(rid uint64, slots []*StoragesData, proof [][]byte) *Message
- func MakeGetTrieNodesResponseMessage(rid uint64, nodes [][]byte) *Message
- func MakeMessageFromRequest(req *Request) *Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (msg *Message) GetAccountRangesResponse() (*GetAccountRangeResponse, error)
- 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 (msg *Message) GetByteCodesResponse() (*GetByteCodesResponse, error)
- func (msg *Message) GetNodeDataResponse() (*GetNodeDataResponse, error)
- func (msg *Message) GetReceiptsResponse() (*GetReceiptsResponse, error)
- func (x *Message) GetReq() *Request
- func (m *Message) GetReqOrResp() isMessage_ReqOrResp
- func (x *Message) GetResp() *Response
- func (msg *Message) GetStorageRangesResponse() (*GetStorageRangesResponse, error)
- func (msg *Message) GetTrieNodesResponse() (*GetTrieNodesResponse, error)
- 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 Receipts
- type Request
- func MakeGetAccountRangeRequest(root common.Hash, origin common.Hash, limit common.Hash, bytes uint64) *Request
- func MakeGetBlockHashesRequest(bns []uint64) *Request
- func MakeGetBlockNumberRequest() *Request
- func MakeGetBlocksByHashesRequest(hashes []common.Hash) *Request
- func MakeGetBlocksByNumRequest(bns []uint64) *Request
- func MakeGetByteCodesRequest(hashes []common.Hash, bytes uint64) *Request
- func MakeGetNodeDataRequest(hashes []common.Hash) *Request
- func MakeGetReceiptsRequest(hashes []common.Hash) *Request
- func MakeGetStorageRangesRequest(root common.Hash, accounts []common.Hash, origin common.Hash, ...) *Request
- func MakeGetTrieNodesRequest(root common.Hash, paths []*TrieNodePathSet, bytes uint64) *Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetGetAccountRangeRequest() *GetAccountRangeRequest
- func (x *Request) GetGetBlockHashesRequest() *GetBlockHashesRequest
- func (x *Request) GetGetBlockNumberRequest() *GetBlockNumberRequest
- func (x *Request) GetGetBlocksByHashesRequest() *GetBlocksByHashesRequest
- func (x *Request) GetGetBlocksByNumRequest() *GetBlocksByNumRequest
- func (x *Request) GetGetByteCodesRequest() *GetByteCodesRequest
- func (x *Request) GetGetNodeDataRequest() *GetNodeDataRequest
- func (x *Request) GetGetReceiptsRequest() *GetReceiptsRequest
- func (x *Request) GetGetStorageRangesRequest() *GetStorageRangesRequest
- func (x *Request) GetGetTrieNodesRequest() *GetTrieNodesRequest
- 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_GetAccountRangeRequest
- type Request_GetBlockHashesRequest
- type Request_GetBlockNumberRequest
- type Request_GetBlocksByHashesRequest
- type Request_GetBlocksByNumRequest
- type Request_GetByteCodesRequest
- type Request_GetNodeDataRequest
- type Request_GetReceiptsRequest
- type Request_GetStorageRangesRequest
- type Request_GetTrieNodesRequest
- type Response
- func MakeErrorResponse(rid uint64, err error) *Response
- func MakeGetAccountRangeResponse(rid uint64, accounts []*AccountData, proof [][]byte) *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 MakeGetByteCodesResponse(rid uint64, codes [][]byte) *Response
- func MakeGetNodeDataResponse(rid uint64, nodeData [][]byte) *Response
- func MakeGetReceiptsResponse(rid uint64, receipts map[uint64]*Receipts) *Response
- func MakeGetStorageRangesResponse(rid uint64, slots []*StoragesData, proof [][]byte) *Response
- func MakeGetTrieNodesResponse(rid uint64, nodes [][]byte) *Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetErrorResponse() *ErrorResponse
- func (x *Response) GetGetAccountRangeResponse() *GetAccountRangeResponse
- func (x *Response) GetGetBlockHashesResponse() *GetBlockHashesResponse
- func (x *Response) GetGetBlockNumberResponse() *GetBlockNumberResponse
- func (x *Response) GetGetBlocksByHashesResponse() *GetBlocksByHashesResponse
- func (x *Response) GetGetBlocksByNumResponse() *GetBlocksByNumResponse
- func (x *Response) GetGetByteCodesResponse() *GetByteCodesResponse
- func (x *Response) GetGetNodeDataResponse() *GetNodeDataResponse
- func (x *Response) GetGetReceiptsResponse() *GetReceiptsResponse
- func (x *Response) GetGetStorageRangesResponse() *GetStorageRangesResponse
- func (x *Response) GetGetTrieNodesResponse() *GetTrieNodesResponse
- 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_GetAccountRangeResponse
- type Response_GetBlockHashesResponse
- type Response_GetBlockNumberResponse
- type Response_GetBlocksByHashesResponse
- type Response_GetBlocksByNumResponse
- type Response_GetByteCodesResponse
- type Response_GetNodeDataResponse
- type Response_GetReceiptsResponse
- type Response_GetStorageRangesResponse
- type Response_GetTrieNodesResponse
- type StorageData
- type StoragesData
- type TrieNodePathSet
Constants ¶
This section is empty.
Variables ¶
var File_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountData ¶
type AccountData struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*AccountData) Descriptor
deprecated
func (*AccountData) Descriptor() ([]byte, []int)
Deprecated: Use AccountData.ProtoReflect.Descriptor instead.
func (*AccountData) GetBody ¶
func (x *AccountData) GetBody() []byte
func (*AccountData) GetHash ¶
func (x *AccountData) GetHash() []byte
func (*AccountData) ProtoMessage ¶
func (*AccountData) ProtoMessage()
func (*AccountData) ProtoReflect ¶
func (x *AccountData) ProtoReflect() protoreflect.Message
func (*AccountData) Reset ¶
func (x *AccountData) Reset()
func (*AccountData) String ¶
func (x *AccountData) String() string
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 GetAccountRangeRequest ¶
type GetAccountRangeRequest struct { Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Origin []byte `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` Limit []byte `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` Bytes uint64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRangeRequest) Descriptor
deprecated
func (*GetAccountRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRangeRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRangeRequest) GetBytes ¶
func (x *GetAccountRangeRequest) GetBytes() uint64
func (*GetAccountRangeRequest) GetLimit ¶
func (x *GetAccountRangeRequest) GetLimit() []byte
func (*GetAccountRangeRequest) GetOrigin ¶
func (x *GetAccountRangeRequest) GetOrigin() []byte
func (*GetAccountRangeRequest) GetRoot ¶
func (x *GetAccountRangeRequest) GetRoot() []byte
func (*GetAccountRangeRequest) ProtoMessage ¶
func (*GetAccountRangeRequest) ProtoMessage()
func (*GetAccountRangeRequest) ProtoReflect ¶
func (x *GetAccountRangeRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRangeRequest) Reset ¶
func (x *GetAccountRangeRequest) Reset()
func (*GetAccountRangeRequest) String ¶
func (x *GetAccountRangeRequest) String() string
type GetAccountRangeResponse ¶
type GetAccountRangeResponse struct { Accounts []*AccountData `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` Proof [][]byte `protobuf:"bytes,2,rep,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRangeResponse) Descriptor
deprecated
func (*GetAccountRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRangeResponse.ProtoReflect.Descriptor instead.
func (*GetAccountRangeResponse) GetAccounts ¶
func (x *GetAccountRangeResponse) GetAccounts() []*AccountData
func (*GetAccountRangeResponse) GetProof ¶
func (x *GetAccountRangeResponse) GetProof() [][]byte
func (*GetAccountRangeResponse) ProtoMessage ¶
func (*GetAccountRangeResponse) ProtoMessage()
func (*GetAccountRangeResponse) ProtoReflect ¶
func (x *GetAccountRangeResponse) ProtoReflect() protoreflect.Message
func (*GetAccountRangeResponse) Reset ¶
func (x *GetAccountRangeResponse) Reset()
func (*GetAccountRangeResponse) String ¶
func (x *GetAccountRangeResponse) 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 GetByteCodesRequest ¶
type GetByteCodesRequest struct { Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` Bytes uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*GetByteCodesRequest) Descriptor
deprecated
func (*GetByteCodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByteCodesRequest.ProtoReflect.Descriptor instead.
func (*GetByteCodesRequest) GetBytes ¶
func (x *GetByteCodesRequest) GetBytes() uint64
func (*GetByteCodesRequest) GetHashes ¶
func (x *GetByteCodesRequest) GetHashes() [][]byte
func (*GetByteCodesRequest) ProtoMessage ¶
func (*GetByteCodesRequest) ProtoMessage()
func (*GetByteCodesRequest) ProtoReflect ¶
func (x *GetByteCodesRequest) ProtoReflect() protoreflect.Message
func (*GetByteCodesRequest) Reset ¶
func (x *GetByteCodesRequest) Reset()
func (*GetByteCodesRequest) String ¶
func (x *GetByteCodesRequest) String() string
type GetByteCodesResponse ¶
type GetByteCodesResponse struct { Codes [][]byte `protobuf:"bytes,1,rep,name=codes,proto3" json:"codes,omitempty"` // contains filtered or unexported fields }
func (*GetByteCodesResponse) Descriptor
deprecated
func (*GetByteCodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByteCodesResponse.ProtoReflect.Descriptor instead.
func (*GetByteCodesResponse) GetCodes ¶
func (x *GetByteCodesResponse) GetCodes() [][]byte
func (*GetByteCodesResponse) ProtoMessage ¶
func (*GetByteCodesResponse) ProtoMessage()
func (*GetByteCodesResponse) ProtoReflect ¶
func (x *GetByteCodesResponse) ProtoReflect() protoreflect.Message
func (*GetByteCodesResponse) Reset ¶
func (x *GetByteCodesResponse) Reset()
func (*GetByteCodesResponse) String ¶
func (x *GetByteCodesResponse) String() string
type GetNodeDataRequest ¶
type GetNodeDataRequest struct { NodeHashes [][]byte `protobuf:"bytes,1,rep,name=node_hashes,json=nodeHashes,proto3" json:"node_hashes,omitempty"` // contains filtered or unexported fields }
func (*GetNodeDataRequest) Descriptor
deprecated
func (*GetNodeDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeDataRequest.ProtoReflect.Descriptor instead.
func (*GetNodeDataRequest) GetNodeHashes ¶
func (x *GetNodeDataRequest) GetNodeHashes() [][]byte
func (*GetNodeDataRequest) ProtoMessage ¶
func (*GetNodeDataRequest) ProtoMessage()
func (*GetNodeDataRequest) ProtoReflect ¶
func (x *GetNodeDataRequest) ProtoReflect() protoreflect.Message
func (*GetNodeDataRequest) Reset ¶
func (x *GetNodeDataRequest) Reset()
func (*GetNodeDataRequest) String ¶
func (x *GetNodeDataRequest) String() string
type GetNodeDataResponse ¶
type GetNodeDataResponse struct { DataBytes [][]byte `protobuf:"bytes,1,rep,name=data_bytes,json=dataBytes,proto3" json:"data_bytes,omitempty"` // contains filtered or unexported fields }
func (*GetNodeDataResponse) Descriptor
deprecated
func (*GetNodeDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeDataResponse.ProtoReflect.Descriptor instead.
func (*GetNodeDataResponse) GetDataBytes ¶
func (x *GetNodeDataResponse) GetDataBytes() [][]byte
func (*GetNodeDataResponse) ProtoMessage ¶
func (*GetNodeDataResponse) ProtoMessage()
func (*GetNodeDataResponse) ProtoReflect ¶
func (x *GetNodeDataResponse) ProtoReflect() protoreflect.Message
func (*GetNodeDataResponse) Reset ¶
func (x *GetNodeDataResponse) Reset()
func (*GetNodeDataResponse) String ¶
func (x *GetNodeDataResponse) String() string
type GetReceiptsRequest ¶
type GetReceiptsRequest struct { BlockHashes [][]byte `protobuf:"bytes,1,rep,name=block_hashes,json=blockHashes,proto3" json:"block_hashes,omitempty"` // contains filtered or unexported fields }
func (*GetReceiptsRequest) Descriptor
deprecated
func (*GetReceiptsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReceiptsRequest.ProtoReflect.Descriptor instead.
func (*GetReceiptsRequest) GetBlockHashes ¶
func (x *GetReceiptsRequest) GetBlockHashes() [][]byte
func (*GetReceiptsRequest) ProtoMessage ¶
func (*GetReceiptsRequest) ProtoMessage()
func (*GetReceiptsRequest) ProtoReflect ¶
func (x *GetReceiptsRequest) ProtoReflect() protoreflect.Message
func (*GetReceiptsRequest) Reset ¶
func (x *GetReceiptsRequest) Reset()
func (*GetReceiptsRequest) String ¶
func (x *GetReceiptsRequest) String() string
type GetReceiptsResponse ¶
type GetReceiptsResponse struct { Receipts map[uint64]*Receipts `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetReceiptsResponse) Descriptor
deprecated
func (*GetReceiptsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReceiptsResponse.ProtoReflect.Descriptor instead.
func (*GetReceiptsResponse) GetReceipts ¶
func (x *GetReceiptsResponse) GetReceipts() map[uint64]*Receipts
func (*GetReceiptsResponse) ProtoMessage ¶
func (*GetReceiptsResponse) ProtoMessage()
func (*GetReceiptsResponse) ProtoReflect ¶
func (x *GetReceiptsResponse) ProtoReflect() protoreflect.Message
func (*GetReceiptsResponse) Reset ¶
func (x *GetReceiptsResponse) Reset()
func (*GetReceiptsResponse) String ¶
func (x *GetReceiptsResponse) String() string
type GetStorageRangesRequest ¶
type GetStorageRangesRequest struct { Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Accounts [][]byte `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` Origin []byte `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` Limit []byte `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"` Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*GetStorageRangesRequest) Descriptor
deprecated
func (*GetStorageRangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStorageRangesRequest.ProtoReflect.Descriptor instead.
func (*GetStorageRangesRequest) GetAccounts ¶
func (x *GetStorageRangesRequest) GetAccounts() [][]byte
func (*GetStorageRangesRequest) GetBytes ¶
func (x *GetStorageRangesRequest) GetBytes() uint64
func (*GetStorageRangesRequest) GetLimit ¶
func (x *GetStorageRangesRequest) GetLimit() []byte
func (*GetStorageRangesRequest) GetOrigin ¶
func (x *GetStorageRangesRequest) GetOrigin() []byte
func (*GetStorageRangesRequest) GetRoot ¶
func (x *GetStorageRangesRequest) GetRoot() []byte
func (*GetStorageRangesRequest) ProtoMessage ¶
func (*GetStorageRangesRequest) ProtoMessage()
func (*GetStorageRangesRequest) ProtoReflect ¶
func (x *GetStorageRangesRequest) ProtoReflect() protoreflect.Message
func (*GetStorageRangesRequest) Reset ¶
func (x *GetStorageRangesRequest) Reset()
func (*GetStorageRangesRequest) String ¶
func (x *GetStorageRangesRequest) String() string
type GetStorageRangesResponse ¶
type GetStorageRangesResponse struct { Slots []*StoragesData `protobuf:"bytes,1,rep,name=slots,proto3" json:"slots,omitempty"` Proof [][]byte `protobuf:"bytes,2,rep,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*GetStorageRangesResponse) Descriptor
deprecated
func (*GetStorageRangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStorageRangesResponse.ProtoReflect.Descriptor instead.
func (*GetStorageRangesResponse) GetProof ¶
func (x *GetStorageRangesResponse) GetProof() [][]byte
func (*GetStorageRangesResponse) GetSlots ¶
func (x *GetStorageRangesResponse) GetSlots() []*StoragesData
func (*GetStorageRangesResponse) ProtoMessage ¶
func (*GetStorageRangesResponse) ProtoMessage()
func (*GetStorageRangesResponse) ProtoReflect ¶
func (x *GetStorageRangesResponse) ProtoReflect() protoreflect.Message
func (*GetStorageRangesResponse) Reset ¶
func (x *GetStorageRangesResponse) Reset()
func (*GetStorageRangesResponse) String ¶
func (x *GetStorageRangesResponse) String() string
type GetTrieNodesRequest ¶
type GetTrieNodesRequest struct { Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Paths []*TrieNodePathSet `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*GetTrieNodesRequest) Descriptor
deprecated
func (*GetTrieNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTrieNodesRequest.ProtoReflect.Descriptor instead.
func (*GetTrieNodesRequest) GetBytes ¶
func (x *GetTrieNodesRequest) GetBytes() uint64
func (*GetTrieNodesRequest) GetPaths ¶
func (x *GetTrieNodesRequest) GetPaths() []*TrieNodePathSet
func (*GetTrieNodesRequest) GetRoot ¶
func (x *GetTrieNodesRequest) GetRoot() []byte
func (*GetTrieNodesRequest) ProtoMessage ¶
func (*GetTrieNodesRequest) ProtoMessage()
func (*GetTrieNodesRequest) ProtoReflect ¶
func (x *GetTrieNodesRequest) ProtoReflect() protoreflect.Message
func (*GetTrieNodesRequest) Reset ¶
func (x *GetTrieNodesRequest) Reset()
func (*GetTrieNodesRequest) String ¶
func (x *GetTrieNodesRequest) String() string
type GetTrieNodesResponse ¶
type GetTrieNodesResponse struct { Nodes [][]byte `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetTrieNodesResponse) Descriptor
deprecated
func (*GetTrieNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTrieNodesResponse.ProtoReflect.Descriptor instead.
func (*GetTrieNodesResponse) GetNodes ¶
func (x *GetTrieNodesResponse) GetNodes() [][]byte
func (*GetTrieNodesResponse) ProtoMessage ¶
func (*GetTrieNodesResponse) ProtoMessage()
func (*GetTrieNodesResponse) ProtoReflect ¶
func (x *GetTrieNodesResponse) ProtoReflect() protoreflect.Message
func (*GetTrieNodesResponse) Reset ¶
func (x *GetTrieNodesResponse) Reset()
func (*GetTrieNodesResponse) String ¶
func (x *GetTrieNodesResponse) 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 MakeGetAccountRangeResponseMessage ¶
func MakeGetAccountRangeResponseMessage(rid uint64, accounts []*AccountData, proof [][]byte) *Message
MakeGetAccountRangeResponseMessage makes the GetAccountRangeResponse of Message type
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 MakeGetByteCodesResponseMessage ¶
MakeGetByteCodesResponseMessage makes the GetByteCodesResponse of Message type
func MakeGetNodeDataResponseMessage ¶
MakeGetNodeDataResponseMessage makes the GetNodeDataResponse of Message type
func MakeGetReceiptsResponseMessage ¶
MakeGetReceiptsResponseMessage makes the GetReceiptsResponse of Message type
func MakeGetStorageRangesResponseMessage ¶
func MakeGetStorageRangesResponseMessage(rid uint64, slots []*StoragesData, proof [][]byte) *Message
MakeGetStorageRangesResponseMessage makes the GetStorageRangesResponse of Message type
func MakeGetTrieNodesResponseMessage ¶
MakeGetTrieNodesResponseMessage makes the GetTrieNodesResponse of Message type
func MakeMessageFromRequest ¶
MakeMessageFromRequest makes a message from the request
func (*Message) Descriptor
deprecated
func (*Message) GetAccountRangesResponse ¶
func (msg *Message) GetAccountRangesResponse() (*GetAccountRangeResponse, error)
GetAccountRangesResponse parse the message to GetAccountRangesResponse
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) GetByteCodesResponse ¶
func (msg *Message) GetByteCodesResponse() (*GetByteCodesResponse, error)
GetByteCodesResponse parse the message to GetByteCodesResponse
func (*Message) GetNodeDataResponse ¶
func (msg *Message) GetNodeDataResponse() (*GetNodeDataResponse, error)
GetNodeDataResponse parse the message to GetNodeDataResponse
func (*Message) GetReceiptsResponse ¶
func (msg *Message) GetReceiptsResponse() (*GetReceiptsResponse, error)
GetReceiptsResponse parse the message to GetReceiptsResponse
func (*Message) GetReqOrResp ¶
func (m *Message) GetReqOrResp() isMessage_ReqOrResp
func (*Message) GetStorageRangesResponse ¶
func (msg *Message) GetStorageRangesResponse() (*GetStorageRangesResponse, error)
GetStorageRangesResponse parse the message to GetStorageRangesResponse
func (*Message) GetTrieNodesResponse ¶
func (msg *Message) GetTrieNodesResponse() (*GetTrieNodesResponse, error)
GetTrieNodesResponse parse the message to GetTrieNodesResponse
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 Receipts ¶
type Receipts struct { ReceiptBytes [][]byte `protobuf:"bytes,1,rep,name=receipt_bytes,json=receiptBytes,proto3" json:"receipt_bytes,omitempty"` // contains filtered or unexported fields }
func (*Receipts) Descriptor
deprecated
func (*Receipts) GetReceiptBytes ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) ProtoReflect ¶
func (x *Receipts) ProtoReflect() protoreflect.Message
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_GetNodeDataRequest // *Request_GetReceiptsRequest // *Request_GetAccountRangeRequest // *Request_GetStorageRangesRequest // *Request_GetByteCodesRequest // *Request_GetTrieNodesRequest Request isRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func MakeGetAccountRangeRequest ¶
func MakeGetAccountRangeRequest(root common.Hash, origin common.Hash, limit common.Hash, bytes uint64) *Request
MakeGetAccountRangeRequest makes the GetAccountRange request
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 MakeGetByteCodesRequest ¶
MakeGetByteCodesRequest makes the GetByteCodes request
func MakeGetNodeDataRequest ¶
MakeGetNodeDataRequest makes the GetNodeData request
func MakeGetReceiptsRequest ¶
MakeGetReceiptsRequest makes the GetReceipts request
func MakeGetStorageRangesRequest ¶
func MakeGetStorageRangesRequest(root common.Hash, accounts []common.Hash, origin common.Hash, limit common.Hash, bytes uint64) *Request
MakeGetStorageRangesRequest makes the GetStorageRanges request
func MakeGetTrieNodesRequest ¶
func MakeGetTrieNodesRequest(root common.Hash, paths []*TrieNodePathSet, bytes uint64) *Request
MakeGetTrieNodesRequest makes the GetTrieNodes request
func (*Request) Descriptor
deprecated
func (*Request) GetGetAccountRangeRequest ¶
func (x *Request) GetGetAccountRangeRequest() *GetAccountRangeRequest
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) GetGetByteCodesRequest ¶
func (x *Request) GetGetByteCodesRequest() *GetByteCodesRequest
func (*Request) GetGetNodeDataRequest ¶
func (x *Request) GetGetNodeDataRequest() *GetNodeDataRequest
func (*Request) GetGetReceiptsRequest ¶
func (x *Request) GetGetReceiptsRequest() *GetReceiptsRequest
func (*Request) GetGetStorageRangesRequest ¶
func (x *Request) GetGetStorageRangesRequest() *GetStorageRangesRequest
func (*Request) GetGetTrieNodesRequest ¶
func (x *Request) GetGetTrieNodesRequest() *GetTrieNodesRequest
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_GetAccountRangeRequest ¶
type Request_GetAccountRangeRequest struct {
GetAccountRangeRequest *GetAccountRangeRequest `protobuf:"bytes,8,opt,name=get_account_range_request,json=getAccountRangeRequest,proto3,oneof"`
}
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 Request_GetByteCodesRequest ¶
type Request_GetByteCodesRequest struct {
GetByteCodesRequest *GetByteCodesRequest `protobuf:"bytes,10,opt,name=get_byte_codes_request,json=getByteCodesRequest,proto3,oneof"`
}
type Request_GetNodeDataRequest ¶
type Request_GetNodeDataRequest struct {
GetNodeDataRequest *GetNodeDataRequest `protobuf:"bytes,6,opt,name=get_node_data_request,json=getNodeDataRequest,proto3,oneof"`
}
type Request_GetReceiptsRequest ¶
type Request_GetReceiptsRequest struct {
GetReceiptsRequest *GetReceiptsRequest `protobuf:"bytes,7,opt,name=get_receipts_request,json=getReceiptsRequest,proto3,oneof"`
}
type Request_GetStorageRangesRequest ¶
type Request_GetStorageRangesRequest struct {
GetStorageRangesRequest *GetStorageRangesRequest `protobuf:"bytes,9,opt,name=get_storage_ranges_request,json=getStorageRangesRequest,proto3,oneof"`
}
type Request_GetTrieNodesRequest ¶
type Request_GetTrieNodesRequest struct {
GetTrieNodesRequest *GetTrieNodesRequest `protobuf:"bytes,11,opt,name=get_trie_nodes_request,json=getTrieNodesRequest,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_GetNodeDataResponse // *Response_GetReceiptsResponse // *Response_GetAccountRangeResponse // *Response_GetStorageRangesResponse // *Response_GetByteCodesResponse // *Response_GetTrieNodesResponse Response isResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func MakeErrorResponse ¶
MakeErrorResponse makes the error response as a response
func MakeGetAccountRangeResponse ¶
func MakeGetAccountRangeResponse(rid uint64, accounts []*AccountData, proof [][]byte) *Response
MakeGetAccountRangeResponse make the GetAccountRangeResponse of Response type
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 MakeGetByteCodesResponse ¶
MakeGetByteCodesResponse make the GetByteCodesResponse of Response type
func MakeGetNodeDataResponse ¶
MakeGetNodeDataResponse make the GetNodeDataResponse of Response type
func MakeGetReceiptsResponse ¶
MakeGetReceiptsResponse make the GetReceiptsResponse of Response type
func MakeGetStorageRangesResponse ¶
func MakeGetStorageRangesResponse(rid uint64, slots []*StoragesData, proof [][]byte) *Response
MakeGetStorageRangesResponse make the GetStorageRangesResponse of Response type
func MakeGetTrieNodesResponse ¶
MakeGetTrieNodesResponse make the GetTrieNodesResponse of Response type
func (*Response) Descriptor
deprecated
func (*Response) GetErrorResponse ¶
func (x *Response) GetErrorResponse() *ErrorResponse
func (*Response) GetGetAccountRangeResponse ¶
func (x *Response) GetGetAccountRangeResponse() *GetAccountRangeResponse
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) GetGetByteCodesResponse ¶
func (x *Response) GetGetByteCodesResponse() *GetByteCodesResponse
func (*Response) GetGetNodeDataResponse ¶
func (x *Response) GetGetNodeDataResponse() *GetNodeDataResponse
func (*Response) GetGetReceiptsResponse ¶
func (x *Response) GetGetReceiptsResponse() *GetReceiptsResponse
func (*Response) GetGetStorageRangesResponse ¶
func (x *Response) GetGetStorageRangesResponse() *GetStorageRangesResponse
func (*Response) GetGetTrieNodesResponse ¶
func (x *Response) GetGetTrieNodesResponse() *GetTrieNodesResponse
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_GetAccountRangeResponse ¶
type Response_GetAccountRangeResponse struct {
GetAccountRangeResponse *GetAccountRangeResponse `protobuf:"bytes,9,opt,name=get_account_range_response,json=getAccountRangeResponse,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"`
}
type Response_GetByteCodesResponse ¶
type Response_GetByteCodesResponse struct {
GetByteCodesResponse *GetByteCodesResponse `protobuf:"bytes,11,opt,name=get_byte_codes_response,json=getByteCodesResponse,proto3,oneof"`
}
type Response_GetNodeDataResponse ¶
type Response_GetNodeDataResponse struct {
GetNodeDataResponse *GetNodeDataResponse `protobuf:"bytes,7,opt,name=get_node_data_response,json=getNodeDataResponse,proto3,oneof"`
}
type Response_GetReceiptsResponse ¶
type Response_GetReceiptsResponse struct {
GetReceiptsResponse *GetReceiptsResponse `protobuf:"bytes,8,opt,name=get_receipts_response,json=getReceiptsResponse,proto3,oneof"`
}
type Response_GetStorageRangesResponse ¶
type Response_GetStorageRangesResponse struct {
GetStorageRangesResponse *GetStorageRangesResponse `protobuf:"bytes,10,opt,name=get_storage_ranges_response,json=getStorageRangesResponse,proto3,oneof"`
}
type Response_GetTrieNodesResponse ¶
type Response_GetTrieNodesResponse struct {
GetTrieNodesResponse *GetTrieNodesResponse `protobuf:"bytes,12,opt,name=get_trie_nodes_response,json=getTrieNodesResponse,proto3,oneof"`
}
type StorageData ¶
type StorageData struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*StorageData) Descriptor
deprecated
func (*StorageData) Descriptor() ([]byte, []int)
Deprecated: Use StorageData.ProtoReflect.Descriptor instead.
func (*StorageData) GetBody ¶
func (x *StorageData) GetBody() []byte
func (*StorageData) GetHash ¶
func (x *StorageData) GetHash() []byte
func (*StorageData) ProtoMessage ¶
func (*StorageData) ProtoMessage()
func (*StorageData) ProtoReflect ¶
func (x *StorageData) ProtoReflect() protoreflect.Message
func (*StorageData) Reset ¶
func (x *StorageData) Reset()
func (*StorageData) String ¶
func (x *StorageData) String() string
type StoragesData ¶
type StoragesData struct { Data []*StorageData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*StoragesData) Descriptor
deprecated
func (*StoragesData) Descriptor() ([]byte, []int)
Deprecated: Use StoragesData.ProtoReflect.Descriptor instead.
func (*StoragesData) GetData ¶
func (x *StoragesData) GetData() []*StorageData
func (*StoragesData) ProtoMessage ¶
func (*StoragesData) ProtoMessage()
func (*StoragesData) ProtoReflect ¶
func (x *StoragesData) ProtoReflect() protoreflect.Message
func (*StoragesData) Reset ¶
func (x *StoragesData) Reset()
func (*StoragesData) String ¶
func (x *StoragesData) String() string
type TrieNodePathSet ¶
type TrieNodePathSet struct { Pathset [][]byte `protobuf:"bytes,1,rep,name=pathset,proto3" json:"pathset,omitempty"` // contains filtered or unexported fields }
func (*TrieNodePathSet) Descriptor
deprecated
func (*TrieNodePathSet) Descriptor() ([]byte, []int)
Deprecated: Use TrieNodePathSet.ProtoReflect.Descriptor instead.
func (*TrieNodePathSet) GetPathset ¶
func (x *TrieNodePathSet) GetPathset() [][]byte
func (*TrieNodePathSet) ProtoMessage ¶
func (*TrieNodePathSet) ProtoMessage()
func (*TrieNodePathSet) ProtoReflect ¶
func (x *TrieNodePathSet) ProtoReflect() protoreflect.Message
func (*TrieNodePathSet) Reset ¶
func (x *TrieNodePathSet) Reset()
func (*TrieNodePathSet) String ¶
func (x *TrieNodePathSet) String() string