Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: b39bb565b34add934304fdd716d14cb913acca74f226a8fd1f0c0c390e3bc247
Index ¶
- Variables
- type BodiesByRangeRequest
- func (*BodiesByRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BodiesByRangeRequest) GetCount() uint64
- func (x *BodiesByRangeRequest) GetStartBlockNumber() *types_pb.H256
- func (x *BodiesByRangeRequest) GetStep() uint64
- func (b *BodiesByRangeRequest) HashTreeRoot() ([32]byte, error)
- func (b *BodiesByRangeRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (b *BodiesByRangeRequest) MarshalSSZ() ([]byte, error)
- func (b *BodiesByRangeRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*BodiesByRangeRequest) ProtoMessage()
- func (x *BodiesByRangeRequest) ProtoReflect() protoreflect.Message
- func (x *BodiesByRangeRequest) Reset()
- func (b *BodiesByRangeRequest) SizeSSZ() (size int)
- func (x *BodiesByRangeRequest) String() string
- func (b *BodiesByRangeRequest) UnmarshalSSZ(buf []byte) error
- type ForkData
- func (*ForkData) Descriptor() ([]byte, []int)deprecated
- func (x *ForkData) GetCurrentVersion() *types_pb.H256
- func (x *ForkData) GetGenesisValidatorsRoot() *types_pb.H256
- func (f *ForkData) HashTreeRoot() ([32]byte, error)
- func (f *ForkData) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (f *ForkData) MarshalSSZ() ([]byte, error)
- func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ForkData) ProtoMessage()
- func (x *ForkData) ProtoReflect() protoreflect.Message
- func (x *ForkData) Reset()
- func (f *ForkData) SizeSSZ() (size int)
- func (x *ForkData) String() string
- func (f *ForkData) UnmarshalSSZ(buf []byte) error
- type HeadersByRangeRequest
- func (*HeadersByRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeadersByRangeRequest) GetCount() uint64
- func (x *HeadersByRangeRequest) GetStartBlockNumber() *types_pb.H256
- func (x *HeadersByRangeRequest) GetStep() uint64
- func (h *HeadersByRangeRequest) HashTreeRoot() ([32]byte, error)
- func (h *HeadersByRangeRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *HeadersByRangeRequest) MarshalSSZ() ([]byte, error)
- func (h *HeadersByRangeRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*HeadersByRangeRequest) ProtoMessage()
- func (x *HeadersByRangeRequest) ProtoReflect() protoreflect.Message
- func (x *HeadersByRangeRequest) Reset()
- func (h *HeadersByRangeRequest) SizeSSZ() (size int)
- func (x *HeadersByRangeRequest) String() string
- func (h *HeadersByRangeRequest) UnmarshalSSZ(buf []byte) error
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)deprecated
- func (x *Ping) GetSeqNumber() uint64
- func (p *Ping) HashTreeRoot() ([32]byte, error)
- func (p *Ping) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (p *Ping) MarshalSSZ() ([]byte, error)
- func (p *Ping) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Ping) ProtoMessage()
- func (x *Ping) ProtoReflect() protoreflect.Message
- func (x *Ping) Reset()
- func (p *Ping) SizeSSZ() (size int)
- func (x *Ping) String() string
- func (p *Ping) UnmarshalSSZ(buf []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCurrentHeight() *types_pb.H256
- func (x *Status) GetGenesisHash() *types_pb.H256
- func (s *Status) HashTreeRoot() ([32]byte, error)
- func (s *Status) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *Status) MarshalSSZ() ([]byte, error)
- func (s *Status) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (s *Status) SizeSSZ() (size int)
- func (x *Status) String() string
- func (s *Status) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_sync_pb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BodiesByRangeRequest ¶
type BodiesByRangeRequest struct { StartBlockNumber *types_pb.H256 `protobuf:"bytes,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
func (*BodiesByRangeRequest) Descriptor
deprecated
func (*BodiesByRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use BodiesByRangeRequest.ProtoReflect.Descriptor instead.
func (*BodiesByRangeRequest) GetCount ¶
func (x *BodiesByRangeRequest) GetCount() uint64
func (*BodiesByRangeRequest) GetStartBlockNumber ¶
func (x *BodiesByRangeRequest) GetStartBlockNumber() *types_pb.H256
func (*BodiesByRangeRequest) GetStep ¶
func (x *BodiesByRangeRequest) GetStep() uint64
func (*BodiesByRangeRequest) HashTreeRoot ¶
func (b *BodiesByRangeRequest) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BodiesByRangeRequest object
func (*BodiesByRangeRequest) HashTreeRootWith ¶
func (b *BodiesByRangeRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the BodiesByRangeRequest object with a hasher
func (*BodiesByRangeRequest) MarshalSSZ ¶
func (b *BodiesByRangeRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BodiesByRangeRequest object
func (*BodiesByRangeRequest) MarshalSSZTo ¶
func (b *BodiesByRangeRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BodiesByRangeRequest object to a target array
func (*BodiesByRangeRequest) ProtoMessage ¶
func (*BodiesByRangeRequest) ProtoMessage()
func (*BodiesByRangeRequest) ProtoReflect ¶
func (x *BodiesByRangeRequest) ProtoReflect() protoreflect.Message
func (*BodiesByRangeRequest) Reset ¶
func (x *BodiesByRangeRequest) Reset()
func (*BodiesByRangeRequest) SizeSSZ ¶
func (b *BodiesByRangeRequest) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BodiesByRangeRequest object
func (*BodiesByRangeRequest) String ¶
func (x *BodiesByRangeRequest) String() string
func (*BodiesByRangeRequest) UnmarshalSSZ ¶
func (b *BodiesByRangeRequest) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BodiesByRangeRequest object
type ForkData ¶
type ForkData struct { CurrentVersion *types_pb.H256 `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` GenesisValidatorsRoot *types_pb.H256 `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ForkData) Descriptor
deprecated
func (*ForkData) GetCurrentVersion ¶
func (*ForkData) GetGenesisValidatorsRoot ¶
func (*ForkData) HashTreeRoot ¶
HashTreeRoot ssz hashes the ForkData object
func (*ForkData) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the ForkData object with a hasher
func (*ForkData) MarshalSSZ ¶
MarshalSSZ ssz marshals the ForkData object
func (*ForkData) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the ForkData object to a target array
func (*ForkData) ProtoMessage ¶
func (*ForkData) ProtoMessage()
func (*ForkData) ProtoReflect ¶
func (x *ForkData) ProtoReflect() protoreflect.Message
func (*ForkData) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the ForkData object
type HeadersByRangeRequest ¶
type HeadersByRangeRequest struct { StartBlockNumber *types_pb.H256 `protobuf:"bytes,1,opt,name=startBlockNumber,proto3" json:"startBlockNumber,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
func (*HeadersByRangeRequest) Descriptor
deprecated
func (*HeadersByRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeadersByRangeRequest.ProtoReflect.Descriptor instead.
func (*HeadersByRangeRequest) GetCount ¶
func (x *HeadersByRangeRequest) GetCount() uint64
func (*HeadersByRangeRequest) GetStartBlockNumber ¶
func (x *HeadersByRangeRequest) GetStartBlockNumber() *types_pb.H256
func (*HeadersByRangeRequest) GetStep ¶
func (x *HeadersByRangeRequest) GetStep() uint64
func (*HeadersByRangeRequest) HashTreeRoot ¶
func (h *HeadersByRangeRequest) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the HeadersByRangeRequest object
func (*HeadersByRangeRequest) HashTreeRootWith ¶
func (h *HeadersByRangeRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the HeadersByRangeRequest object with a hasher
func (*HeadersByRangeRequest) MarshalSSZ ¶
func (h *HeadersByRangeRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the HeadersByRangeRequest object
func (*HeadersByRangeRequest) MarshalSSZTo ¶
func (h *HeadersByRangeRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the HeadersByRangeRequest object to a target array
func (*HeadersByRangeRequest) ProtoMessage ¶
func (*HeadersByRangeRequest) ProtoMessage()
func (*HeadersByRangeRequest) ProtoReflect ¶
func (x *HeadersByRangeRequest) ProtoReflect() protoreflect.Message
func (*HeadersByRangeRequest) Reset ¶
func (x *HeadersByRangeRequest) Reset()
func (*HeadersByRangeRequest) SizeSSZ ¶
func (h *HeadersByRangeRequest) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the HeadersByRangeRequest object
func (*HeadersByRangeRequest) String ¶
func (x *HeadersByRangeRequest) String() string
func (*HeadersByRangeRequest) UnmarshalSSZ ¶
func (h *HeadersByRangeRequest) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the HeadersByRangeRequest object
type Ping ¶
type Ping struct { SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` // contains filtered or unexported fields }
todo
func (*Ping) Descriptor
deprecated
func (*Ping) GetSeqNumber ¶
func (*Ping) HashTreeRoot ¶
HashTreeRoot ssz hashes the Ping object
func (*Ping) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Ping object with a hasher
func (*Ping) MarshalSSZ ¶
MarshalSSZ ssz marshals the Ping object
func (*Ping) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Ping object to a target array
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
func (*Ping) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Ping object
type Status ¶
type Status struct { // string version = 1; GenesisHash *types_pb.H256 `protobuf:"bytes,1,opt,name=genesisHash,proto3" json:"genesisHash,omitempty"` CurrentHeight *types_pb.H256 `protobuf:"bytes,2,opt,name=currentHeight,proto3" json:"currentHeight,omitempty"` // contains filtered or unexported fields }
v2
func (*Status) Descriptor
deprecated
func (*Status) GetCurrentHeight ¶
func (*Status) GetGenesisHash ¶
func (*Status) HashTreeRoot ¶
HashTreeRoot ssz hashes the Status object
func (*Status) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Status object with a hasher
func (*Status) MarshalSSZ ¶
MarshalSSZ ssz marshals the Status object
func (*Status) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Status object to a target array
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
func (*Status) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Status object