Documentation ¶
Index ¶
- Variables
- type BatchEnd
- func (*BatchEnd) Descriptor() ([]byte, []int)deprecated
- func (x *BatchEnd) GetDebug() *Debug
- func (x *BatchEnd) GetLocalExitRoot() []byte
- func (x *BatchEnd) GetNumber() uint64
- func (x *BatchEnd) GetStateRoot() []byte
- func (*BatchEnd) ProtoMessage()
- func (x *BatchEnd) ProtoReflect() protoreflect.Message
- func (x *BatchEnd) Reset()
- func (x *BatchEnd) String() string
- type BatchStart
- func (*BatchStart) Descriptor() ([]byte, []int)deprecated
- func (x *BatchStart) GetChainId() uint64
- func (x *BatchStart) GetDebug() *Debug
- func (x *BatchStart) GetForkId() uint64
- func (x *BatchStart) GetNumber() uint64
- func (x *BatchStart) GetType() BatchType
- func (*BatchStart) ProtoMessage()
- func (x *BatchStart) ProtoReflect() protoreflect.Message
- func (x *BatchStart) Reset()
- func (x *BatchStart) String() string
- type BatchType
- type BookMark
- type BookmarkType
- func (BookmarkType) Descriptor() protoreflect.EnumDescriptor
- func (x BookmarkType) Enum() *BookmarkType
- func (BookmarkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BookmarkType) Number() protoreflect.EnumNumber
- func (x BookmarkType) String() string
- func (BookmarkType) Type() protoreflect.EnumType
- type Debug
- type EntryType
- type L2Block
- func (*L2Block) Descriptor() ([]byte, []int)deprecated
- func (x *L2Block) GetBatchNumber() uint64
- func (x *L2Block) GetBlockGasLimit() uint64
- func (x *L2Block) GetBlockInfoRoot() []byte
- func (x *L2Block) GetCoinbase() []byte
- func (x *L2Block) GetDebug() *Debug
- func (x *L2Block) GetDeltaTimestamp() uint32
- func (x *L2Block) GetGlobalExitRoot() []byte
- func (x *L2Block) GetHash() []byte
- func (x *L2Block) GetL1Blockhash() []byte
- func (x *L2Block) GetL1InfotreeIndex() uint32
- func (x *L2Block) GetMinTimestamp() uint64
- func (x *L2Block) GetNumber() uint64
- func (x *L2Block) GetStateRoot() []byte
- func (x *L2Block) GetTimestamp() uint64
- func (*L2Block) ProtoMessage()
- func (x *L2Block) ProtoReflect() protoreflect.Message
- func (x *L2Block) Reset()
- func (x *L2Block) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetDebug() *Debug
- func (x *Transaction) GetEffectiveGasPricePercentage() uint32
- func (x *Transaction) GetEncoded() []byte
- func (x *Transaction) GetImStateRoot() []byte
- func (x *Transaction) GetIndex() uint64
- func (x *Transaction) GetIsValid() bool
- func (x *Transaction) GetL2BlockNumber() uint64
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type UpdateGER
- func (*UpdateGER) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGER) GetBatchNumber() uint64
- func (x *UpdateGER) GetChainId() uint64
- func (x *UpdateGER) GetCoinbase() []byte
- func (x *UpdateGER) GetDebug() *Debug
- func (x *UpdateGER) GetForkId() uint64
- func (x *UpdateGER) GetGlobalExitRoot() []byte
- func (x *UpdateGER) GetStateRoot() []byte
- func (x *UpdateGER) GetTimestamp() uint64
- func (*UpdateGER) ProtoMessage()
- func (x *UpdateGER) ProtoReflect() protoreflect.Message
- func (x *UpdateGER) Reset()
- func (x *UpdateGER) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BookmarkType_name = map[int32]string{ 0: "BOOKMARK_TYPE_UNSPECIFIED", 1: "BOOKMARK_TYPE_BATCH", 2: "BOOKMARK_TYPE_L2_BLOCK", } BookmarkType_value = map[string]int32{ "BOOKMARK_TYPE_UNSPECIFIED": 0, "BOOKMARK_TYPE_BATCH": 1, "BOOKMARK_TYPE_L2_BLOCK": 2, } )
Enum value maps for BookmarkType.
View Source
var ( EntryType_name = map[int32]string{ 0: "ENTRY_TYPE_UNSPECIFIED", 1: "ENTRY_TYPE_BATCH_START", 2: "ENTRY_TYPE_L2_BLOCK", 3: "ENTRY_TYPE_TRANSACTION", 4: "ENTRY_TYPE_BATCH_END", 5: "ENTRY_TYPE_UPDATE_GER", } EntryType_value = map[string]int32{ "ENTRY_TYPE_UNSPECIFIED": 0, "ENTRY_TYPE_BATCH_START": 1, "ENTRY_TYPE_L2_BLOCK": 2, "ENTRY_TYPE_TRANSACTION": 3, "ENTRY_TYPE_BATCH_END": 4, "ENTRY_TYPE_UPDATE_GER": 5, } )
Enum value maps for EntryType.
View Source
var ( BatchType_name = map[int32]string{ 0: "BATCH_TYPE_UNSPECIFIED", 1: "BATCH_TYPE_REGULAR", 2: "BATCH_TYPE_FORCED", 3: "BATCH_TYPE_INJECTED", } BatchType_value = map[string]int32{ "BATCH_TYPE_UNSPECIFIED": 0, "BATCH_TYPE_REGULAR": 1, "BATCH_TYPE_FORCED": 2, "BATCH_TYPE_INJECTED": 3, } )
Enum value maps for BatchType.
View Source
var File_datastream_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BatchEnd ¶ added in v0.2.0
type BatchEnd struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` LocalExitRoot []byte `protobuf:"bytes,2,opt,name=local_exit_root,json=localExitRoot,proto3" json:"local_exit_root,omitempty"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Debug *Debug `protobuf:"bytes,4,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*BatchEnd) Descriptor
deprecated
added in
v0.2.0
func (*BatchEnd) GetLocalExitRoot ¶ added in v0.2.0
func (*BatchEnd) GetStateRoot ¶ added in v0.2.0
func (*BatchEnd) ProtoMessage ¶ added in v0.2.0
func (*BatchEnd) ProtoMessage()
func (*BatchEnd) ProtoReflect ¶ added in v0.2.0
func (x *BatchEnd) ProtoReflect() protoreflect.Message
type BatchStart ¶ added in v0.2.0
type BatchStart struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Type BatchType `protobuf:"varint,2,opt,name=type,proto3,enum=datastream.v1.BatchType" json:"type,omitempty"` ForkId uint64 `protobuf:"varint,3,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` ChainId uint64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Debug *Debug `protobuf:"bytes,5,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*BatchStart) Descriptor
deprecated
added in
v0.2.0
func (*BatchStart) Descriptor() ([]byte, []int)
Deprecated: Use BatchStart.ProtoReflect.Descriptor instead.
func (*BatchStart) GetChainId ¶ added in v0.2.0
func (x *BatchStart) GetChainId() uint64
func (*BatchStart) GetDebug ¶ added in v0.2.0
func (x *BatchStart) GetDebug() *Debug
func (*BatchStart) GetForkId ¶ added in v0.2.0
func (x *BatchStart) GetForkId() uint64
func (*BatchStart) GetNumber ¶ added in v0.2.0
func (x *BatchStart) GetNumber() uint64
func (*BatchStart) GetType ¶ added in v0.2.0
func (x *BatchStart) GetType() BatchType
func (*BatchStart) ProtoMessage ¶ added in v0.2.0
func (*BatchStart) ProtoMessage()
func (*BatchStart) ProtoReflect ¶ added in v0.2.0
func (x *BatchStart) ProtoReflect() protoreflect.Message
func (*BatchStart) Reset ¶ added in v0.2.0
func (x *BatchStart) Reset()
func (*BatchStart) String ¶ added in v0.2.0
func (x *BatchStart) String() string
type BatchType ¶ added in v0.2.0
type BatchType int32
func (BatchType) Descriptor ¶ added in v0.2.0
func (BatchType) Descriptor() protoreflect.EnumDescriptor
func (BatchType) EnumDescriptor
deprecated
added in
v0.2.0
func (BatchType) Number ¶ added in v0.2.0
func (x BatchType) Number() protoreflect.EnumNumber
func (BatchType) Type ¶ added in v0.2.0
func (BatchType) Type() protoreflect.EnumType
type BookMark ¶
type BookMark struct { Type BookmarkType `protobuf:"varint,1,opt,name=type,proto3,enum=datastream.v1.BookmarkType" json:"type,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BookMark) Descriptor
deprecated
func (*BookMark) GetType ¶
func (x *BookMark) GetType() BookmarkType
func (*BookMark) ProtoMessage ¶
func (*BookMark) ProtoMessage()
func (*BookMark) ProtoReflect ¶
func (x *BookMark) ProtoReflect() protoreflect.Message
type BookmarkType ¶
type BookmarkType int32
const ( BookmarkType_BOOKMARK_TYPE_UNSPECIFIED BookmarkType = 0 BookmarkType_BOOKMARK_TYPE_BATCH BookmarkType = 1 BookmarkType_BOOKMARK_TYPE_L2_BLOCK BookmarkType = 2 )
func (BookmarkType) Descriptor ¶
func (BookmarkType) Descriptor() protoreflect.EnumDescriptor
func (BookmarkType) Enum ¶
func (x BookmarkType) Enum() *BookmarkType
func (BookmarkType) EnumDescriptor
deprecated
func (BookmarkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BookmarkType.Descriptor instead.
func (BookmarkType) Number ¶
func (x BookmarkType) Number() protoreflect.EnumNumber
func (BookmarkType) String ¶
func (x BookmarkType) String() string
func (BookmarkType) Type ¶
func (BookmarkType) Type() protoreflect.EnumType
type Debug ¶ added in v0.2.0
type Debug struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Debug) Descriptor
deprecated
added in
v0.2.0
func (*Debug) GetMessage ¶ added in v0.2.0
func (*Debug) ProtoMessage ¶ added in v0.2.0
func (*Debug) ProtoMessage()
func (*Debug) ProtoReflect ¶ added in v0.2.0
func (x *Debug) ProtoReflect() protoreflect.Message
type EntryType ¶
type EntryType int32
func (EntryType) Descriptor ¶
func (EntryType) Descriptor() protoreflect.EnumDescriptor
func (EntryType) EnumDescriptor
deprecated
func (EntryType) Number ¶
func (x EntryType) Number() protoreflect.EnumNumber
func (EntryType) Type ¶
func (EntryType) Type() protoreflect.EnumType
type L2Block ¶
type L2Block struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` BatchNumber uint64 `protobuf:"varint,2,opt,name=batch_number,json=batchNumber,proto3" json:"batch_number,omitempty"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` DeltaTimestamp uint32 `protobuf:"varint,4,opt,name=delta_timestamp,json=deltaTimestamp,proto3" json:"delta_timestamp,omitempty"` MinTimestamp uint64 `protobuf:"varint,5,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"` L1Blockhash []byte `protobuf:"bytes,6,opt,name=l1_blockhash,json=l1Blockhash,proto3" json:"l1_blockhash,omitempty"` L1InfotreeIndex uint32 `protobuf:"varint,7,opt,name=l1_infotree_index,json=l1InfotreeIndex,proto3" json:"l1_infotree_index,omitempty"` Hash []byte `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"` StateRoot []byte `protobuf:"bytes,9,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` GlobalExitRoot []byte `protobuf:"bytes,10,opt,name=global_exit_root,json=globalExitRoot,proto3" json:"global_exit_root,omitempty"` Coinbase []byte `protobuf:"bytes,11,opt,name=coinbase,proto3" json:"coinbase,omitempty"` BlockGasLimit uint64 `protobuf:"varint,12,opt,name=block_gas_limit,json=blockGasLimit,proto3" json:"block_gas_limit,omitempty"` BlockInfoRoot []byte `protobuf:"bytes,13,opt,name=block_info_root,json=blockInfoRoot,proto3" json:"block_info_root,omitempty"` Debug *Debug `protobuf:"bytes,14,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*L2Block) Descriptor
deprecated
func (*L2Block) GetBatchNumber ¶
func (*L2Block) GetBlockGasLimit ¶ added in v0.2.0
func (*L2Block) GetBlockInfoRoot ¶ added in v0.2.0
func (*L2Block) GetCoinbase ¶
func (*L2Block) GetDeltaTimestamp ¶
func (*L2Block) GetGlobalExitRoot ¶
func (*L2Block) GetL1Blockhash ¶
func (*L2Block) GetL1InfotreeIndex ¶
func (*L2Block) GetMinTimestamp ¶
func (*L2Block) GetStateRoot ¶
func (*L2Block) GetTimestamp ¶
func (*L2Block) ProtoMessage ¶
func (*L2Block) ProtoMessage()
func (*L2Block) ProtoReflect ¶
func (x *L2Block) ProtoReflect() protoreflect.Message
type Transaction ¶
type Transaction struct { L2BlockNumber uint64 `protobuf:"varint,1,opt,name=l2block_number,json=l2blockNumber,proto3" json:"l2block_number,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` IsValid bool `protobuf:"varint,3,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` Encoded []byte `protobuf:"bytes,4,opt,name=encoded,proto3" json:"encoded,omitempty"` EffectiveGasPricePercentage uint32 `` /* 147-byte string literal not displayed */ ImStateRoot []byte `protobuf:"bytes,6,opt,name=im_state_root,json=imStateRoot,proto3" json:"im_state_root,omitempty"` Debug *Debug `protobuf:"bytes,7,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetDebug ¶ added in v0.2.0
func (x *Transaction) GetDebug() *Debug
func (*Transaction) GetEffectiveGasPricePercentage ¶
func (x *Transaction) GetEffectiveGasPricePercentage() uint32
func (*Transaction) GetEncoded ¶
func (x *Transaction) GetEncoded() []byte
func (*Transaction) GetImStateRoot ¶
func (x *Transaction) GetImStateRoot() []byte
func (*Transaction) GetIndex ¶ added in v0.2.0
func (x *Transaction) GetIndex() uint64
func (*Transaction) GetIsValid ¶
func (x *Transaction) GetIsValid() bool
func (*Transaction) GetL2BlockNumber ¶
func (x *Transaction) GetL2BlockNumber() uint64
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type UpdateGER ¶
type UpdateGER struct { BatchNumber uint64 `protobuf:"varint,1,opt,name=batch_number,json=batchNumber,proto3" json:"batch_number,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` GlobalExitRoot []byte `protobuf:"bytes,3,opt,name=global_exit_root,json=globalExitRoot,proto3" json:"global_exit_root,omitempty"` Coinbase []byte `protobuf:"bytes,4,opt,name=coinbase,proto3" json:"coinbase,omitempty"` ForkId uint64 `protobuf:"varint,5,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` ChainId uint64 `protobuf:"varint,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` StateRoot []byte `protobuf:"bytes,7,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Debug *Debug `protobuf:"bytes,8,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*UpdateGER) Descriptor
deprecated
func (*UpdateGER) GetBatchNumber ¶
func (*UpdateGER) GetChainId ¶
func (*UpdateGER) GetCoinbase ¶
func (*UpdateGER) GetGlobalExitRoot ¶
func (*UpdateGER) GetStateRoot ¶
func (*UpdateGER) GetTimestamp ¶
func (*UpdateGER) ProtoMessage ¶
func (*UpdateGER) ProtoMessage()
func (*UpdateGER) ProtoReflect ¶
func (x *UpdateGER) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.