Documentation
¶
Index ¶
- Variables
- type Iteration
- func (*Iteration) Descriptor() ([]byte, []int)deprecated
- func (x *Iteration) GetBlockNumber() uint64
- func (x *Iteration) GetDirection() Iteration_Direction
- func (x *Iteration) GetHeader() *common.Hash
- func (x *Iteration) GetLimit() uint64
- func (x *Iteration) GetStart() isIteration_Start
- func (x *Iteration) GetStep() uint64
- func (*Iteration) ProtoMessage()
- func (x *Iteration) ProtoReflect() protoreflect.Message
- func (x *Iteration) Reset()
- func (x *Iteration) String() string
- type Iteration_BlockNumber
- type Iteration_Direction
- func (Iteration_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x Iteration_Direction) Enum() *Iteration_Direction
- func (Iteration_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Iteration_Direction) Number() protoreflect.EnumNumber
- func (x Iteration_Direction) String() string
- func (Iteration_Direction) Type() protoreflect.EnumType
- type Iteration_Header
- type StateDiffCommitment
- func (*StateDiffCommitment) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiffCommitment) GetRoot() *common.Hash
- func (x *StateDiffCommitment) GetStateDiffLength() uint64
- func (*StateDiffCommitment) ProtoMessage()
- func (x *StateDiffCommitment) ProtoReflect() protoreflect.Message
- func (x *StateDiffCommitment) Reset()
- func (x *StateDiffCommitment) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Iteration_Direction_name = map[int32]string{ 0: "Forward", 1: "Backward", } Iteration_Direction_value = map[string]int32{ "Forward": 0, "Backward": 1, } )
Enum value maps for Iteration_Direction.
View Source
var File_p2p_proto_sync_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Iteration ¶
type Iteration struct {
// Types that are valid to be assigned to Start:
//
// *Iteration_BlockNumber
// *Iteration_Header
Start isIteration_Start `protobuf_oneof:"start"`
Direction Iteration_Direction `protobuf:"varint,3,opt,name=direction,proto3,enum=Iteration_Direction" json:"direction,omitempty"`
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
Step uint64 `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"` // to allow interleaving from several nodes
// contains filtered or unexported fields
}
func (*Iteration) Descriptor
deprecated
func (*Iteration) GetBlockNumber ¶
func (*Iteration) GetDirection ¶
func (x *Iteration) GetDirection() Iteration_Direction
func (*Iteration) ProtoMessage ¶
func (*Iteration) ProtoMessage()
func (*Iteration) ProtoReflect ¶
func (x *Iteration) ProtoReflect() protoreflect.Message
type Iteration_BlockNumber ¶
type Iteration_BlockNumber struct {
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3,oneof"`
}
type Iteration_Direction ¶
type Iteration_Direction int32
const ( Iteration_Forward Iteration_Direction = 0 Iteration_Backward Iteration_Direction = 1 )
func (Iteration_Direction) Descriptor ¶
func (Iteration_Direction) Descriptor() protoreflect.EnumDescriptor
func (Iteration_Direction) Enum ¶
func (x Iteration_Direction) Enum() *Iteration_Direction
func (Iteration_Direction) EnumDescriptor
deprecated
func (Iteration_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Iteration_Direction.Descriptor instead.
func (Iteration_Direction) Number ¶
func (x Iteration_Direction) Number() protoreflect.EnumNumber
func (Iteration_Direction) String ¶
func (x Iteration_Direction) String() string
func (Iteration_Direction) Type ¶
func (Iteration_Direction) Type() protoreflect.EnumType
type Iteration_Header ¶
type StateDiffCommitment ¶
type StateDiffCommitment struct {
StateDiffLength uint64 `protobuf:"varint,1,opt,name=state_diff_length,json=stateDiffLength,proto3" json:"state_diff_length,omitempty"`
Root *common.Hash `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
// contains filtered or unexported fields
}
func (*StateDiffCommitment) Descriptor
deprecated
func (*StateDiffCommitment) Descriptor() ([]byte, []int)
Deprecated: Use StateDiffCommitment.ProtoReflect.Descriptor instead.
func (*StateDiffCommitment) GetRoot ¶
func (x *StateDiffCommitment) GetRoot() *common.Hash
func (*StateDiffCommitment) GetStateDiffLength ¶
func (x *StateDiffCommitment) GetStateDiffLength() uint64
func (*StateDiffCommitment) ProtoMessage ¶
func (*StateDiffCommitment) ProtoMessage()
func (*StateDiffCommitment) ProtoReflect ¶
func (x *StateDiffCommitment) ProtoReflect() protoreflect.Message
func (*StateDiffCommitment) Reset ¶
func (x *StateDiffCommitment) Reset()
func (*StateDiffCommitment) String ¶
func (x *StateDiffCommitment) String() string
Click to show internal directories.
Click to hide internal directories.