Documentation ¶
Index ¶
- Variables
- func RegisterBatchVerifierServer(s *grpc.Server, srv BatchVerifierServer)
- func RegisterSequencerInputServer(s *grpc.Server, srv SequencerInputServer)
- func RegisterSequencerOutputServer(s *grpc.Server, srv SequencerOutputServer)
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)
- func (m *Batch) GetTransactions() [][]byte
- func (m *Batch) Marshal() (dAtA []byte, err error)
- func (m *Batch) MarshalTo(dAtA []byte) (int, error)
- func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Batch) ProtoMessage()
- func (m *Batch) Reset()
- func (m *Batch) Size() (n int)
- func (m *Batch) String() string
- func (m *Batch) Unmarshal(dAtA []byte) error
- func (m *Batch) XXX_DiscardUnknown()
- func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Batch) XXX_Merge(src proto.Message)
- func (m *Batch) XXX_Size() int
- func (m *Batch) XXX_Unmarshal(b []byte) error
- type BatchVerifierClient
- type BatchVerifierServer
- type SequencerInputClient
- type SequencerInputServer
- type SequencerOutputClient
- type SequencerOutputServer
- type SubmitRollupTransactionRequest
- func (*SubmitRollupTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SubmitRollupTransactionRequest) GetData() []byte
- func (m *SubmitRollupTransactionRequest) GetRollupId() []byte
- func (m *SubmitRollupTransactionRequest) Marshal() (dAtA []byte, err error)
- func (m *SubmitRollupTransactionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitRollupTransactionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubmitRollupTransactionRequest) ProtoMessage()
- func (m *SubmitRollupTransactionRequest) Reset()
- func (m *SubmitRollupTransactionRequest) Size() (n int)
- func (m *SubmitRollupTransactionRequest) String() string
- func (m *SubmitRollupTransactionRequest) Unmarshal(dAtA []byte) error
- func (m *SubmitRollupTransactionRequest) XXX_DiscardUnknown()
- func (m *SubmitRollupTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitRollupTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SubmitRollupTransactionRequest) XXX_Size() int
- func (m *SubmitRollupTransactionRequest) XXX_Unmarshal(b []byte) error
- type SubmitRollupTransactionResponse
- func (*SubmitRollupTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SubmitRollupTransactionResponse) Marshal() (dAtA []byte, err error)
- func (m *SubmitRollupTransactionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitRollupTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubmitRollupTransactionResponse) ProtoMessage()
- func (m *SubmitRollupTransactionResponse) Reset()
- func (m *SubmitRollupTransactionResponse) Size() (n int)
- func (m *SubmitRollupTransactionResponse) String() string
- func (m *SubmitRollupTransactionResponse) Unmarshal(dAtA []byte) error
- func (m *SubmitRollupTransactionResponse) XXX_DiscardUnknown()
- func (m *SubmitRollupTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitRollupTransactionResponse) XXX_Merge(src proto.Message)
- func (m *SubmitRollupTransactionResponse) XXX_Size() int
- func (m *SubmitRollupTransactionResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedBatchVerifierServer
- type UnimplementedSequencerInputServer
- type UnimplementedSequencerOutputServer
- type VerificationResponse
- func (*VerificationResponse) Descriptor() ([]byte, []int)
- func (m *VerificationResponse) GetSuccess() bool
- func (m *VerificationResponse) Marshal() (dAtA []byte, err error)
- func (m *VerificationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationResponse) ProtoMessage()
- func (m *VerificationResponse) Reset()
- func (m *VerificationResponse) Size() (n int)
- func (m *VerificationResponse) String() string
- func (m *VerificationResponse) Unmarshal(dAtA []byte) error
- func (m *VerificationResponse) XXX_DiscardUnknown()
- func (m *VerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationResponse) XXX_Merge(src proto.Message)
- func (m *VerificationResponse) XXX_Size() int
- func (m *VerificationResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterBatchVerifierServer ¶
func RegisterBatchVerifierServer(s *grpc.Server, srv BatchVerifierServer)
func RegisterSequencerInputServer ¶
func RegisterSequencerInputServer(s *grpc.Server, srv SequencerInputServer)
func RegisterSequencerOutputServer ¶
func RegisterSequencerOutputServer(s *grpc.Server, srv SequencerOutputServer)
Types ¶
type Batch ¶
type Batch struct {
Transactions [][]byte `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
}
Batch holds a list of transactions
func (*Batch) Descriptor ¶
func (*Batch) GetTransactions ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) XXX_DiscardUnknown ¶
func (m *Batch) XXX_DiscardUnknown()
func (*Batch) XXX_Marshal ¶
func (*Batch) XXX_Unmarshal ¶
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBatchVerifierClient ¶
func NewBatchVerifierClient(cc *grpc.ClientConn) BatchVerifierClient
type BatchVerifierServer ¶
type BatchVerifierServer interface { // VerifyBatch ... VerifyBatch(context.Context, *Batch) (*VerificationResponse, error) }
BatchVerifierServer is the server API for BatchVerifier service.
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSequencerInputClient ¶
func NewSequencerInputClient(cc *grpc.ClientConn) SequencerInputClient
type SequencerInputServer ¶
type SequencerInputServer interface { // SubmitRollupTransaction ... SubmitRollupTransaction(context.Context, *SubmitRollupTransactionRequest) (*SubmitRollupTransactionResponse, error) }
SequencerInputServer is the server API for SequencerInput service.
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSequencerOutputClient ¶
func NewSequencerOutputClient(cc *grpc.ClientConn) SequencerOutputClient
type SequencerOutputServer ¶
type SequencerOutputServer interface { // SubmitRollupTransaction ... GetNextBatch(context.Context, *Batch) (*Batch, error) }
SequencerOutputServer is the server API for SequencerOutput service.
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"` }
SubmitRollupTransactionRequest ...
func (*SubmitRollupTransactionRequest) Descriptor ¶
func (*SubmitRollupTransactionRequest) Descriptor() ([]byte, []int)
func (*SubmitRollupTransactionRequest) GetData ¶
func (m *SubmitRollupTransactionRequest) GetData() []byte
func (*SubmitRollupTransactionRequest) GetRollupId ¶
func (m *SubmitRollupTransactionRequest) GetRollupId() []byte
func (*SubmitRollupTransactionRequest) Marshal ¶
func (m *SubmitRollupTransactionRequest) Marshal() (dAtA []byte, err error)
func (*SubmitRollupTransactionRequest) MarshalTo ¶
func (m *SubmitRollupTransactionRequest) MarshalTo(dAtA []byte) (int, error)
func (*SubmitRollupTransactionRequest) MarshalToSizedBuffer ¶
func (m *SubmitRollupTransactionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubmitRollupTransactionRequest) ProtoMessage ¶
func (*SubmitRollupTransactionRequest) ProtoMessage()
func (*SubmitRollupTransactionRequest) Reset ¶
func (m *SubmitRollupTransactionRequest) Reset()
func (*SubmitRollupTransactionRequest) Size ¶
func (m *SubmitRollupTransactionRequest) Size() (n int)
func (*SubmitRollupTransactionRequest) String ¶
func (m *SubmitRollupTransactionRequest) String() string
func (*SubmitRollupTransactionRequest) Unmarshal ¶
func (m *SubmitRollupTransactionRequest) Unmarshal(dAtA []byte) error
func (*SubmitRollupTransactionRequest) XXX_DiscardUnknown ¶
func (m *SubmitRollupTransactionRequest) XXX_DiscardUnknown()
func (*SubmitRollupTransactionRequest) XXX_Marshal ¶
func (m *SubmitRollupTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitRollupTransactionRequest) XXX_Merge ¶
func (m *SubmitRollupTransactionRequest) XXX_Merge(src proto.Message)
func (*SubmitRollupTransactionRequest) XXX_Size ¶
func (m *SubmitRollupTransactionRequest) XXX_Size() int
func (*SubmitRollupTransactionRequest) XXX_Unmarshal ¶
func (m *SubmitRollupTransactionRequest) XXX_Unmarshal(b []byte) error
type SubmitRollupTransactionResponse ¶
type SubmitRollupTransactionResponse struct { }
SubmitRollupTransactionResponse ...
func (*SubmitRollupTransactionResponse) Descriptor ¶
func (*SubmitRollupTransactionResponse) Descriptor() ([]byte, []int)
func (*SubmitRollupTransactionResponse) Marshal ¶
func (m *SubmitRollupTransactionResponse) Marshal() (dAtA []byte, err error)
func (*SubmitRollupTransactionResponse) MarshalTo ¶
func (m *SubmitRollupTransactionResponse) MarshalTo(dAtA []byte) (int, error)
func (*SubmitRollupTransactionResponse) MarshalToSizedBuffer ¶
func (m *SubmitRollupTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubmitRollupTransactionResponse) ProtoMessage ¶
func (*SubmitRollupTransactionResponse) ProtoMessage()
func (*SubmitRollupTransactionResponse) Reset ¶
func (m *SubmitRollupTransactionResponse) Reset()
func (*SubmitRollupTransactionResponse) Size ¶
func (m *SubmitRollupTransactionResponse) Size() (n int)
func (*SubmitRollupTransactionResponse) String ¶
func (m *SubmitRollupTransactionResponse) String() string
func (*SubmitRollupTransactionResponse) Unmarshal ¶
func (m *SubmitRollupTransactionResponse) Unmarshal(dAtA []byte) error
func (*SubmitRollupTransactionResponse) XXX_DiscardUnknown ¶
func (m *SubmitRollupTransactionResponse) XXX_DiscardUnknown()
func (*SubmitRollupTransactionResponse) XXX_Marshal ¶
func (m *SubmitRollupTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitRollupTransactionResponse) XXX_Merge ¶
func (m *SubmitRollupTransactionResponse) XXX_Merge(src proto.Message)
func (*SubmitRollupTransactionResponse) XXX_Size ¶
func (m *SubmitRollupTransactionResponse) XXX_Size() int
func (*SubmitRollupTransactionResponse) XXX_Unmarshal ¶
func (m *SubmitRollupTransactionResponse) XXX_Unmarshal(b []byte) error
type UnimplementedBatchVerifierServer ¶
type UnimplementedBatchVerifierServer struct { }
UnimplementedBatchVerifierServer can be embedded to have forward compatible implementations.
func (*UnimplementedBatchVerifierServer) VerifyBatch ¶
func (*UnimplementedBatchVerifierServer) VerifyBatch(ctx context.Context, req *Batch) (*VerificationResponse, error)
type UnimplementedSequencerInputServer ¶
type UnimplementedSequencerInputServer struct { }
UnimplementedSequencerInputServer can be embedded to have forward compatible implementations.
func (*UnimplementedSequencerInputServer) SubmitRollupTransaction ¶
func (*UnimplementedSequencerInputServer) SubmitRollupTransaction(ctx context.Context, req *SubmitRollupTransactionRequest) (*SubmitRollupTransactionResponse, error)
type UnimplementedSequencerOutputServer ¶
type UnimplementedSequencerOutputServer struct { }
UnimplementedSequencerOutputServer can be embedded to have forward compatible implementations.
func (*UnimplementedSequencerOutputServer) GetNextBatch ¶
type VerificationResponse ¶
type VerificationResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
VerificationResponse
func (*VerificationResponse) Descriptor ¶
func (*VerificationResponse) Descriptor() ([]byte, []int)
func (*VerificationResponse) GetSuccess ¶
func (m *VerificationResponse) GetSuccess() bool
func (*VerificationResponse) Marshal ¶
func (m *VerificationResponse) Marshal() (dAtA []byte, err error)
func (*VerificationResponse) MarshalTo ¶
func (m *VerificationResponse) MarshalTo(dAtA []byte) (int, error)
func (*VerificationResponse) MarshalToSizedBuffer ¶
func (m *VerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationResponse) ProtoMessage ¶
func (*VerificationResponse) ProtoMessage()
func (*VerificationResponse) Reset ¶
func (m *VerificationResponse) Reset()
func (*VerificationResponse) Size ¶
func (m *VerificationResponse) Size() (n int)
func (*VerificationResponse) String ¶
func (m *VerificationResponse) String() string
func (*VerificationResponse) Unmarshal ¶
func (m *VerificationResponse) Unmarshal(dAtA []byte) error
func (*VerificationResponse) XXX_DiscardUnknown ¶
func (m *VerificationResponse) XXX_DiscardUnknown()
func (*VerificationResponse) XXX_Marshal ¶
func (m *VerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationResponse) XXX_Merge ¶
func (m *VerificationResponse) XXX_Merge(src proto.Message)
func (*VerificationResponse) XXX_Size ¶
func (m *VerificationResponse) XXX_Size() int
func (*VerificationResponse) XXX_Unmarshal ¶
func (m *VerificationResponse) XXX_Unmarshal(b []byte) error