sync_pb

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: b39bb565b34add934304fdd716d14cb913acca74f226a8fd1f0c0c390e3bc247

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use ForkData.ProtoReflect.Descriptor instead.

func (*ForkData) GetCurrentVersion

func (x *ForkData) GetCurrentVersion() *types_pb.H256

func (*ForkData) GetGenesisValidatorsRoot

func (x *ForkData) GetGenesisValidatorsRoot() *types_pb.H256

func (*ForkData) HashTreeRoot

func (f *ForkData) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ForkData object

func (*ForkData) HashTreeRootWith

func (f *ForkData) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ForkData object with a hasher

func (*ForkData) MarshalSSZ

func (f *ForkData) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ForkData object

func (*ForkData) MarshalSSZTo

func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *ForkData) Reset()

func (*ForkData) SizeSSZ

func (f *ForkData) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ForkData object

func (*ForkData) String

func (x *ForkData) String() string

func (*ForkData) UnmarshalSSZ

func (f *ForkData) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetSeqNumber

func (x *Ping) GetSeqNumber() uint64

func (*Ping) HashTreeRoot

func (p *Ping) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Ping object

func (*Ping) HashTreeRootWith

func (p *Ping) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Ping object with a hasher

func (*Ping) MarshalSSZ

func (p *Ping) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Ping object

func (*Ping) MarshalSSZTo

func (p *Ping) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Ping) Reset()

func (*Ping) SizeSSZ

func (p *Ping) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Ping object

func (*Ping) String

func (x *Ping) String() string

func (*Ping) UnmarshalSSZ

func (p *Ping) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCurrentHeight

func (x *Status) GetCurrentHeight() *types_pb.H256

func (*Status) GetGenesisHash

func (x *Status) GetGenesisHash() *types_pb.H256

func (*Status) HashTreeRoot

func (s *Status) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Status object

func (*Status) HashTreeRootWith

func (s *Status) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Status object with a hasher

func (*Status) MarshalSSZ

func (s *Status) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Status object

func (*Status) MarshalSSZTo

func (s *Status) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Status) Reset()

func (*Status) SizeSSZ

func (s *Status) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Status object

func (*Status) String

func (x *Status) String() string

func (*Status) UnmarshalSSZ

func (s *Status) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Status object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL