Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type BlockWithExpiration
- func (*BlockWithExpiration) Descriptor() ([]byte, []int)deprecated
- func (x *BlockWithExpiration) GetExpiration() *timestamppb.Timestamp
- func (x *BlockWithExpiration) GetHeight() int64
- func (*BlockWithExpiration) ProtoMessage()
- func (x *BlockWithExpiration) ProtoReflect() protoreflect.Message
- func (x *BlockWithExpiration) Reset()
- func (x *BlockWithExpiration) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetCelestiaGenesisState() *v1.GenesisState
- func (x *GenesisState) GetPendingBlocks() []*BlockWithExpiration
- func (x *GenesisState) GetProvenHeight() int64
- func (x *GenesisState) GetValidators() []*Validator
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type InjectedData
- func (*InjectedData) Descriptor() ([]byte, []int)deprecated
- func (x *InjectedData) GetCreateClient() *v1.CreateClient
- func (x *InjectedData) GetHeaders() []*v1.Header
- func (x *InjectedData) GetPendingBlocks() *PendingBlocks
- func (x *InjectedData) GetProofs() []*v1.BlobProof
- func (*InjectedData) ProtoMessage()
- func (x *InjectedData) ProtoReflect() protoreflect.Message
- func (x *InjectedData) Reset()
- func (x *InjectedData) String() string
- type MsgClient
- type MsgServer
- type MsgSetCelestiaAddress
- func (*MsgSetCelestiaAddress) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetCelestiaAddress) GetCelestiaAddress() string
- func (x *MsgSetCelestiaAddress) GetValidatorAddress() string
- func (*MsgSetCelestiaAddress) ProtoMessage()
- func (x *MsgSetCelestiaAddress) ProtoReflect() protoreflect.Message
- func (x *MsgSetCelestiaAddress) Reset()
- func (x *MsgSetCelestiaAddress) String() string
- type MsgSetCelestiaAddressResponse
- func (*MsgSetCelestiaAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetCelestiaAddressResponse) ProtoMessage()
- func (x *MsgSetCelestiaAddressResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetCelestiaAddressResponse) Reset()
- func (x *MsgSetCelestiaAddressResponse) String() string
- type PendingBlocks
- type QueryCelestiaAddressRequest
- func (*QueryCelestiaAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCelestiaAddressRequest) GetValidatorAddress() string
- func (*QueryCelestiaAddressRequest) ProtoMessage()
- func (x *QueryCelestiaAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCelestiaAddressRequest) Reset()
- func (x *QueryCelestiaAddressRequest) String() string
- type QueryCelestiaAddressResponse
- func (*QueryCelestiaAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCelestiaAddressResponse) GetCelestiaAddress() string
- func (*QueryCelestiaAddressResponse) ProtoMessage()
- func (x *QueryCelestiaAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCelestiaAddressResponse) Reset()
- func (x *QueryCelestiaAddressResponse) String() string
- type QueryClient
- type QueryExpiredBlocksRequest
- type QueryExpiredBlocksResponse
- func (*QueryExpiredBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryExpiredBlocksResponse) GetCurrentTime() *timestamppb.Timestamp
- func (x *QueryExpiredBlocksResponse) GetExpiredBlocks() []*BlockWithExpiration
- func (*QueryExpiredBlocksResponse) ProtoMessage()
- func (x *QueryExpiredBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *QueryExpiredBlocksResponse) Reset()
- func (x *QueryExpiredBlocksResponse) String() string
- type QueryPendingBlocksRequest
- type QueryPendingBlocksResponse
- func (*QueryPendingBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingBlocksResponse) GetPendingBlocks() []*BlockWithExpiration
- func (*QueryPendingBlocksResponse) ProtoMessage()
- func (x *QueryPendingBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPendingBlocksResponse) Reset()
- func (x *QueryPendingBlocksResponse) String() string
- type QueryProvenHeightRequest
- type QueryProvenHeightResponse
- func (*QueryProvenHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProvenHeightResponse) GetProvenHeight() int64
- func (*QueryProvenHeightResponse) ProtoMessage()
- func (x *QueryProvenHeightResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProvenHeightResponse) Reset()
- func (x *QueryProvenHeightResponse) String() string
- type QueryServer
- type QueryValidatorsRequest
- type QueryValidatorsResponse
- func (*QueryValidatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorsResponse) GetValidators() []*Validator
- func (*QueryValidatorsResponse) ProtoMessage()
- func (x *QueryValidatorsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorsResponse) Reset()
- func (x *QueryValidatorsResponse) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) CelestiaAddress(context.Context, *QueryCelestiaAddressRequest) (*QueryCelestiaAddressResponse, error)
- func (UnimplementedQueryServer) ExpiredBlocks(context.Context, *QueryExpiredBlocksRequest) (*QueryExpiredBlocksResponse, error)
- func (UnimplementedQueryServer) PendingBlocks(context.Context, *QueryPendingBlocksRequest) (*QueryPendingBlocksResponse, error)
- func (UnimplementedQueryServer) ProvenHeight(context.Context, *QueryProvenHeightRequest) (*QueryProvenHeightResponse, error)
- func (UnimplementedQueryServer) Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error)
- type UnprovenBlock
- func (*UnprovenBlock) Descriptor() ([]byte, []int)deprecated
- func (x *UnprovenBlock) GetBlock() []byte
- func (x *UnprovenBlock) GetHeight() int64
- func (*UnprovenBlock) ProtoMessage()
- func (x *UnprovenBlock) ProtoReflect() protoreflect.Message
- func (x *UnprovenBlock) Reset()
- func (x *UnprovenBlock) String() string
- type UnsafeMsgServer
- type UnsafeQueryServer
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetCelestiaAddress() string
- func (x *Validator) GetValidatorAddress() string
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type Validators
Constants ¶
const ( Query_Validators_FullMethodName = "/rollchains.tiablob.v1.Query/Validators" Query_CelestiaAddress_FullMethodName = "/rollchains.tiablob.v1.Query/CelestiaAddress" Query_ProvenHeight_FullMethodName = "/rollchains.tiablob.v1.Query/ProvenHeight" Query_PendingBlocks_FullMethodName = "/rollchains.tiablob.v1.Query/PendingBlocks" Query_ExpiredBlocks_FullMethodName = "/rollchains.tiablob.v1.Query/ExpiredBlocks" )
const (
Msg_SetCelestiaAddress_FullMethodName = "/rollchains.tiablob.v1.Msg/SetCelestiaAddress"
)
Variables ¶
var File_rollchains_tiablob_v1_abci_proto protoreflect.FileDescriptor
var File_rollchains_tiablob_v1_genesis_proto protoreflect.FileDescriptor
var File_rollchains_tiablob_v1_query_proto protoreflect.FileDescriptor
var File_rollchains_tiablob_v1_tx_proto protoreflect.FileDescriptor
var File_rollchains_tiablob_v1_validator_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rollchains.tiablob.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetCelestiaAddress", Handler: _Msg_SetCelestiaAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rollchains/tiablob/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rollchains.tiablob.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Validators", Handler: _Query_Validators_Handler, }, { MethodName: "CelestiaAddress", Handler: _Query_CelestiaAddress_Handler, }, { MethodName: "ProvenHeight", Handler: _Query_ProvenHeight_Handler, }, { MethodName: "PendingBlocks", Handler: _Query_PendingBlocks_Handler, }, { MethodName: "ExpiredBlocks", Handler: _Query_ExpiredBlocks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rollchains/tiablob/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type BlockWithExpiration ¶
type BlockWithExpiration struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*BlockWithExpiration) Descriptor
deprecated
func (*BlockWithExpiration) Descriptor() ([]byte, []int)
Deprecated: Use BlockWithExpiration.ProtoReflect.Descriptor instead.
func (*BlockWithExpiration) GetExpiration ¶
func (x *BlockWithExpiration) GetExpiration() *timestamppb.Timestamp
func (*BlockWithExpiration) GetHeight ¶
func (x *BlockWithExpiration) GetHeight() int64
func (*BlockWithExpiration) ProtoMessage ¶
func (*BlockWithExpiration) ProtoMessage()
func (*BlockWithExpiration) ProtoReflect ¶
func (x *BlockWithExpiration) ProtoReflect() protoreflect.Message
func (*BlockWithExpiration) Reset ¶
func (x *BlockWithExpiration) Reset()
func (*BlockWithExpiration) String ¶
func (x *BlockWithExpiration) String() string
type GenesisState ¶
type GenesisState struct { Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // the height of the last block that was proven to be posted to Celestia. // increment only, never skipping heights. ProvenHeight int64 `protobuf:"varint,2,opt,name=proven_height,json=provenHeight,proto3" json:"proven_height,omitempty"` CelestiaGenesisState *v1.GenesisState `protobuf:"bytes,3,opt,name=celestia_genesis_state,json=celestiaGenesisState,proto3" json:"celestia_genesis_state,omitempty"` PendingBlocks []*BlockWithExpiration `protobuf:"bytes,4,rep,name=pending_blocks,json=pendingBlocks,proto3" json:"pending_blocks,omitempty"` // contains filtered or unexported fields }
GenesisState defines the rollchain module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetCelestiaGenesisState ¶
func (x *GenesisState) GetCelestiaGenesisState() *v1.GenesisState
func (*GenesisState) GetPendingBlocks ¶
func (x *GenesisState) GetPendingBlocks() []*BlockWithExpiration
func (*GenesisState) GetProvenHeight ¶
func (x *GenesisState) GetProvenHeight() int64
func (*GenesisState) GetValidators ¶
func (x *GenesisState) GetValidators() []*Validator
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type InjectedData ¶
type InjectedData struct { CreateClient *v1.CreateClient `protobuf:"bytes,1,opt,name=create_client,json=createClient,proto3" json:"create_client,omitempty"` Headers []*v1.Header `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` Proofs []*v1.BlobProof `protobuf:"bytes,3,rep,name=proofs,proto3" json:"proofs,omitempty"` PendingBlocks *PendingBlocks `protobuf:"bytes,4,opt,name=pending_blocks,json=pendingBlocks,proto3" json:"pending_blocks,omitempty"` // contains filtered or unexported fields }
func (*InjectedData) Descriptor
deprecated
func (*InjectedData) Descriptor() ([]byte, []int)
Deprecated: Use InjectedData.ProtoReflect.Descriptor instead.
func (*InjectedData) GetCreateClient ¶
func (x *InjectedData) GetCreateClient() *v1.CreateClient
func (*InjectedData) GetHeaders ¶
func (x *InjectedData) GetHeaders() []*v1.Header
func (*InjectedData) GetPendingBlocks ¶
func (x *InjectedData) GetPendingBlocks() *PendingBlocks
func (*InjectedData) GetProofs ¶
func (x *InjectedData) GetProofs() []*v1.BlobProof
func (*InjectedData) ProtoMessage ¶
func (*InjectedData) ProtoMessage()
func (*InjectedData) ProtoReflect ¶
func (x *InjectedData) ProtoReflect() protoreflect.Message
func (*InjectedData) Reset ¶
func (x *InjectedData) Reset()
func (*InjectedData) String ¶
func (x *InjectedData) String() string
type MsgClient ¶
type MsgClient interface { // SetCelestiaAddress allows a validator to configure their Celestia address for feegranting SetCelestiaAddress(ctx context.Context, in *MsgSetCelestiaAddress, opts ...grpc.CallOption) (*MsgSetCelestiaAddressResponse, error) }
MsgClient is the client API for Msg 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 NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { // SetCelestiaAddress allows a validator to configure their Celestia address for feegranting SetCelestiaAddress(context.Context, *MsgSetCelestiaAddress) (*MsgSetCelestiaAddressResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSetCelestiaAddress ¶
type MsgSetCelestiaAddress struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` CelestiaAddress string `protobuf:"bytes,2,opt,name=celestia_address,json=celestiaAddress,proto3" json:"celestia_address,omitempty"` // contains filtered or unexported fields }
MsgSetCelestiaAddress defines a SDK message for validators to set their Celestia address
func (*MsgSetCelestiaAddress) Descriptor
deprecated
func (*MsgSetCelestiaAddress) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetCelestiaAddress.ProtoReflect.Descriptor instead.
func (*MsgSetCelestiaAddress) GetCelestiaAddress ¶
func (x *MsgSetCelestiaAddress) GetCelestiaAddress() string
func (*MsgSetCelestiaAddress) GetValidatorAddress ¶
func (x *MsgSetCelestiaAddress) GetValidatorAddress() string
func (*MsgSetCelestiaAddress) ProtoMessage ¶
func (*MsgSetCelestiaAddress) ProtoMessage()
func (*MsgSetCelestiaAddress) ProtoReflect ¶
func (x *MsgSetCelestiaAddress) ProtoReflect() protoreflect.Message
func (*MsgSetCelestiaAddress) Reset ¶
func (x *MsgSetCelestiaAddress) Reset()
func (*MsgSetCelestiaAddress) String ¶
func (x *MsgSetCelestiaAddress) String() string
type MsgSetCelestiaAddressResponse ¶
type MsgSetCelestiaAddressResponse struct {
// contains filtered or unexported fields
}
MsgSetCelestiaAddressResponse is the response type for the Msg/SetCelestiaAddress RPC method.
func (*MsgSetCelestiaAddressResponse) Descriptor
deprecated
func (*MsgSetCelestiaAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetCelestiaAddressResponse.ProtoReflect.Descriptor instead.
func (*MsgSetCelestiaAddressResponse) ProtoMessage ¶
func (*MsgSetCelestiaAddressResponse) ProtoMessage()
func (*MsgSetCelestiaAddressResponse) ProtoReflect ¶
func (x *MsgSetCelestiaAddressResponse) ProtoReflect() protoreflect.Message
func (*MsgSetCelestiaAddressResponse) Reset ¶
func (x *MsgSetCelestiaAddressResponse) Reset()
func (*MsgSetCelestiaAddressResponse) String ¶
func (x *MsgSetCelestiaAddressResponse) String() string
type PendingBlocks ¶
type PendingBlocks struct { BlockHeights []int64 `protobuf:"varint,1,rep,packed,name=block_heights,json=blockHeights,proto3" json:"block_heights,omitempty"` // contains filtered or unexported fields }
func (*PendingBlocks) Descriptor
deprecated
func (*PendingBlocks) Descriptor() ([]byte, []int)
Deprecated: Use PendingBlocks.ProtoReflect.Descriptor instead.
func (*PendingBlocks) GetBlockHeights ¶
func (x *PendingBlocks) GetBlockHeights() []int64
func (*PendingBlocks) ProtoMessage ¶
func (*PendingBlocks) ProtoMessage()
func (*PendingBlocks) ProtoReflect ¶
func (x *PendingBlocks) ProtoReflect() protoreflect.Message
func (*PendingBlocks) Reset ¶
func (x *PendingBlocks) Reset()
func (*PendingBlocks) String ¶
func (x *PendingBlocks) String() string
type QueryCelestiaAddressRequest ¶
type QueryCelestiaAddressRequest struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // contains filtered or unexported fields }
QueryCelestiaAddressRequest is the request type for the Query/CelestiaAddress RPC method.
func (*QueryCelestiaAddressRequest) Descriptor
deprecated
func (*QueryCelestiaAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCelestiaAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryCelestiaAddressRequest) GetValidatorAddress ¶
func (x *QueryCelestiaAddressRequest) GetValidatorAddress() string
func (*QueryCelestiaAddressRequest) ProtoMessage ¶
func (*QueryCelestiaAddressRequest) ProtoMessage()
func (*QueryCelestiaAddressRequest) ProtoReflect ¶
func (x *QueryCelestiaAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryCelestiaAddressRequest) Reset ¶
func (x *QueryCelestiaAddressRequest) Reset()
func (*QueryCelestiaAddressRequest) String ¶
func (x *QueryCelestiaAddressRequest) String() string
type QueryCelestiaAddressResponse ¶
type QueryCelestiaAddressResponse struct { CelestiaAddress string `protobuf:"bytes,1,opt,name=celestia_address,json=celestiaAddress,proto3" json:"celestia_address,omitempty"` // contains filtered or unexported fields }
QueryCelestiaAddressResponse is the response type for the Query/CelestiaAddress RPC method.
func (*QueryCelestiaAddressResponse) Descriptor
deprecated
func (*QueryCelestiaAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCelestiaAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryCelestiaAddressResponse) GetCelestiaAddress ¶
func (x *QueryCelestiaAddressResponse) GetCelestiaAddress() string
func (*QueryCelestiaAddressResponse) ProtoMessage ¶
func (*QueryCelestiaAddressResponse) ProtoMessage()
func (*QueryCelestiaAddressResponse) ProtoReflect ¶
func (x *QueryCelestiaAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryCelestiaAddressResponse) Reset ¶
func (x *QueryCelestiaAddressResponse) Reset()
func (*QueryCelestiaAddressResponse) String ¶
func (x *QueryCelestiaAddressResponse) String() string
type QueryClient ¶
type QueryClient interface { // Validators returns registered validators of the module. Validators(ctx context.Context, in *QueryValidatorsRequest, opts ...grpc.CallOption) (*QueryValidatorsResponse, error) CelestiaAddress(ctx context.Context, in *QueryCelestiaAddressRequest, opts ...grpc.CallOption) (*QueryCelestiaAddressResponse, error) ProvenHeight(ctx context.Context, in *QueryProvenHeightRequest, opts ...grpc.CallOption) (*QueryProvenHeightResponse, error) PendingBlocks(ctx context.Context, in *QueryPendingBlocksRequest, opts ...grpc.CallOption) (*QueryPendingBlocksResponse, error) ExpiredBlocks(ctx context.Context, in *QueryExpiredBlocksRequest, opts ...grpc.CallOption) (*QueryExpiredBlocksResponse, error) }
QueryClient is the client API for Query 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 NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryExpiredBlocksRequest ¶
type QueryExpiredBlocksRequest struct {
// contains filtered or unexported fields
}
func (*QueryExpiredBlocksRequest) Descriptor
deprecated
func (*QueryExpiredBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryExpiredBlocksRequest.ProtoReflect.Descriptor instead.
func (*QueryExpiredBlocksRequest) ProtoMessage ¶
func (*QueryExpiredBlocksRequest) ProtoMessage()
func (*QueryExpiredBlocksRequest) ProtoReflect ¶
func (x *QueryExpiredBlocksRequest) ProtoReflect() protoreflect.Message
func (*QueryExpiredBlocksRequest) Reset ¶
func (x *QueryExpiredBlocksRequest) Reset()
func (*QueryExpiredBlocksRequest) String ¶
func (x *QueryExpiredBlocksRequest) String() string
type QueryExpiredBlocksResponse ¶
type QueryExpiredBlocksResponse struct { CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` ExpiredBlocks []*BlockWithExpiration `protobuf:"bytes,2,rep,name=expired_blocks,json=expiredBlocks,proto3" json:"expired_blocks,omitempty"` // contains filtered or unexported fields }
func (*QueryExpiredBlocksResponse) Descriptor
deprecated
func (*QueryExpiredBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryExpiredBlocksResponse.ProtoReflect.Descriptor instead.
func (*QueryExpiredBlocksResponse) GetCurrentTime ¶
func (x *QueryExpiredBlocksResponse) GetCurrentTime() *timestamppb.Timestamp
func (*QueryExpiredBlocksResponse) GetExpiredBlocks ¶
func (x *QueryExpiredBlocksResponse) GetExpiredBlocks() []*BlockWithExpiration
func (*QueryExpiredBlocksResponse) ProtoMessage ¶
func (*QueryExpiredBlocksResponse) ProtoMessage()
func (*QueryExpiredBlocksResponse) ProtoReflect ¶
func (x *QueryExpiredBlocksResponse) ProtoReflect() protoreflect.Message
func (*QueryExpiredBlocksResponse) Reset ¶
func (x *QueryExpiredBlocksResponse) Reset()
func (*QueryExpiredBlocksResponse) String ¶
func (x *QueryExpiredBlocksResponse) String() string
type QueryPendingBlocksRequest ¶
type QueryPendingBlocksRequest struct {
// contains filtered or unexported fields
}
func (*QueryPendingBlocksRequest) Descriptor
deprecated
func (*QueryPendingBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingBlocksRequest.ProtoReflect.Descriptor instead.
func (*QueryPendingBlocksRequest) ProtoMessage ¶
func (*QueryPendingBlocksRequest) ProtoMessage()
func (*QueryPendingBlocksRequest) ProtoReflect ¶
func (x *QueryPendingBlocksRequest) ProtoReflect() protoreflect.Message
func (*QueryPendingBlocksRequest) Reset ¶
func (x *QueryPendingBlocksRequest) Reset()
func (*QueryPendingBlocksRequest) String ¶
func (x *QueryPendingBlocksRequest) String() string
type QueryPendingBlocksResponse ¶
type QueryPendingBlocksResponse struct { PendingBlocks []*BlockWithExpiration `protobuf:"bytes,1,rep,name=pending_blocks,json=pendingBlocks,proto3" json:"pending_blocks,omitempty"` // contains filtered or unexported fields }
func (*QueryPendingBlocksResponse) Descriptor
deprecated
func (*QueryPendingBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingBlocksResponse.ProtoReflect.Descriptor instead.
func (*QueryPendingBlocksResponse) GetPendingBlocks ¶
func (x *QueryPendingBlocksResponse) GetPendingBlocks() []*BlockWithExpiration
func (*QueryPendingBlocksResponse) ProtoMessage ¶
func (*QueryPendingBlocksResponse) ProtoMessage()
func (*QueryPendingBlocksResponse) ProtoReflect ¶
func (x *QueryPendingBlocksResponse) ProtoReflect() protoreflect.Message
func (*QueryPendingBlocksResponse) Reset ¶
func (x *QueryPendingBlocksResponse) Reset()
func (*QueryPendingBlocksResponse) String ¶
func (x *QueryPendingBlocksResponse) String() string
type QueryProvenHeightRequest ¶
type QueryProvenHeightRequest struct {
// contains filtered or unexported fields
}
func (*QueryProvenHeightRequest) Descriptor
deprecated
func (*QueryProvenHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProvenHeightRequest.ProtoReflect.Descriptor instead.
func (*QueryProvenHeightRequest) ProtoMessage ¶
func (*QueryProvenHeightRequest) ProtoMessage()
func (*QueryProvenHeightRequest) ProtoReflect ¶
func (x *QueryProvenHeightRequest) ProtoReflect() protoreflect.Message
func (*QueryProvenHeightRequest) Reset ¶
func (x *QueryProvenHeightRequest) Reset()
func (*QueryProvenHeightRequest) String ¶
func (x *QueryProvenHeightRequest) String() string
type QueryProvenHeightResponse ¶
type QueryProvenHeightResponse struct { ProvenHeight int64 `protobuf:"varint,1,opt,name=proven_height,json=provenHeight,proto3" json:"proven_height,omitempty"` // contains filtered or unexported fields }
func (*QueryProvenHeightResponse) Descriptor
deprecated
func (*QueryProvenHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProvenHeightResponse.ProtoReflect.Descriptor instead.
func (*QueryProvenHeightResponse) GetProvenHeight ¶
func (x *QueryProvenHeightResponse) GetProvenHeight() int64
func (*QueryProvenHeightResponse) ProtoMessage ¶
func (*QueryProvenHeightResponse) ProtoMessage()
func (*QueryProvenHeightResponse) ProtoReflect ¶
func (x *QueryProvenHeightResponse) ProtoReflect() protoreflect.Message
func (*QueryProvenHeightResponse) Reset ¶
func (x *QueryProvenHeightResponse) Reset()
func (*QueryProvenHeightResponse) String ¶
func (x *QueryProvenHeightResponse) String() string
type QueryServer ¶
type QueryServer interface { // Validators returns registered validators of the module. Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error) CelestiaAddress(context.Context, *QueryCelestiaAddressRequest) (*QueryCelestiaAddressResponse, error) ProvenHeight(context.Context, *QueryProvenHeightRequest) (*QueryProvenHeightResponse, error) PendingBlocks(context.Context, *QueryPendingBlocksRequest) (*QueryPendingBlocksResponse, error) ExpiredBlocks(context.Context, *QueryExpiredBlocksRequest) (*QueryExpiredBlocksResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryValidatorsRequest ¶
type QueryValidatorsRequest struct {
// contains filtered or unexported fields
}
QueryValidatorsRequest is the request type for the Query/Validators RPC method.
func (*QueryValidatorsRequest) Descriptor
deprecated
func (*QueryValidatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorsRequest.ProtoReflect.Descriptor instead.
func (*QueryValidatorsRequest) ProtoMessage ¶
func (*QueryValidatorsRequest) ProtoMessage()
func (*QueryValidatorsRequest) ProtoReflect ¶
func (x *QueryValidatorsRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorsRequest) Reset ¶
func (x *QueryValidatorsRequest) Reset()
func (*QueryValidatorsRequest) String ¶
func (x *QueryValidatorsRequest) String() string
type QueryValidatorsResponse ¶
type QueryValidatorsResponse struct { // validators is the returned validators from the module Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
QueryValidatorResponse is the response type for the Query/Validators RPC method.
func (*QueryValidatorsResponse) Descriptor
deprecated
func (*QueryValidatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorsResponse.ProtoReflect.Descriptor instead.
func (*QueryValidatorsResponse) GetValidators ¶
func (x *QueryValidatorsResponse) GetValidators() []*Validator
func (*QueryValidatorsResponse) ProtoMessage ¶
func (*QueryValidatorsResponse) ProtoMessage()
func (*QueryValidatorsResponse) ProtoReflect ¶
func (x *QueryValidatorsResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorsResponse) Reset ¶
func (x *QueryValidatorsResponse) Reset()
func (*QueryValidatorsResponse) String ¶
func (x *QueryValidatorsResponse) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) SetCelestiaAddress ¶
func (UnimplementedMsgServer) SetCelestiaAddress(context.Context, *MsgSetCelestiaAddress) (*MsgSetCelestiaAddressResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) CelestiaAddress ¶
func (UnimplementedQueryServer) CelestiaAddress(context.Context, *QueryCelestiaAddressRequest) (*QueryCelestiaAddressResponse, error)
func (UnimplementedQueryServer) ExpiredBlocks ¶
func (UnimplementedQueryServer) ExpiredBlocks(context.Context, *QueryExpiredBlocksRequest) (*QueryExpiredBlocksResponse, error)
func (UnimplementedQueryServer) PendingBlocks ¶
func (UnimplementedQueryServer) PendingBlocks(context.Context, *QueryPendingBlocksRequest) (*QueryPendingBlocksResponse, error)
func (UnimplementedQueryServer) ProvenHeight ¶
func (UnimplementedQueryServer) ProvenHeight(context.Context, *QueryProvenHeightRequest) (*QueryProvenHeightResponse, error)
func (UnimplementedQueryServer) Validators ¶
func (UnimplementedQueryServer) Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error)
type UnprovenBlock ¶
type UnprovenBlock struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Block []byte `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*UnprovenBlock) Descriptor
deprecated
func (*UnprovenBlock) Descriptor() ([]byte, []int)
Deprecated: Use UnprovenBlock.ProtoReflect.Descriptor instead.
func (*UnprovenBlock) GetBlock ¶
func (x *UnprovenBlock) GetBlock() []byte
func (*UnprovenBlock) GetHeight ¶
func (x *UnprovenBlock) GetHeight() int64
func (*UnprovenBlock) ProtoMessage ¶
func (*UnprovenBlock) ProtoMessage()
func (*UnprovenBlock) ProtoReflect ¶
func (x *UnprovenBlock) ProtoReflect() protoreflect.Message
func (*UnprovenBlock) Reset ¶
func (x *UnprovenBlock) Reset()
func (*UnprovenBlock) String ¶
func (x *UnprovenBlock) String() string
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type Validator ¶
type Validator struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` CelestiaAddress string `protobuf:"bytes,2,opt,name=celestia_address,json=celestiaAddress,proto3" json:"celestia_address,omitempty"` // contains filtered or unexported fields }
Validator is a mapping of a local validator's address to its Celestia transaction posting address for the purpose of feegranting blob posting on the DA layer.
func (*Validator) Descriptor
deprecated
func (*Validator) GetCelestiaAddress ¶
func (*Validator) GetValidatorAddress ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type Validators ¶
type Validators struct { // A list of all the validators Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
Validators is a collection of Validators.
func (*Validators) Descriptor
deprecated
func (*Validators) Descriptor() ([]byte, []int)
Deprecated: Use Validators.ProtoReflect.Descriptor instead.
func (*Validators) GetValidators ¶
func (x *Validators) GetValidators() []*Validator
func (*Validators) ProtoMessage ¶
func (*Validators) ProtoMessage()
func (*Validators) ProtoReflect ¶
func (x *Validators) ProtoReflect() protoreflect.Message
func (*Validators) Reset ¶
func (x *Validators) Reset()
func (*Validators) String ¶
func (x *Validators) String() string