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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetClientId() string
- func (x *GenesisState) GetProvenHeight() uint64
- func (x *GenesisState) GetValidators() []*Validator
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgProveBlock
- func (*MsgProveBlock) Descriptor() ([]byte, []int)deprecated
- func (x *MsgProveBlock) GetHeight() uint64
- func (x *MsgProveBlock) GetProof() []byte
- func (x *MsgProveBlock) GetValidatorAddress() string
- func (*MsgProveBlock) ProtoMessage()
- func (x *MsgProveBlock) ProtoReflect() protoreflect.Message
- func (x *MsgProveBlock) Reset()
- func (x *MsgProveBlock) String() string
- type MsgProveBlockResponse
- 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 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 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
- 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" )
const ( Msg_SetCelestiaAddress_FullMethodName = "/rollchains.tiablob.v1.Msg/SetCelestiaAddress" Msg_ProveBlock_FullMethodName = "/rollchains.tiablob.v1.Msg/ProveBlock" )
Variables ¶
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, }, { MethodName: "ProveBlock", Handler: _Msg_ProveBlock_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, }, }, 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 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 uint64 `protobuf:"varint,2,opt,name=proven_height,json=provenHeight,proto3" json:"proven_height,omitempty"` // ID of the IBC client tracking Celestia ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,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) GetClientId ¶
func (x *GenesisState) GetClientId() string
func (*GenesisState) GetProvenHeight ¶
func (x *GenesisState) GetProvenHeight() uint64
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 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) // ProveBlock allows a validator to submit a proof of a block that has been posted to Celestia ProveBlock(ctx context.Context, in *MsgProveBlock, opts ...grpc.CallOption) (*MsgProveBlockResponse, 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 MsgProveBlock ¶
type MsgProveBlock struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Proof []byte `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*MsgProveBlock) Descriptor
deprecated
func (*MsgProveBlock) Descriptor() ([]byte, []int)
Deprecated: Use MsgProveBlock.ProtoReflect.Descriptor instead.
func (*MsgProveBlock) GetHeight ¶
func (x *MsgProveBlock) GetHeight() uint64
func (*MsgProveBlock) GetProof ¶
func (x *MsgProveBlock) GetProof() []byte
func (*MsgProveBlock) GetValidatorAddress ¶
func (x *MsgProveBlock) GetValidatorAddress() string
func (*MsgProveBlock) ProtoMessage ¶
func (*MsgProveBlock) ProtoMessage()
func (*MsgProveBlock) ProtoReflect ¶
func (x *MsgProveBlock) ProtoReflect() protoreflect.Message
func (*MsgProveBlock) Reset ¶
func (x *MsgProveBlock) Reset()
func (*MsgProveBlock) String ¶
func (x *MsgProveBlock) String() string
type MsgProveBlockResponse ¶
type MsgProveBlockResponse struct {
// contains filtered or unexported fields
}
func (*MsgProveBlockResponse) Descriptor
deprecated
func (*MsgProveBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgProveBlockResponse.ProtoReflect.Descriptor instead.
func (*MsgProveBlockResponse) ProtoMessage ¶
func (*MsgProveBlockResponse) ProtoMessage()
func (*MsgProveBlockResponse) ProtoReflect ¶
func (x *MsgProveBlockResponse) ProtoReflect() protoreflect.Message
func (*MsgProveBlockResponse) Reset ¶
func (x *MsgProveBlockResponse) Reset()
func (*MsgProveBlockResponse) String ¶
func (x *MsgProveBlockResponse) String() string
type MsgServer ¶
type MsgServer interface { // SetCelestiaAddress allows a validator to configure their Celestia address for feegranting SetCelestiaAddress(context.Context, *MsgSetCelestiaAddress) (*MsgSetCelestiaAddressResponse, error) // ProveBlock allows a validator to submit a proof of a block that has been posted to Celestia ProveBlock(context.Context, *MsgProveBlock) (*MsgProveBlockResponse, 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 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) }
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 QueryServer ¶
type QueryServer interface { // Validators returns registered validators of the module. Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error) CelestiaAddress(context.Context, *QueryCelestiaAddressRequest) (*QueryCelestiaAddressResponse, 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) ProveBlock ¶
func (UnimplementedMsgServer) ProveBlock(context.Context, *MsgProveBlock) (*MsgProveBlockResponse, error)
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) Validators ¶
func (UnimplementedQueryServer) Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error)
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