protosigverifierservice

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Verifier_StartStream_FullMethodName = "/protosigverifierservice.Verifier/StartStream"
)

Variables

View Source
var File_api_protosigverifierservice_verifier_proto protoreflect.FileDescriptor
View Source
var Verifier_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protosigverifierservice.Verifier",
	HandlerType: (*VerifierServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StartStream",
			Handler:       _Verifier_StartStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "api/protosigverifierservice/verifier.proto",
}

Verifier_ServiceDesc is the grpc.ServiceDesc for Verifier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVerifierServer

func RegisterVerifierServer(s grpc.ServiceRegistrar, srv VerifierServer)

Types

type Request

type Request struct {
	BlockNum uint64           `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	TxNum    uint64           `protobuf:"varint,2,opt,name=tx_num,json=txNum,proto3" json:"tx_num,omitempty"`
	Tx       *protoblocktx.Tx `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetBlockNum

func (x *Request) GetBlockNum() uint64

func (*Request) GetTx

func (x *Request) GetTx() *protoblocktx.Tx

func (*Request) GetTxNum

func (x *Request) GetTxNum() uint64

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type RequestBatch

type RequestBatch struct {
	Update   *Update    `protobuf:"bytes,1,opt,name=update,proto3,oneof" json:"update,omitempty"`
	Requests []*Request `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBatch) Descriptor deprecated

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

Deprecated: Use RequestBatch.ProtoReflect.Descriptor instead.

func (*RequestBatch) GetRequests

func (x *RequestBatch) GetRequests() []*Request

func (*RequestBatch) GetUpdate

func (x *RequestBatch) GetUpdate() *Update

func (*RequestBatch) ProtoMessage

func (*RequestBatch) ProtoMessage()

func (*RequestBatch) ProtoReflect

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

func (*RequestBatch) Reset

func (x *RequestBatch) Reset()

func (*RequestBatch) String

func (x *RequestBatch) String() string

type Response

type Response struct {
	BlockNum uint64              `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	TxNum    uint64              `protobuf:"varint,2,opt,name=tx_num,json=txNum,proto3" json:"tx_num,omitempty"`
	TxId     string              `protobuf:"bytes,3,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	Status   protoblocktx.Status `protobuf:"varint,4,opt,name=status,proto3,enum=protoblocktx.Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetBlockNum

func (x *Response) GetBlockNum() uint64

func (*Response) GetStatus

func (x *Response) GetStatus() protoblocktx.Status

func (*Response) GetTxId

func (x *Response) GetTxId() string

func (*Response) GetTxNum

func (x *Response) GetTxNum() uint64

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type ResponseBatch

type ResponseBatch struct {
	Responses []*Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseBatch) Descriptor deprecated

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

Deprecated: Use ResponseBatch.ProtoReflect.Descriptor instead.

func (*ResponseBatch) GetResponses

func (x *ResponseBatch) GetResponses() []*Response

func (*ResponseBatch) ProtoMessage

func (*ResponseBatch) ProtoMessage()

func (*ResponseBatch) ProtoReflect

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

func (*ResponseBatch) Reset

func (x *ResponseBatch) Reset()

func (*ResponseBatch) String

func (x *ResponseBatch) String() string

type UnimplementedVerifierServer

type UnimplementedVerifierServer struct {
}

UnimplementedVerifierServer must be embedded to have forward compatible implementations.

func (UnimplementedVerifierServer) StartStream

type UnsafeVerifierServer

type UnsafeVerifierServer interface {
	// contains filtered or unexported methods
}

UnsafeVerifierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VerifierServer will result in compilation errors.

type Update

type Update struct {
	Config            *protoblocktx.ConfigTransaction `protobuf:"bytes,1,opt,name=config,proto3,oneof" json:"config,omitempty"`
	NamespacePolicies *protoblocktx.NamespacePolicies `protobuf:"bytes,2,opt,name=namespace_policies,json=namespacePolicies,proto3,oneof" json:"namespace_policies,omitempty"`
	// contains filtered or unexported fields
}

func (*Update) Descriptor deprecated

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

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetConfig

func (x *Update) GetConfig() *protoblocktx.ConfigTransaction

func (*Update) GetNamespacePolicies

func (x *Update) GetNamespacePolicies() *protoblocktx.NamespacePolicies

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

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

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string

type VerifierClient

type VerifierClient interface {
	StartStream(ctx context.Context, opts ...grpc.CallOption) (Verifier_StartStreamClient, error)
}

VerifierClient is the client API for Verifier 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 NewVerifierClient

func NewVerifierClient(cc grpc.ClientConnInterface) VerifierClient

type VerifierServer

type VerifierServer interface {
	StartStream(Verifier_StartStreamServer) error
	// contains filtered or unexported methods
}

VerifierServer is the server API for Verifier service. All implementations must embed UnimplementedVerifierServer for forward compatibility

type Verifier_StartStreamClient

type Verifier_StartStreamClient interface {
	Send(*RequestBatch) error
	Recv() (*ResponseBatch, error)
	grpc.ClientStream
}

type Verifier_StartStreamServer

type Verifier_StartStreamServer interface {
	Send(*ResponseBatch) error
	Recv() (*RequestBatch, error)
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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