Documentation
¶
Index ¶
- Variables
- func RegisterBorApiServer(s grpc.ServiceRegistrar, srv BorApiServer)
- type Block
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetAuthor() *common.H160
- func (x *BlockInfo) GetHeader() *Header
- func (x *BlockInfo) GetTotalDifficulty() uint64
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type Bloom
- type BorApiClient
- type BorApiServer
- type GetAuthorRequest
- type GetAuthorResponse
- func (*GetAuthorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorResponse) GetAuthor() *common.H160
- func (*GetAuthorResponse) ProtoMessage()
- func (x *GetAuthorResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthorResponse) Reset()
- func (x *GetAuthorResponse) String() string
- type GetBlockByNumberRequest
- func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByNumberRequest) GetNumber() string
- func (*GetBlockByNumberRequest) ProtoMessage()
- func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByNumberRequest) Reset()
- func (x *GetBlockByNumberRequest) String() string
- type GetBlockByNumberResponse
- func (*GetBlockByNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByNumberResponse) GetBlock() *Block
- func (*GetBlockByNumberResponse) ProtoMessage()
- func (x *GetBlockByNumberResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockByNumberResponse) Reset()
- func (x *GetBlockByNumberResponse) String() string
- type GetBlockInfoInBatchRequest
- func (*GetBlockInfoInBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockInfoInBatchRequest) GetEndBlockNumber() uint64
- func (x *GetBlockInfoInBatchRequest) GetStartBlockNumber() uint64
- func (*GetBlockInfoInBatchRequest) ProtoMessage()
- func (x *GetBlockInfoInBatchRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockInfoInBatchRequest) Reset()
- func (x *GetBlockInfoInBatchRequest) String() string
- type GetBlockInfoInBatchResponse
- func (*GetBlockInfoInBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockInfoInBatchResponse) GetBlocks() []*BlockInfo
- func (*GetBlockInfoInBatchResponse) ProtoMessage()
- func (x *GetBlockInfoInBatchResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockInfoInBatchResponse) Reset()
- func (x *GetBlockInfoInBatchResponse) String() string
- type GetHeaderByNumberRequest
- func (*GetHeaderByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderByNumberRequest) GetNumber() string
- func (*GetHeaderByNumberRequest) ProtoMessage()
- func (x *GetHeaderByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeaderByNumberRequest) Reset()
- func (x *GetHeaderByNumberRequest) String() string
- type GetHeaderByNumberResponse
- func (*GetHeaderByNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderByNumberResponse) GetHeader() *Header
- func (*GetHeaderByNumberResponse) ProtoMessage()
- func (x *GetHeaderByNumberResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeaderByNumberResponse) Reset()
- func (x *GetHeaderByNumberResponse) String() string
- type GetRootHashRequest
- func (*GetRootHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootHashRequest) GetEndBlockNumber() uint64
- func (x *GetRootHashRequest) GetStartBlockNumber() uint64
- func (*GetRootHashRequest) ProtoMessage()
- func (x *GetRootHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetRootHashRequest) Reset()
- func (x *GetRootHashRequest) String() string
- type GetRootHashResponse
- func (*GetRootHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootHashResponse) GetRootHash() string
- func (*GetRootHashResponse) ProtoMessage()
- func (x *GetRootHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetRootHashResponse) Reset()
- func (x *GetRootHashResponse) String() string
- type GetStartBlockHeimdallSpanIDRequest
- func (*GetStartBlockHeimdallSpanIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStartBlockHeimdallSpanIDRequest) GetStartBlock() uint64
- func (*GetStartBlockHeimdallSpanIDRequest) ProtoMessage()
- func (x *GetStartBlockHeimdallSpanIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetStartBlockHeimdallSpanIDRequest) Reset()
- func (x *GetStartBlockHeimdallSpanIDRequest) String() string
- type GetStartBlockHeimdallSpanIDResponse
- func (*GetStartBlockHeimdallSpanIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStartBlockHeimdallSpanIDResponse) GetHeimdallSpanID() uint64
- func (x *GetStartBlockHeimdallSpanIDResponse) GetStartBlock() uint64
- func (*GetStartBlockHeimdallSpanIDResponse) ProtoMessage()
- func (x *GetStartBlockHeimdallSpanIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetStartBlockHeimdallSpanIDResponse) Reset()
- func (x *GetStartBlockHeimdallSpanIDResponse) String() string
- type GetTdByHashRequest
- func (*GetTdByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTdByHashRequest) GetHash() *common.H256
- func (*GetTdByHashRequest) ProtoMessage()
- func (x *GetTdByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetTdByHashRequest) Reset()
- func (x *GetTdByHashRequest) String() string
- type GetTdByNumberRequest
- func (*GetTdByNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTdByNumberRequest) GetNumber() string
- func (*GetTdByNumberRequest) ProtoMessage()
- func (x *GetTdByNumberRequest) ProtoReflect() protoreflect.Message
- func (x *GetTdByNumberRequest) Reset()
- func (x *GetTdByNumberRequest) String() string
- type GetTdResponse
- type GetVoteOnHashRequest
- func (*GetVoteOnHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoteOnHashRequest) GetEndBlockNumber() uint64
- func (x *GetVoteOnHashRequest) GetHash() string
- func (x *GetVoteOnHashRequest) GetMilestoneId() string
- func (x *GetVoteOnHashRequest) GetStartBlockNumber() uint64
- func (*GetVoteOnHashRequest) ProtoMessage()
- func (x *GetVoteOnHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetVoteOnHashRequest) Reset()
- func (x *GetVoteOnHashRequest) String() string
- type GetVoteOnHashResponse
- func (*GetVoteOnHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVoteOnHashResponse) GetResponse() bool
- func (*GetVoteOnHashResponse) ProtoMessage()
- func (x *GetVoteOnHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetVoteOnHashResponse) Reset()
- func (x *GetVoteOnHashResponse) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetBaseFee() []byte
- func (x *Header) GetBlobGasUsed() uint64
- func (x *Header) GetBloom() []byte
- func (x *Header) GetCoinbase() *common.H160
- func (x *Header) GetDifficulty() []byte
- func (x *Header) GetExcessBlobGas() uint64
- func (x *Header) GetExtraData() []byte
- func (x *Header) GetGasLimit() uint64
- func (x *Header) GetGasUsed() uint64
- func (x *Header) GetMixDigest() *common.H256
- func (x *Header) GetNonce() []byte
- func (x *Header) GetNumber() uint64
- func (x *Header) GetParentBeaconBlockRoot() *common.H256
- func (x *Header) GetParentHash() *common.H256
- func (x *Header) GetReceiptRoot() *common.H256
- func (x *Header) GetRequestsHash() *common.H256
- func (x *Header) GetStateRoot() *common.H256
- func (x *Header) GetTime() uint64
- func (x *Header) GetTxRoot() *common.H256
- func (x *Header) GetUncleHash() *common.H256
- func (x *Header) GetWithdrawalsHash() *common.H256
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() *common.H160
- func (x *Log) GetBlockHash() *common.H256
- func (x *Log) GetBlockNumber() uint64
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint64
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() []*common.H256
- func (x *Log) GetTxHash() *common.H256
- func (x *Log) GetTxIndex() uint64
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetBlobGasPrice() int64
- func (x *Receipt) GetBlobGasUsed() uint64
- func (x *Receipt) GetBlockHash() *common.H256
- func (x *Receipt) GetBlockNumber() int64
- func (x *Receipt) GetBloom() *Bloom
- func (x *Receipt) GetContractAddress() *common.H160
- func (x *Receipt) GetCumulativeGasUsed() uint64
- func (x *Receipt) GetEffectiveGasPrice() int64
- func (x *Receipt) GetGasUsed() uint64
- func (x *Receipt) GetLogs() []*Log
- func (x *Receipt) GetPostState() []byte
- func (x *Receipt) GetStatus() uint64
- func (x *Receipt) GetTransactionIndex() uint64
- func (x *Receipt) GetTxHash() *common.H256
- func (x *Receipt) GetType() uint64
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type ReceiptRequest
- type ReceiptResponse
- type UnimplementedBorApiServer
- func (UnimplementedBorApiServer) BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error)
- func (UnimplementedBorApiServer) BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
- func (UnimplementedBorApiServer) GetAuthor(context.Context, *GetAuthorRequest) (*GetAuthorResponse, error)
- func (UnimplementedBorApiServer) GetBlockInfoInBatch(context.Context, *GetBlockInfoInBatchRequest) (*GetBlockInfoInBatchResponse, error)
- func (UnimplementedBorApiServer) GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error)
- func (UnimplementedBorApiServer) GetStartBlockHeimdallSpanID(context.Context, *GetStartBlockHeimdallSpanIDRequest) (*GetStartBlockHeimdallSpanIDResponse, error)
- func (UnimplementedBorApiServer) GetTdByHash(context.Context, *GetTdByHashRequest) (*GetTdResponse, error)
- func (UnimplementedBorApiServer) GetTdByNumber(context.Context, *GetTdByNumberRequest) (*GetTdResponse, error)
- func (UnimplementedBorApiServer) GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error)
- func (UnimplementedBorApiServer) HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error)
- func (UnimplementedBorApiServer) TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
- type UnsafeBorApiServer
Constants ¶
This section is empty.
Variables ¶
var BorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bor.BorApi", HandlerType: (*BorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRootHash", Handler: _BorApi_GetRootHash_Handler, }, { MethodName: "GetVoteOnHash", Handler: _BorApi_GetVoteOnHash_Handler, }, { MethodName: "HeaderByNumber", Handler: _BorApi_HeaderByNumber_Handler, }, { MethodName: "BlockByNumber", Handler: _BorApi_BlockByNumber_Handler, }, { MethodName: "TransactionReceipt", Handler: _BorApi_TransactionReceipt_Handler, }, { MethodName: "BorBlockReceipt", Handler: _BorApi_BorBlockReceipt_Handler, }, { MethodName: "GetStartBlockHeimdallSpanID", Handler: _BorApi_GetStartBlockHeimdallSpanID_Handler, }, { MethodName: "GetAuthor", Handler: _BorApi_GetAuthor_Handler, }, { MethodName: "GetTdByHash", Handler: _BorApi_GetTdByHash_Handler, }, { MethodName: "GetTdByNumber", Handler: _BorApi_GetTdByNumber_Handler, }, { MethodName: "GetBlockInfoInBatch", Handler: _BorApi_GetBlockInfoInBatch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bor/bor.proto", }
BorApi_ServiceDesc is the grpc.ServiceDesc for BorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_bor_bor_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBorApiServer ¶
func RegisterBorApiServer(s grpc.ServiceRegistrar, srv BorApiServer)
Types ¶
type Block ¶
type Block struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
---- BLOCK ----
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockInfo ¶ added in v0.0.8
type BlockInfo struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
TotalDifficulty uint64 `protobuf:"varint,2,opt,name=totalDifficulty,proto3" json:"totalDifficulty,omitempty"`
Author *common.H160 `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
// contains filtered or unexported fields
}
func (*BlockInfo) Descriptor
deprecated
added in
v0.0.8
func (*BlockInfo) GetTotalDifficulty ¶ added in v0.0.8
func (*BlockInfo) ProtoMessage ¶ added in v0.0.8
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶ added in v0.0.8
func (x *BlockInfo) ProtoReflect() protoreflect.Message
type Bloom ¶
type Bloom struct {
Bloom []byte `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"`
// contains filtered or unexported fields
}
func (*Bloom) Descriptor
deprecated
func (*Bloom) ProtoMessage ¶
func (*Bloom) ProtoMessage()
func (*Bloom) ProtoReflect ¶
func (x *Bloom) ProtoReflect() protoreflect.Message
type BorApiClient ¶
type BorApiClient interface {
GetRootHash(ctx context.Context, in *GetRootHashRequest, opts ...grpc.CallOption) (*GetRootHashResponse, error)
GetVoteOnHash(ctx context.Context, in *GetVoteOnHashRequest, opts ...grpc.CallOption) (*GetVoteOnHashResponse, error)
HeaderByNumber(ctx context.Context, in *GetHeaderByNumberRequest, opts ...grpc.CallOption) (*GetHeaderByNumberResponse, error)
BlockByNumber(ctx context.Context, in *GetBlockByNumberRequest, opts ...grpc.CallOption) (*GetBlockByNumberResponse, error)
TransactionReceipt(ctx context.Context, in *ReceiptRequest, opts ...grpc.CallOption) (*ReceiptResponse, error)
BorBlockReceipt(ctx context.Context, in *ReceiptRequest, opts ...grpc.CallOption) (*ReceiptResponse, error)
GetStartBlockHeimdallSpanID(ctx context.Context, in *GetStartBlockHeimdallSpanIDRequest, opts ...grpc.CallOption) (*GetStartBlockHeimdallSpanIDResponse, error)
GetAuthor(ctx context.Context, in *GetAuthorRequest, opts ...grpc.CallOption) (*GetAuthorResponse, error)
GetTdByHash(ctx context.Context, in *GetTdByHashRequest, opts ...grpc.CallOption) (*GetTdResponse, error)
GetTdByNumber(ctx context.Context, in *GetTdByNumberRequest, opts ...grpc.CallOption) (*GetTdResponse, error)
GetBlockInfoInBatch(ctx context.Context, in *GetBlockInfoInBatchRequest, opts ...grpc.CallOption) (*GetBlockInfoInBatchResponse, error)
}
BorApiClient is the client API for BorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBorApiClient ¶
func NewBorApiClient(cc grpc.ClientConnInterface) BorApiClient
type BorApiServer ¶
type BorApiServer interface {
GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error)
GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error)
HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error)
BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error)
TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
GetStartBlockHeimdallSpanID(context.Context, *GetStartBlockHeimdallSpanIDRequest) (*GetStartBlockHeimdallSpanIDResponse, error)
GetAuthor(context.Context, *GetAuthorRequest) (*GetAuthorResponse, error)
GetTdByHash(context.Context, *GetTdByHashRequest) (*GetTdResponse, error)
GetTdByNumber(context.Context, *GetTdByNumberRequest) (*GetTdResponse, error)
GetBlockInfoInBatch(context.Context, *GetBlockInfoInBatchRequest) (*GetBlockInfoInBatchResponse, error)
// contains filtered or unexported methods
}
BorApiServer is the server API for BorApi service. All implementations must embed UnimplementedBorApiServer for forward compatibility
type GetAuthorRequest ¶ added in v0.0.8
type GetAuthorRequest struct {
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthorRequest) Descriptor
deprecated
added in
v0.0.8
func (*GetAuthorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorRequest) GetNumber ¶ added in v0.0.8
func (x *GetAuthorRequest) GetNumber() string
func (*GetAuthorRequest) ProtoMessage ¶ added in v0.0.8
func (*GetAuthorRequest) ProtoMessage()
func (*GetAuthorRequest) ProtoReflect ¶ added in v0.0.8
func (x *GetAuthorRequest) ProtoReflect() protoreflect.Message
func (*GetAuthorRequest) Reset ¶ added in v0.0.8
func (x *GetAuthorRequest) Reset()
func (*GetAuthorRequest) String ¶ added in v0.0.8
func (x *GetAuthorRequest) String() string
type GetAuthorResponse ¶ added in v0.0.8
type GetAuthorResponse struct {
Author *common.H160 `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthorResponse) Descriptor
deprecated
added in
v0.0.8
func (*GetAuthorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorResponse.ProtoReflect.Descriptor instead.
func (*GetAuthorResponse) GetAuthor ¶ added in v0.0.8
func (x *GetAuthorResponse) GetAuthor() *common.H160
func (*GetAuthorResponse) ProtoMessage ¶ added in v0.0.8
func (*GetAuthorResponse) ProtoMessage()
func (*GetAuthorResponse) ProtoReflect ¶ added in v0.0.8
func (x *GetAuthorResponse) ProtoReflect() protoreflect.Message
func (*GetAuthorResponse) Reset ¶ added in v0.0.8
func (x *GetAuthorResponse) Reset()
func (*GetAuthorResponse) String ¶ added in v0.0.8
func (x *GetAuthorResponse) String() string
type GetBlockByNumberRequest ¶
type GetBlockByNumberRequest struct {
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockByNumberRequest) Descriptor
deprecated
func (*GetBlockByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByNumberRequest) GetNumber ¶
func (x *GetBlockByNumberRequest) GetNumber() string
func (*GetBlockByNumberRequest) ProtoMessage ¶
func (*GetBlockByNumberRequest) ProtoMessage()
func (*GetBlockByNumberRequest) ProtoReflect ¶
func (x *GetBlockByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByNumberRequest) Reset ¶
func (x *GetBlockByNumberRequest) Reset()
func (*GetBlockByNumberRequest) String ¶
func (x *GetBlockByNumberRequest) String() string
type GetBlockByNumberResponse ¶
type GetBlockByNumberResponse struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockByNumberResponse) Descriptor
deprecated
func (*GetBlockByNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByNumberResponse.ProtoReflect.Descriptor instead.
func (*GetBlockByNumberResponse) GetBlock ¶
func (x *GetBlockByNumberResponse) GetBlock() *Block
func (*GetBlockByNumberResponse) ProtoMessage ¶
func (*GetBlockByNumberResponse) ProtoMessage()
func (*GetBlockByNumberResponse) ProtoReflect ¶
func (x *GetBlockByNumberResponse) ProtoReflect() protoreflect.Message
func (*GetBlockByNumberResponse) Reset ¶
func (x *GetBlockByNumberResponse) Reset()
func (*GetBlockByNumberResponse) String ¶
func (x *GetBlockByNumberResponse) String() string
type GetBlockInfoInBatchRequest ¶ added in v0.0.8
type GetBlockInfoInBatchRequest struct {
StartBlockNumber uint64 `protobuf:"varint,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"`
EndBlockNumber uint64 `protobuf:"varint,2,opt,name=endBlockNumber,proto3" json:"endBlockNumber,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockInfoInBatchRequest) Descriptor
deprecated
added in
v0.0.8
func (*GetBlockInfoInBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockInfoInBatchRequest.ProtoReflect.Descriptor instead.
func (*GetBlockInfoInBatchRequest) GetEndBlockNumber ¶ added in v0.0.8
func (x *GetBlockInfoInBatchRequest) GetEndBlockNumber() uint64
func (*GetBlockInfoInBatchRequest) GetStartBlockNumber ¶ added in v0.0.8
func (x *GetBlockInfoInBatchRequest) GetStartBlockNumber() uint64
func (*GetBlockInfoInBatchRequest) ProtoMessage ¶ added in v0.0.8
func (*GetBlockInfoInBatchRequest) ProtoMessage()
func (*GetBlockInfoInBatchRequest) ProtoReflect ¶ added in v0.0.8
func (x *GetBlockInfoInBatchRequest) ProtoReflect() protoreflect.Message
func (*GetBlockInfoInBatchRequest) Reset ¶ added in v0.0.8
func (x *GetBlockInfoInBatchRequest) Reset()
func (*GetBlockInfoInBatchRequest) String ¶ added in v0.0.8
func (x *GetBlockInfoInBatchRequest) String() string
type GetBlockInfoInBatchResponse ¶ added in v0.0.8
type GetBlockInfoInBatchResponse struct {
Blocks []*BlockInfo `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockInfoInBatchResponse) Descriptor
deprecated
added in
v0.0.8
func (*GetBlockInfoInBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockInfoInBatchResponse.ProtoReflect.Descriptor instead.
func (*GetBlockInfoInBatchResponse) GetBlocks ¶ added in v0.0.8
func (x *GetBlockInfoInBatchResponse) GetBlocks() []*BlockInfo
func (*GetBlockInfoInBatchResponse) ProtoMessage ¶ added in v0.0.8
func (*GetBlockInfoInBatchResponse) ProtoMessage()
func (*GetBlockInfoInBatchResponse) ProtoReflect ¶ added in v0.0.8
func (x *GetBlockInfoInBatchResponse) ProtoReflect() protoreflect.Message
func (*GetBlockInfoInBatchResponse) Reset ¶ added in v0.0.8
func (x *GetBlockInfoInBatchResponse) Reset()
func (*GetBlockInfoInBatchResponse) String ¶ added in v0.0.8
func (x *GetBlockInfoInBatchResponse) String() string
type GetHeaderByNumberRequest ¶
type GetHeaderByNumberRequest struct {
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
func (*GetHeaderByNumberRequest) Descriptor
deprecated
func (*GetHeaderByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetHeaderByNumberRequest) GetNumber ¶
func (x *GetHeaderByNumberRequest) GetNumber() string
func (*GetHeaderByNumberRequest) ProtoMessage ¶
func (*GetHeaderByNumberRequest) ProtoMessage()
func (*GetHeaderByNumberRequest) ProtoReflect ¶
func (x *GetHeaderByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetHeaderByNumberRequest) Reset ¶
func (x *GetHeaderByNumberRequest) Reset()
func (*GetHeaderByNumberRequest) String ¶
func (x *GetHeaderByNumberRequest) String() string
type GetHeaderByNumberResponse ¶
type GetHeaderByNumberResponse struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
func (*GetHeaderByNumberResponse) Descriptor
deprecated
func (*GetHeaderByNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderByNumberResponse.ProtoReflect.Descriptor instead.
func (*GetHeaderByNumberResponse) GetHeader ¶
func (x *GetHeaderByNumberResponse) GetHeader() *Header
func (*GetHeaderByNumberResponse) ProtoMessage ¶
func (*GetHeaderByNumberResponse) ProtoMessage()
func (*GetHeaderByNumberResponse) ProtoReflect ¶
func (x *GetHeaderByNumberResponse) ProtoReflect() protoreflect.Message
func (*GetHeaderByNumberResponse) Reset ¶
func (x *GetHeaderByNumberResponse) Reset()
func (*GetHeaderByNumberResponse) String ¶
func (x *GetHeaderByNumberResponse) String() string
type GetRootHashRequest ¶
type GetRootHashRequest struct {
StartBlockNumber uint64 `protobuf:"varint,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"`
EndBlockNumber uint64 `protobuf:"varint,2,opt,name=endBlockNumber,proto3" json:"endBlockNumber,omitempty"`
// contains filtered or unexported fields
}
func (*GetRootHashRequest) Descriptor
deprecated
func (*GetRootHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRootHashRequest.ProtoReflect.Descriptor instead.
func (*GetRootHashRequest) GetEndBlockNumber ¶
func (x *GetRootHashRequest) GetEndBlockNumber() uint64
func (*GetRootHashRequest) GetStartBlockNumber ¶
func (x *GetRootHashRequest) GetStartBlockNumber() uint64
func (*GetRootHashRequest) ProtoMessage ¶
func (*GetRootHashRequest) ProtoMessage()
func (*GetRootHashRequest) ProtoReflect ¶
func (x *GetRootHashRequest) ProtoReflect() protoreflect.Message
func (*GetRootHashRequest) Reset ¶
func (x *GetRootHashRequest) Reset()
func (*GetRootHashRequest) String ¶
func (x *GetRootHashRequest) String() string
type GetRootHashResponse ¶
type GetRootHashResponse struct {
RootHash string `protobuf:"bytes,1,opt,name=rootHash,proto3" json:"rootHash,omitempty"`
// contains filtered or unexported fields
}
func (*GetRootHashResponse) Descriptor
deprecated
func (*GetRootHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRootHashResponse.ProtoReflect.Descriptor instead.
func (*GetRootHashResponse) GetRootHash ¶
func (x *GetRootHashResponse) GetRootHash() string
func (*GetRootHashResponse) ProtoMessage ¶
func (*GetRootHashResponse) ProtoMessage()
func (*GetRootHashResponse) ProtoReflect ¶
func (x *GetRootHashResponse) ProtoReflect() protoreflect.Message
func (*GetRootHashResponse) Reset ¶
func (x *GetRootHashResponse) Reset()
func (*GetRootHashResponse) String ¶
func (x *GetRootHashResponse) String() string
type GetStartBlockHeimdallSpanIDRequest ¶
type GetStartBlockHeimdallSpanIDRequest struct {
StartBlock uint64 `protobuf:"varint,1,opt,name=StartBlock,proto3" json:"StartBlock,omitempty"`
// contains filtered or unexported fields
}
func (*GetStartBlockHeimdallSpanIDRequest) Descriptor
deprecated
func (*GetStartBlockHeimdallSpanIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStartBlockHeimdallSpanIDRequest.ProtoReflect.Descriptor instead.
func (*GetStartBlockHeimdallSpanIDRequest) GetStartBlock ¶
func (x *GetStartBlockHeimdallSpanIDRequest) GetStartBlock() uint64
func (*GetStartBlockHeimdallSpanIDRequest) ProtoMessage ¶
func (*GetStartBlockHeimdallSpanIDRequest) ProtoMessage()
func (*GetStartBlockHeimdallSpanIDRequest) ProtoReflect ¶
func (x *GetStartBlockHeimdallSpanIDRequest) ProtoReflect() protoreflect.Message
func (*GetStartBlockHeimdallSpanIDRequest) Reset ¶
func (x *GetStartBlockHeimdallSpanIDRequest) Reset()
func (*GetStartBlockHeimdallSpanIDRequest) String ¶
func (x *GetStartBlockHeimdallSpanIDRequest) String() string
type GetStartBlockHeimdallSpanIDResponse ¶
type GetStartBlockHeimdallSpanIDResponse struct {
StartBlock uint64 `protobuf:"varint,1,opt,name=StartBlock,proto3" json:"StartBlock,omitempty"`
HeimdallSpanID uint64 `protobuf:"varint,2,opt,name=HeimdallSpanID,proto3" json:"HeimdallSpanID,omitempty"`
// contains filtered or unexported fields
}
func (*GetStartBlockHeimdallSpanIDResponse) Descriptor
deprecated
func (*GetStartBlockHeimdallSpanIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStartBlockHeimdallSpanIDResponse.ProtoReflect.Descriptor instead.
func (*GetStartBlockHeimdallSpanIDResponse) GetHeimdallSpanID ¶
func (x *GetStartBlockHeimdallSpanIDResponse) GetHeimdallSpanID() uint64
func (*GetStartBlockHeimdallSpanIDResponse) GetStartBlock ¶
func (x *GetStartBlockHeimdallSpanIDResponse) GetStartBlock() uint64
func (*GetStartBlockHeimdallSpanIDResponse) ProtoMessage ¶
func (*GetStartBlockHeimdallSpanIDResponse) ProtoMessage()
func (*GetStartBlockHeimdallSpanIDResponse) ProtoReflect ¶
func (x *GetStartBlockHeimdallSpanIDResponse) ProtoReflect() protoreflect.Message
func (*GetStartBlockHeimdallSpanIDResponse) Reset ¶
func (x *GetStartBlockHeimdallSpanIDResponse) Reset()
func (*GetStartBlockHeimdallSpanIDResponse) String ¶
func (x *GetStartBlockHeimdallSpanIDResponse) String() string
type GetTdByHashRequest ¶ added in v0.0.8
type GetTdByHashRequest struct {
Hash *common.H256 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetTdByHashRequest) Descriptor
deprecated
added in
v0.0.8
func (*GetTdByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTdByHashRequest.ProtoReflect.Descriptor instead.
func (*GetTdByHashRequest) GetHash ¶ added in v0.0.8
func (x *GetTdByHashRequest) GetHash() *common.H256
func (*GetTdByHashRequest) ProtoMessage ¶ added in v0.0.8
func (*GetTdByHashRequest) ProtoMessage()
func (*GetTdByHashRequest) ProtoReflect ¶ added in v0.0.8
func (x *GetTdByHashRequest) ProtoReflect() protoreflect.Message
func (*GetTdByHashRequest) Reset ¶ added in v0.0.8
func (x *GetTdByHashRequest) Reset()
func (*GetTdByHashRequest) String ¶ added in v0.0.8
func (x *GetTdByHashRequest) String() string
type GetTdByNumberRequest ¶ added in v0.0.8
type GetTdByNumberRequest struct {
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
func (*GetTdByNumberRequest) Descriptor
deprecated
added in
v0.0.8
func (*GetTdByNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTdByNumberRequest.ProtoReflect.Descriptor instead.
func (*GetTdByNumberRequest) GetNumber ¶ added in v0.0.8
func (x *GetTdByNumberRequest) GetNumber() string
func (*GetTdByNumberRequest) ProtoMessage ¶ added in v0.0.8
func (*GetTdByNumberRequest) ProtoMessage()
func (*GetTdByNumberRequest) ProtoReflect ¶ added in v0.0.8
func (x *GetTdByNumberRequest) ProtoReflect() protoreflect.Message
func (*GetTdByNumberRequest) Reset ¶ added in v0.0.8
func (x *GetTdByNumberRequest) Reset()
func (*GetTdByNumberRequest) String ¶ added in v0.0.8
func (x *GetTdByNumberRequest) String() string
type GetTdResponse ¶ added in v0.0.8
type GetTdResponse struct {
TotalDifficulty uint64 `protobuf:"varint,1,opt,name=totalDifficulty,proto3" json:"totalDifficulty,omitempty"`
// contains filtered or unexported fields
}
func (*GetTdResponse) Descriptor
deprecated
added in
v0.0.8
func (*GetTdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTdResponse.ProtoReflect.Descriptor instead.
func (*GetTdResponse) GetTotalDifficulty ¶ added in v0.0.8
func (x *GetTdResponse) GetTotalDifficulty() uint64
func (*GetTdResponse) ProtoMessage ¶ added in v0.0.8
func (*GetTdResponse) ProtoMessage()
func (*GetTdResponse) ProtoReflect ¶ added in v0.0.8
func (x *GetTdResponse) ProtoReflect() protoreflect.Message
func (*GetTdResponse) Reset ¶ added in v0.0.8
func (x *GetTdResponse) Reset()
func (*GetTdResponse) String ¶ added in v0.0.8
func (x *GetTdResponse) String() string
type GetVoteOnHashRequest ¶
type GetVoteOnHashRequest struct {
StartBlockNumber uint64 `protobuf:"varint,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"`
EndBlockNumber uint64 `protobuf:"varint,2,opt,name=endBlockNumber,proto3" json:"endBlockNumber,omitempty"`
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
MilestoneId string `protobuf:"bytes,4,opt,name=milestoneId,proto3" json:"milestoneId,omitempty"`
// contains filtered or unexported fields
}
func (*GetVoteOnHashRequest) Descriptor
deprecated
func (*GetVoteOnHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVoteOnHashRequest.ProtoReflect.Descriptor instead.
func (*GetVoteOnHashRequest) GetEndBlockNumber ¶
func (x *GetVoteOnHashRequest) GetEndBlockNumber() uint64
func (*GetVoteOnHashRequest) GetHash ¶
func (x *GetVoteOnHashRequest) GetHash() string
func (*GetVoteOnHashRequest) GetMilestoneId ¶
func (x *GetVoteOnHashRequest) GetMilestoneId() string
func (*GetVoteOnHashRequest) GetStartBlockNumber ¶
func (x *GetVoteOnHashRequest) GetStartBlockNumber() uint64
func (*GetVoteOnHashRequest) ProtoMessage ¶
func (*GetVoteOnHashRequest) ProtoMessage()
func (*GetVoteOnHashRequest) ProtoReflect ¶
func (x *GetVoteOnHashRequest) ProtoReflect() protoreflect.Message
func (*GetVoteOnHashRequest) Reset ¶
func (x *GetVoteOnHashRequest) Reset()
func (*GetVoteOnHashRequest) String ¶
func (x *GetVoteOnHashRequest) String() string
type GetVoteOnHashResponse ¶
type GetVoteOnHashResponse struct {
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*GetVoteOnHashResponse) Descriptor
deprecated
func (*GetVoteOnHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVoteOnHashResponse.ProtoReflect.Descriptor instead.
func (*GetVoteOnHashResponse) GetResponse ¶
func (x *GetVoteOnHashResponse) GetResponse() bool
func (*GetVoteOnHashResponse) ProtoMessage ¶
func (*GetVoteOnHashResponse) ProtoMessage()
func (*GetVoteOnHashResponse) ProtoReflect ¶
func (x *GetVoteOnHashResponse) ProtoReflect() protoreflect.Message
func (*GetVoteOnHashResponse) Reset ¶
func (x *GetVoteOnHashResponse) Reset()
func (*GetVoteOnHashResponse) String ¶
func (x *GetVoteOnHashResponse) String() string
type Header ¶
type Header struct {
Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
ParentHash *common.H256 `protobuf:"bytes,2,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
// full raw header
UncleHash *common.H256 `protobuf:"bytes,4,opt,name=uncleHash,proto3" json:"uncleHash,omitempty"`
Coinbase *common.H160 `protobuf:"bytes,5,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
StateRoot *common.H256 `protobuf:"bytes,6,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"`
TxRoot *common.H256 `protobuf:"bytes,7,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
ReceiptRoot *common.H256 `protobuf:"bytes,8,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
Bloom []byte `protobuf:"bytes,9,opt,name=bloom,proto3" json:"bloom,omitempty"`
Difficulty []byte `protobuf:"bytes,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
GasLimit uint64 `protobuf:"varint,11,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
GasUsed uint64 `protobuf:"varint,12,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
ExtraData []byte `protobuf:"bytes,13,opt,name=extraData,proto3" json:"extraData,omitempty"`
MixDigest *common.H256 `protobuf:"bytes,14,opt,name=mixDigest,proto3" json:"mixDigest,omitempty"`
Nonce []byte `protobuf:"bytes,15,opt,name=nonce,proto3" json:"nonce,omitempty"`
// optional upgrade fields (zero, empty, nil means nil).
BaseFee []byte `protobuf:"bytes,16,opt,name=baseFee,proto3" json:"baseFee,omitempty"`
WithdrawalsHash *common.H256 `protobuf:"bytes,17,opt,name=withdrawalsHash,proto3" json:"withdrawalsHash,omitempty"`
BlobGasUsed *uint64 `protobuf:"varint,18,opt,name=blobGasUsed,proto3,oneof" json:"blobGasUsed,omitempty"`
ExcessBlobGas *uint64 `protobuf:"varint,19,opt,name=excessBlobGas,proto3,oneof" json:"excessBlobGas,omitempty"`
ParentBeaconBlockRoot *common.H256 `protobuf:"bytes,20,opt,name=parentBeaconBlockRoot,proto3" json:"parentBeaconBlockRoot,omitempty"`
RequestsHash *common.H256 `protobuf:"bytes,21,opt,name=requestsHash,proto3" json:"requestsHash,omitempty"`
// contains filtered or unexported fields
}
func (*Header) Descriptor
deprecated
func (*Header) GetBaseFee ¶ added in v0.0.8
func (*Header) GetBlobGasUsed ¶ added in v0.0.8
func (*Header) GetCoinbase ¶ added in v0.0.8
func (*Header) GetDifficulty ¶ added in v0.0.8
func (*Header) GetExcessBlobGas ¶ added in v0.0.8
func (*Header) GetExtraData ¶ added in v0.0.8
func (*Header) GetGasLimit ¶ added in v0.0.8
func (*Header) GetGasUsed ¶ added in v0.0.8
func (*Header) GetMixDigest ¶ added in v0.0.8
func (*Header) GetParentBeaconBlockRoot ¶ added in v0.0.8
func (*Header) GetParentHash ¶
func (*Header) GetReceiptRoot ¶ added in v0.0.8
func (*Header) GetRequestsHash ¶ added in v0.0.8
func (*Header) GetStateRoot ¶ added in v0.0.8
func (*Header) GetUncleHash ¶ added in v0.0.8
func (*Header) GetWithdrawalsHash ¶ added in v0.0.8
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct {
Address *common.H160 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Topics []*common.H256 `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
TxHash *common.H256 `protobuf:"bytes,5,opt,name=txHash,proto3" json:"txHash,omitempty"`
TxIndex uint64 `protobuf:"varint,6,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
BlockHash *common.H256 `protobuf:"bytes,7,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
// contains filtered or unexported fields
}
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Receipt ¶
type Receipt struct {
Type uint64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
PostState []byte `protobuf:"bytes,2,opt,name=postState,proto3" json:"postState,omitempty"`
Status uint64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
CumulativeGasUsed uint64 `protobuf:"varint,4,opt,name=cumulativeGasUsed,proto3" json:"cumulativeGasUsed,omitempty"`
Bloom *Bloom `protobuf:"bytes,5,opt,name=bloom,proto3" json:"bloom,omitempty"`
Logs []*Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
TxHash *common.H256 `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"`
ContractAddress *common.H160 `protobuf:"bytes,8,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
GasUsed uint64 `protobuf:"varint,9,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
EffectiveGasPrice int64 `protobuf:"varint,10,opt,name=effectiveGasPrice,proto3" json:"effectiveGasPrice,omitempty"`
BlobGasUsed uint64 `protobuf:"varint,11,opt,name=blobGasUsed,proto3" json:"blobGasUsed,omitempty"`
BlobGasPrice int64 `protobuf:"varint,12,opt,name=blobGasPrice,proto3" json:"blobGasPrice,omitempty"`
BlockHash *common.H256 `protobuf:"bytes,13,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
BlockNumber int64 `protobuf:"varint,14,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
TransactionIndex uint64 `protobuf:"varint,15,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"`
// contains filtered or unexported fields
}
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetBlobGasPrice ¶
func (*Receipt) GetBlobGasUsed ¶
func (*Receipt) GetBlockHash ¶
func (*Receipt) GetBlockNumber ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetCumulativeGasUsed ¶
func (*Receipt) GetEffectiveGasPrice ¶
func (*Receipt) GetGasUsed ¶
func (*Receipt) GetPostState ¶
func (*Receipt) GetTransactionIndex ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type ReceiptRequest ¶
type ReceiptRequest struct {
Hash *common.H256 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*ReceiptRequest) Descriptor
deprecated
func (*ReceiptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptRequest.ProtoReflect.Descriptor instead.
func (*ReceiptRequest) GetHash ¶
func (x *ReceiptRequest) GetHash() *common.H256
func (*ReceiptRequest) ProtoMessage ¶
func (*ReceiptRequest) ProtoMessage()
func (*ReceiptRequest) ProtoReflect ¶
func (x *ReceiptRequest) ProtoReflect() protoreflect.Message
func (*ReceiptRequest) Reset ¶
func (x *ReceiptRequest) Reset()
func (*ReceiptRequest) String ¶
func (x *ReceiptRequest) String() string
type ReceiptResponse ¶
type ReceiptResponse struct {
Receipt *Receipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
// contains filtered or unexported fields
}
func (*ReceiptResponse) Descriptor
deprecated
func (*ReceiptResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptResponse.ProtoReflect.Descriptor instead.
func (*ReceiptResponse) GetReceipt ¶
func (x *ReceiptResponse) GetReceipt() *Receipt
func (*ReceiptResponse) ProtoMessage ¶
func (*ReceiptResponse) ProtoMessage()
func (*ReceiptResponse) ProtoReflect ¶
func (x *ReceiptResponse) ProtoReflect() protoreflect.Message
func (*ReceiptResponse) Reset ¶
func (x *ReceiptResponse) Reset()
func (*ReceiptResponse) String ¶
func (x *ReceiptResponse) String() string
type UnimplementedBorApiServer ¶
type UnimplementedBorApiServer struct {
}
UnimplementedBorApiServer must be embedded to have forward compatible implementations.
func (UnimplementedBorApiServer) BlockByNumber ¶
func (UnimplementedBorApiServer) BlockByNumber(context.Context, *GetBlockByNumberRequest) (*GetBlockByNumberResponse, error)
func (UnimplementedBorApiServer) BorBlockReceipt ¶
func (UnimplementedBorApiServer) BorBlockReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
func (UnimplementedBorApiServer) GetAuthor ¶ added in v0.0.8
func (UnimplementedBorApiServer) GetAuthor(context.Context, *GetAuthorRequest) (*GetAuthorResponse, error)
func (UnimplementedBorApiServer) GetBlockInfoInBatch ¶ added in v0.0.8
func (UnimplementedBorApiServer) GetBlockInfoInBatch(context.Context, *GetBlockInfoInBatchRequest) (*GetBlockInfoInBatchResponse, error)
func (UnimplementedBorApiServer) GetRootHash ¶
func (UnimplementedBorApiServer) GetRootHash(context.Context, *GetRootHashRequest) (*GetRootHashResponse, error)
func (UnimplementedBorApiServer) GetStartBlockHeimdallSpanID ¶
func (UnimplementedBorApiServer) GetStartBlockHeimdallSpanID(context.Context, *GetStartBlockHeimdallSpanIDRequest) (*GetStartBlockHeimdallSpanIDResponse, error)
func (UnimplementedBorApiServer) GetTdByHash ¶ added in v0.0.8
func (UnimplementedBorApiServer) GetTdByHash(context.Context, *GetTdByHashRequest) (*GetTdResponse, error)
func (UnimplementedBorApiServer) GetTdByNumber ¶ added in v0.0.8
func (UnimplementedBorApiServer) GetTdByNumber(context.Context, *GetTdByNumberRequest) (*GetTdResponse, error)
func (UnimplementedBorApiServer) GetVoteOnHash ¶
func (UnimplementedBorApiServer) GetVoteOnHash(context.Context, *GetVoteOnHashRequest) (*GetVoteOnHashResponse, error)
func (UnimplementedBorApiServer) HeaderByNumber ¶
func (UnimplementedBorApiServer) HeaderByNumber(context.Context, *GetHeaderByNumberRequest) (*GetHeaderByNumberResponse, error)
func (UnimplementedBorApiServer) TransactionReceipt ¶
func (UnimplementedBorApiServer) TransactionReceipt(context.Context, *ReceiptRequest) (*ReceiptResponse, error)
type UnsafeBorApiServer ¶
type UnsafeBorApiServer interface {
// contains filtered or unexported methods
}
UnsafeBorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BorApiServer will result in compilation errors.