bor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-3.0 Imports: 20 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.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_GetSpanList_FullMethodName     = "/heimdallv2.bor.Query/GetSpanList"
	Query_GetLatestSpan_FullMethodName   = "/heimdallv2.bor.Query/GetLatestSpan"
	Query_GetNextSpanSeed_FullMethodName = "/heimdallv2.bor.Query/GetNextSpanSeed"
	Query_GetNextSpan_FullMethodName     = "/heimdallv2.bor.Query/GetNextSpan"
	Query_GetSpanById_FullMethodName     = "/heimdallv2.bor.Query/GetSpanById"
	Query_GetBorParams_FullMethodName    = "/heimdallv2.bor.Query/GetBorParams"
)
View Source
const (
	Msg_ProposeSpan_FullMethodName  = "/heimdallv2.bor.Msg/ProposeSpan"
	Msg_UpdateParams_FullMethodName = "/heimdallv2.bor.Msg/UpdateParams"
)

Variables

View Source
var File_heimdallv2_bor_bor_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_bor_genesis_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_bor_query_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_bor_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "heimdallv2.bor.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ProposeSpan",
			Handler:    _Msg_ProposeSpan_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "heimdallv2/bor/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: "heimdallv2.bor.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSpanList",
			Handler:    _Query_GetSpanList_Handler,
		},
		{
			MethodName: "GetLatestSpan",
			Handler:    _Query_GetLatestSpan_Handler,
		},
		{
			MethodName: "GetNextSpanSeed",
			Handler:    _Query_GetNextSpanSeed_Handler,
		},
		{
			MethodName: "GetNextSpan",
			Handler:    _Query_GetNextSpan_Handler,
		},
		{
			MethodName: "GetSpanById",
			Handler:    _Query_GetSpanById_Handler,
		},
		{
			MethodName: "GetBorParams",
			Handler:    _Query_GetBorParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "heimdallv2/bor/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 {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	Spans  []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
	// contains filtered or unexported fields
}

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetSpans

func (x *GenesisState) GetSpans() []*Span

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 {
	// ProposeSpan defines a method for proposing a bor span.
	ProposeSpan(ctx context.Context, in *MsgProposeSpan, opts ...grpc.CallOption) (*MsgProposeSpanResponse, error)
	// UpdateParams defines a method to update the bor params.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 MsgProposeSpan

type MsgProposeSpan struct {
	SpanId     uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	Proposer   string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	StartBlock uint64 `protobuf:"varint,3,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	EndBlock   uint64 `protobuf:"varint,4,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	ChainId    string `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Seed       []byte `protobuf:"bytes,6,opt,name=seed,proto3" json:"seed,omitempty"`
	SeedAuthor string `protobuf:"bytes,7,opt,name=seed_author,json=seedAuthor,proto3" json:"seed_author,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgProposeSpan) Descriptor deprecated

func (*MsgProposeSpan) Descriptor() ([]byte, []int)

Deprecated: Use MsgProposeSpan.ProtoReflect.Descriptor instead.

func (*MsgProposeSpan) GetChainId

func (x *MsgProposeSpan) GetChainId() string

func (*MsgProposeSpan) GetEndBlock

func (x *MsgProposeSpan) GetEndBlock() uint64

func (*MsgProposeSpan) GetProposer

func (x *MsgProposeSpan) GetProposer() string

func (*MsgProposeSpan) GetSeed

func (x *MsgProposeSpan) GetSeed() []byte

func (*MsgProposeSpan) GetSeedAuthor

func (x *MsgProposeSpan) GetSeedAuthor() string

func (*MsgProposeSpan) GetSpanId

func (x *MsgProposeSpan) GetSpanId() uint64

func (*MsgProposeSpan) GetStartBlock

func (x *MsgProposeSpan) GetStartBlock() uint64

func (*MsgProposeSpan) ProtoMessage

func (*MsgProposeSpan) ProtoMessage()

func (*MsgProposeSpan) ProtoReflect

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

func (*MsgProposeSpan) Reset

func (x *MsgProposeSpan) Reset()

func (*MsgProposeSpan) String

func (x *MsgProposeSpan) String() string

type MsgProposeSpanResponse

type MsgProposeSpanResponse struct {
	// contains filtered or unexported fields
}

func (*MsgProposeSpanResponse) Descriptor deprecated

func (*MsgProposeSpanResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgProposeSpanResponse.ProtoReflect.Descriptor instead.

func (*MsgProposeSpanResponse) ProtoMessage

func (*MsgProposeSpanResponse) ProtoMessage()

func (*MsgProposeSpanResponse) ProtoReflect

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

func (*MsgProposeSpanResponse) Reset

func (x *MsgProposeSpanResponse) Reset()

func (*MsgProposeSpanResponse) String

func (x *MsgProposeSpanResponse) String() string

type MsgServer

type MsgServer interface {
	// ProposeSpan defines a method for proposing a bor span.
	ProposeSpan(context.Context, *MsgProposeSpan) (*MsgProposeSpanResponse, error)
	// UpdateParams defines a method to update the bor params.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string  `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {
	SprintDuration uint64 `protobuf:"varint,1,opt,name=sprint_duration,json=sprintDuration,proto3" json:"sprint_duration,omitempty"`
	SpanDuration   uint64 `protobuf:"varint,2,opt,name=span_duration,json=spanDuration,proto3" json:"span_duration,omitempty"`
	ProducerCount  uint64 `protobuf:"varint,3,opt,name=producer_count,json=producerCount,proto3" json:"producer_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetProducerCount

func (x *Params) GetProducerCount() uint64

func (*Params) GetSpanDuration

func (x *Params) GetSpanDuration() uint64

func (*Params) GetSprintDuration

func (x *Params) GetSprintDuration() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// GetSpanList queries a list of spans.
	GetSpanList(ctx context.Context, in *QuerySpanListRequest, opts ...grpc.CallOption) (*QuerySpanListResponse, error)
	// GetLatestSpan queries the latest span.
	GetLatestSpan(ctx context.Context, in *QueryLatestSpanRequest, opts ...grpc.CallOption) (*QueryLatestSpanResponse, error)
	// GetNextSpanSeed queries the next span seed given a
	// QueryNextSpanSeedRequest.
	GetNextSpanSeed(ctx context.Context, in *QueryNextSpanSeedRequest, opts ...grpc.CallOption) (*QueryNextSpanSeedResponse, error)
	// GetNextSpan queries the next span given a QueryNextSpanRequest.
	GetNextSpan(ctx context.Context, in *QueryNextSpanRequest, opts ...grpc.CallOption) (*QueryNextSpanResponse, error)
	// GetSpanById retrieves a span by its id.
	GetSpanById(ctx context.Context, in *QuerySpanByIdRequest, opts ...grpc.CallOption) (*QuerySpanByIdResponse, error)
	// GetBorParams queries the parameters of x/bor module.
	GetBorParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryLatestSpanRequest

type QueryLatestSpanRequest struct {
	// contains filtered or unexported fields
}

func (*QueryLatestSpanRequest) Descriptor deprecated

func (*QueryLatestSpanRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryLatestSpanRequest.ProtoReflect.Descriptor instead.

func (*QueryLatestSpanRequest) ProtoMessage

func (*QueryLatestSpanRequest) ProtoMessage()

func (*QueryLatestSpanRequest) ProtoReflect

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

func (*QueryLatestSpanRequest) Reset

func (x *QueryLatestSpanRequest) Reset()

func (*QueryLatestSpanRequest) String

func (x *QueryLatestSpanRequest) String() string

type QueryLatestSpanResponse

type QueryLatestSpanResponse struct {
	Span *Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLatestSpanResponse) Descriptor deprecated

func (*QueryLatestSpanResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryLatestSpanResponse.ProtoReflect.Descriptor instead.

func (*QueryLatestSpanResponse) GetSpan

func (x *QueryLatestSpanResponse) GetSpan() *Span

func (*QueryLatestSpanResponse) ProtoMessage

func (*QueryLatestSpanResponse) ProtoMessage()

func (*QueryLatestSpanResponse) ProtoReflect

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

func (*QueryLatestSpanResponse) Reset

func (x *QueryLatestSpanResponse) Reset()

func (*QueryLatestSpanResponse) String

func (x *QueryLatestSpanResponse) String() string

type QueryNextSpanRequest

type QueryNextSpanRequest struct {
	SpanId     uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	StartBlock uint64 `protobuf:"varint,2,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	BorChainId string `protobuf:"bytes,3,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNextSpanRequest) Descriptor deprecated

func (*QueryNextSpanRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryNextSpanRequest.ProtoReflect.Descriptor instead.

func (*QueryNextSpanRequest) GetBorChainId

func (x *QueryNextSpanRequest) GetBorChainId() string

func (*QueryNextSpanRequest) GetSpanId

func (x *QueryNextSpanRequest) GetSpanId() uint64

func (*QueryNextSpanRequest) GetStartBlock

func (x *QueryNextSpanRequest) GetStartBlock() uint64

func (*QueryNextSpanRequest) ProtoMessage

func (*QueryNextSpanRequest) ProtoMessage()

func (*QueryNextSpanRequest) ProtoReflect

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

func (*QueryNextSpanRequest) Reset

func (x *QueryNextSpanRequest) Reset()

func (*QueryNextSpanRequest) String

func (x *QueryNextSpanRequest) String() string

type QueryNextSpanResponse

type QueryNextSpanResponse struct {
	Span *Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNextSpanResponse) Descriptor deprecated

func (*QueryNextSpanResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryNextSpanResponse.ProtoReflect.Descriptor instead.

func (*QueryNextSpanResponse) GetSpan

func (x *QueryNextSpanResponse) GetSpan() *Span

func (*QueryNextSpanResponse) ProtoMessage

func (*QueryNextSpanResponse) ProtoMessage()

func (*QueryNextSpanResponse) ProtoReflect

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

func (*QueryNextSpanResponse) Reset

func (x *QueryNextSpanResponse) Reset()

func (*QueryNextSpanResponse) String

func (x *QueryNextSpanResponse) String() string

type QueryNextSpanSeedRequest

type QueryNextSpanSeedRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNextSpanSeedRequest) Descriptor deprecated

func (*QueryNextSpanSeedRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryNextSpanSeedRequest.ProtoReflect.Descriptor instead.

func (*QueryNextSpanSeedRequest) GetId

func (x *QueryNextSpanSeedRequest) GetId() uint64

func (*QueryNextSpanSeedRequest) ProtoMessage

func (*QueryNextSpanSeedRequest) ProtoMessage()

func (*QueryNextSpanSeedRequest) ProtoReflect

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

func (*QueryNextSpanSeedRequest) Reset

func (x *QueryNextSpanSeedRequest) Reset()

func (*QueryNextSpanSeedRequest) String

func (x *QueryNextSpanSeedRequest) String() string

type QueryNextSpanSeedResponse

type QueryNextSpanSeedResponse struct {
	Seed       string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"`
	SeedAuthor string `protobuf:"bytes,2,opt,name=seed_author,json=seedAuthor,proto3" json:"seed_author,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNextSpanSeedResponse) Descriptor deprecated

func (*QueryNextSpanSeedResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryNextSpanSeedResponse.ProtoReflect.Descriptor instead.

func (*QueryNextSpanSeedResponse) GetSeed

func (x *QueryNextSpanSeedResponse) GetSeed() string

func (*QueryNextSpanSeedResponse) GetSeedAuthor

func (x *QueryNextSpanSeedResponse) GetSeedAuthor() string

func (*QueryNextSpanSeedResponse) ProtoMessage

func (*QueryNextSpanSeedResponse) ProtoMessage()

func (*QueryNextSpanSeedResponse) ProtoReflect

func (*QueryNextSpanSeedResponse) Reset

func (x *QueryNextSpanSeedResponse) Reset()

func (*QueryNextSpanSeedResponse) String

func (x *QueryNextSpanSeedResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// GetSpanList queries a list of spans.
	GetSpanList(context.Context, *QuerySpanListRequest) (*QuerySpanListResponse, error)
	// GetLatestSpan queries the latest span.
	GetLatestSpan(context.Context, *QueryLatestSpanRequest) (*QueryLatestSpanResponse, error)
	// GetNextSpanSeed queries the next span seed given a
	// QueryNextSpanSeedRequest.
	GetNextSpanSeed(context.Context, *QueryNextSpanSeedRequest) (*QueryNextSpanSeedResponse, error)
	// GetNextSpan queries the next span given a QueryNextSpanRequest.
	GetNextSpan(context.Context, *QueryNextSpanRequest) (*QueryNextSpanResponse, error)
	// GetSpanById retrieves a span by its id.
	GetSpanById(context.Context, *QuerySpanByIdRequest) (*QuerySpanByIdResponse, error)
	// GetBorParams queries the parameters of x/bor module.
	GetBorParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QuerySpanByIdRequest

type QuerySpanByIdRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpanByIdRequest) Descriptor deprecated

func (*QuerySpanByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpanByIdRequest.ProtoReflect.Descriptor instead.

func (*QuerySpanByIdRequest) GetId

func (x *QuerySpanByIdRequest) GetId() string

func (*QuerySpanByIdRequest) ProtoMessage

func (*QuerySpanByIdRequest) ProtoMessage()

func (*QuerySpanByIdRequest) ProtoReflect

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

func (*QuerySpanByIdRequest) Reset

func (x *QuerySpanByIdRequest) Reset()

func (*QuerySpanByIdRequest) String

func (x *QuerySpanByIdRequest) String() string

type QuerySpanByIdResponse

type QuerySpanByIdResponse struct {
	Span *Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpanByIdResponse) Descriptor deprecated

func (*QuerySpanByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpanByIdResponse.ProtoReflect.Descriptor instead.

func (*QuerySpanByIdResponse) GetSpan

func (x *QuerySpanByIdResponse) GetSpan() *Span

func (*QuerySpanByIdResponse) ProtoMessage

func (*QuerySpanByIdResponse) ProtoMessage()

func (*QuerySpanByIdResponse) ProtoReflect

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

func (*QuerySpanByIdResponse) Reset

func (x *QuerySpanByIdResponse) Reset()

func (*QuerySpanByIdResponse) String

func (x *QuerySpanByIdResponse) String() string

type QuerySpanListRequest

type QuerySpanListRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpanListRequest) Descriptor deprecated

func (*QuerySpanListRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpanListRequest.ProtoReflect.Descriptor instead.

func (*QuerySpanListRequest) GetPagination

func (x *QuerySpanListRequest) GetPagination() *v1beta1.PageRequest

func (*QuerySpanListRequest) ProtoMessage

func (*QuerySpanListRequest) ProtoMessage()

func (*QuerySpanListRequest) ProtoReflect

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

func (*QuerySpanListRequest) Reset

func (x *QuerySpanListRequest) Reset()

func (*QuerySpanListRequest) String

func (x *QuerySpanListRequest) String() string

type QuerySpanListResponse

type QuerySpanListResponse struct {
	SpanList   []*Span               `protobuf:"bytes,1,rep,name=span_list,json=spanList,proto3" json:"span_list,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySpanListResponse) Descriptor deprecated

func (*QuerySpanListResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySpanListResponse.ProtoReflect.Descriptor instead.

func (*QuerySpanListResponse) GetPagination

func (x *QuerySpanListResponse) GetPagination() *v1beta1.PageResponse

func (*QuerySpanListResponse) GetSpanList

func (x *QuerySpanListResponse) GetSpanList() []*Span

func (*QuerySpanListResponse) ProtoMessage

func (*QuerySpanListResponse) ProtoMessage()

func (*QuerySpanListResponse) ProtoReflect

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

func (*QuerySpanListResponse) Reset

func (x *QuerySpanListResponse) Reset()

func (*QuerySpanListResponse) String

func (x *QuerySpanListResponse) String() string

type Span

type Span struct {
	Id                uint64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StartBlock        uint64              `protobuf:"varint,2,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	EndBlock          uint64              `protobuf:"varint,3,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	ValidatorSet      *stake.ValidatorSet `protobuf:"bytes,4,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
	SelectedProducers []*stake.Validator  `protobuf:"bytes,5,rep,name=selected_producers,json=selectedProducers,proto3" json:"selected_producers,omitempty"`
	BorChainId        string              `protobuf:"bytes,6,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Span) Descriptor deprecated

func (*Span) Descriptor() ([]byte, []int)

Deprecated: Use Span.ProtoReflect.Descriptor instead.

func (*Span) GetBorChainId

func (x *Span) GetBorChainId() string

func (*Span) GetEndBlock

func (x *Span) GetEndBlock() uint64

func (*Span) GetId

func (x *Span) GetId() uint64

func (*Span) GetSelectedProducers

func (x *Span) GetSelectedProducers() []*stake.Validator

func (*Span) GetStartBlock

func (x *Span) GetStartBlock() uint64

func (*Span) GetValidatorSet

func (x *Span) GetValidatorSet() *stake.ValidatorSet

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) ProtoReflect

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

func (*Span) Reset

func (x *Span) Reset()

func (*Span) String

func (x *Span) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) ProposeSpan

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) GetBorParams

func (UnimplementedQueryServer) GetLatestSpan

func (UnimplementedQueryServer) GetNextSpan

func (UnimplementedQueryServer) GetSpanById

func (UnimplementedQueryServer) GetSpanList

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.

Jump to

Keyboard shortcuts

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