tiablobv1

package
v0.0.0-...-a168d6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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.

Index

Constants

View Source
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"
)
View Source
const (
	Msg_SetCelestiaAddress_FullMethodName = "/rollchains.tiablob.v1.Msg/SetCelestiaAddress"
)

Variables

View Source
var File_rollchains_tiablob_v1_query_proto protoreflect.FileDescriptor
View Source
var File_rollchains_tiablob_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_rollchains_tiablob_v1_validator_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 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 (*MsgSetCelestiaAddressResponse) Reset

func (x *MsgSetCelestiaAddressResponse) Reset()

func (*MsgSetCelestiaAddressResponse) 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 (*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 (*QueryCelestiaAddressResponse) Reset

func (x *QueryCelestiaAddressResponse) Reset()

func (*QueryCelestiaAddressResponse) 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 (*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 (*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 (*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 (*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 (*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.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

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) Descriptor() ([]byte, []int)

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetCelestiaAddress

func (x *Validator) GetCelestiaAddress() string

func (*Validator) GetValidatorAddress

func (x *Validator) GetValidatorAddress() string

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL