Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBatchVerifierServer(s grpc.ServiceRegistrar, srv BatchVerifierServer)
- func RegisterSequencerInputServer(s grpc.ServiceRegistrar, srv SequencerInputServer)
- func RegisterSequencerOutputServer(s grpc.ServiceRegistrar, srv SequencerOutputServer)
- type Batch
- type BatchVerifierClient
- type BatchVerifierServer
- type SequencerInputClient
- type SequencerInputServer
- type SequencerOutputClient
- type SequencerOutputServer
- type SubmitRollupTransactionRequest
- func (*SubmitRollupTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitRollupTransactionRequest) GetData() []byte
- func (x *SubmitRollupTransactionRequest) GetRollupId() []byte
- func (*SubmitRollupTransactionRequest) ProtoMessage()
- func (x *SubmitRollupTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitRollupTransactionRequest) Reset()
- func (x *SubmitRollupTransactionRequest) String() string
- type SubmitRollupTransactionResponse
- func (*SubmitRollupTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (*SubmitRollupTransactionResponse) ProtoMessage()
- func (x *SubmitRollupTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitRollupTransactionResponse) Reset()
- func (x *SubmitRollupTransactionResponse) String() string
- type UnimplementedBatchVerifierServer
- type UnimplementedSequencerInputServer
- type UnimplementedSequencerOutputServer
- type UnsafeBatchVerifierServer
- type UnsafeSequencerInputServer
- type UnsafeSequencerOutputServer
- type VerificationResponse
- func (*VerificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationResponse) GetSuccess() bool
- func (*VerificationResponse) ProtoMessage()
- func (x *VerificationResponse) ProtoReflect() protoreflect.Message
- func (x *VerificationResponse) Reset()
- func (x *VerificationResponse) String() string
Constants ¶
const (
BatchVerifier_VerifyBatch_FullMethodName = "/sequencing.BatchVerifier/VerifyBatch"
)
const (
SequencerInput_SubmitRollupTransaction_FullMethodName = "/sequencing.SequencerInput/SubmitRollupTransaction"
)
const (
SequencerOutput_GetNextBatch_FullMethodName = "/sequencing.SequencerOutput/GetNextBatch"
)
Variables ¶
var BatchVerifier_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sequencing.BatchVerifier", HandlerType: (*BatchVerifierServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VerifyBatch", Handler: _BatchVerifier_VerifyBatch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sequencing.proto", }
BatchVerifier_ServiceDesc is the grpc.ServiceDesc for BatchVerifier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sequencing_proto protoreflect.FileDescriptor
var SequencerInput_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sequencing.SequencerInput", HandlerType: (*SequencerInputServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitRollupTransaction", Handler: _SequencerInput_SubmitRollupTransaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sequencing.proto", }
SequencerInput_ServiceDesc is the grpc.ServiceDesc for SequencerInput service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SequencerOutput_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sequencing.SequencerOutput", HandlerType: (*SequencerOutputServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNextBatch", Handler: _SequencerOutput_GetNextBatch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sequencing.proto", }
SequencerOutput_ServiceDesc is the grpc.ServiceDesc for SequencerOutput service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBatchVerifierServer ¶
func RegisterBatchVerifierServer(s grpc.ServiceRegistrar, srv BatchVerifierServer)
func RegisterSequencerInputServer ¶
func RegisterSequencerInputServer(s grpc.ServiceRegistrar, srv SequencerInputServer)
func RegisterSequencerOutputServer ¶
func RegisterSequencerOutputServer(s grpc.ServiceRegistrar, srv SequencerOutputServer)
Types ¶
type Batch ¶
type Batch struct { Transactions [][]byte `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
Batch holds a list of transactions
func (*Batch) Descriptor
deprecated
func (*Batch) GetTransactions ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type BatchVerifierClient ¶
type BatchVerifierClient interface { // VerifyBatch ... VerifyBatch(ctx context.Context, in *Batch, opts ...grpc.CallOption) (*VerificationResponse, error) }
BatchVerifierClient is the client API for BatchVerifier service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBatchVerifierClient ¶
func NewBatchVerifierClient(cc grpc.ClientConnInterface) BatchVerifierClient
type BatchVerifierServer ¶
type BatchVerifierServer interface { // VerifyBatch ... VerifyBatch(context.Context, *Batch) (*VerificationResponse, error) // contains filtered or unexported methods }
BatchVerifierServer is the server API for BatchVerifier service. All implementations must embed UnimplementedBatchVerifierServer for forward compatibility
type SequencerInputClient ¶
type SequencerInputClient interface { // SubmitRollupTransaction ... SubmitRollupTransaction(ctx context.Context, in *SubmitRollupTransactionRequest, opts ...grpc.CallOption) (*SubmitRollupTransactionResponse, error) }
SequencerInputClient is the client API for SequencerInput service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSequencerInputClient ¶
func NewSequencerInputClient(cc grpc.ClientConnInterface) SequencerInputClient
type SequencerInputServer ¶
type SequencerInputServer interface { // SubmitRollupTransaction ... SubmitRollupTransaction(context.Context, *SubmitRollupTransactionRequest) (*SubmitRollupTransactionResponse, error) // contains filtered or unexported methods }
SequencerInputServer is the server API for SequencerInput service. All implementations must embed UnimplementedSequencerInputServer for forward compatibility
type SequencerOutputClient ¶
type SequencerOutputClient interface { // SubmitRollupTransaction ... GetNextBatch(ctx context.Context, in *Batch, opts ...grpc.CallOption) (*Batch, error) }
SequencerOutputClient is the client API for SequencerOutput service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSequencerOutputClient ¶
func NewSequencerOutputClient(cc grpc.ClientConnInterface) SequencerOutputClient
type SequencerOutputServer ¶
type SequencerOutputServer interface { // SubmitRollupTransaction ... GetNextBatch(context.Context, *Batch) (*Batch, error) // contains filtered or unexported methods }
SequencerOutputServer is the server API for SequencerOutput service. All implementations must embed UnimplementedSequencerOutputServer for forward compatibility
type SubmitRollupTransactionRequest ¶
type SubmitRollupTransactionRequest struct { // the unhashed rollup id RollupId []byte `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"` // the raw data bytes of the rollup transaction Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SubmitRollupTransactionRequest ...
func (*SubmitRollupTransactionRequest) Descriptor
deprecated
func (*SubmitRollupTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRollupTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitRollupTransactionRequest) GetData ¶
func (x *SubmitRollupTransactionRequest) GetData() []byte
func (*SubmitRollupTransactionRequest) GetRollupId ¶
func (x *SubmitRollupTransactionRequest) GetRollupId() []byte
func (*SubmitRollupTransactionRequest) ProtoMessage ¶
func (*SubmitRollupTransactionRequest) ProtoMessage()
func (*SubmitRollupTransactionRequest) ProtoReflect ¶
func (x *SubmitRollupTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitRollupTransactionRequest) Reset ¶
func (x *SubmitRollupTransactionRequest) Reset()
func (*SubmitRollupTransactionRequest) String ¶
func (x *SubmitRollupTransactionRequest) String() string
type SubmitRollupTransactionResponse ¶
type SubmitRollupTransactionResponse struct {
// contains filtered or unexported fields
}
SubmitRollupTransactionResponse ...
func (*SubmitRollupTransactionResponse) Descriptor
deprecated
func (*SubmitRollupTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRollupTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitRollupTransactionResponse) ProtoMessage ¶
func (*SubmitRollupTransactionResponse) ProtoMessage()
func (*SubmitRollupTransactionResponse) ProtoReflect ¶
func (x *SubmitRollupTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitRollupTransactionResponse) Reset ¶
func (x *SubmitRollupTransactionResponse) Reset()
func (*SubmitRollupTransactionResponse) String ¶
func (x *SubmitRollupTransactionResponse) String() string
type UnimplementedBatchVerifierServer ¶
type UnimplementedBatchVerifierServer struct { }
UnimplementedBatchVerifierServer must be embedded to have forward compatible implementations.
func (UnimplementedBatchVerifierServer) VerifyBatch ¶
func (UnimplementedBatchVerifierServer) VerifyBatch(context.Context, *Batch) (*VerificationResponse, error)
type UnimplementedSequencerInputServer ¶
type UnimplementedSequencerInputServer struct { }
UnimplementedSequencerInputServer must be embedded to have forward compatible implementations.
func (UnimplementedSequencerInputServer) SubmitRollupTransaction ¶
func (UnimplementedSequencerInputServer) SubmitRollupTransaction(context.Context, *SubmitRollupTransactionRequest) (*SubmitRollupTransactionResponse, error)
type UnimplementedSequencerOutputServer ¶
type UnimplementedSequencerOutputServer struct { }
UnimplementedSequencerOutputServer must be embedded to have forward compatible implementations.
func (UnimplementedSequencerOutputServer) GetNextBatch ¶
type UnsafeBatchVerifierServer ¶
type UnsafeBatchVerifierServer interface {
// contains filtered or unexported methods
}
UnsafeBatchVerifierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BatchVerifierServer will result in compilation errors.
type UnsafeSequencerInputServer ¶
type UnsafeSequencerInputServer interface {
// contains filtered or unexported methods
}
UnsafeSequencerInputServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SequencerInputServer will result in compilation errors.
type UnsafeSequencerOutputServer ¶
type UnsafeSequencerOutputServer interface {
// contains filtered or unexported methods
}
UnsafeSequencerOutputServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SequencerOutputServer will result in compilation errors.
type VerificationResponse ¶
type VerificationResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
VerificationResponse
func (*VerificationResponse) Descriptor
deprecated
func (*VerificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerificationResponse.ProtoReflect.Descriptor instead.
func (*VerificationResponse) GetSuccess ¶
func (x *VerificationResponse) GetSuccess() bool
func (*VerificationResponse) ProtoMessage ¶
func (*VerificationResponse) ProtoMessage()
func (*VerificationResponse) ProtoReflect ¶
func (x *VerificationResponse) ProtoReflect() protoreflect.Message
func (*VerificationResponse) Reset ¶
func (x *VerificationResponse) Reset()
func (*VerificationResponse) String ¶
func (x *VerificationResponse) String() string