message

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: d2b851c7964d8e2e76a8f09aa909f1ec54f9ba4c42195dd2c01ee4a384e8993e Version: 0.1.3

Index

Constants

This section is empty.

Variables

View Source
var File_consensus_message_proto protoreflect.FileDescriptor
View Source
var File_sync_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConsensusEnvelope

type ConsensusEnvelope struct {
	Raw        []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty" ssz-max:"1048576"`
	SenderAddr []byte `protobuf:"bytes,2,opt,name=senderAddr,proto3" json:"senderAddr,omitempty" ssz-size:"20"`
	// contains filtered or unexported fields
}

func (*ConsensusEnvelope) Descriptor deprecated

func (*ConsensusEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusEnvelope.ProtoReflect.Descriptor instead.

func (*ConsensusEnvelope) GetRaw

func (x *ConsensusEnvelope) GetRaw() []byte

func (*ConsensusEnvelope) GetSenderAddr

func (x *ConsensusEnvelope) GetSenderAddr() []byte

func (*ConsensusEnvelope) GetTree

func (c *ConsensusEnvelope) GetTree() (*ssz.Node, error)

GetTree ssz hashes the ConsensusEnvelope object

func (*ConsensusEnvelope) HashTreeRoot

func (c *ConsensusEnvelope) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ConsensusEnvelope object

func (*ConsensusEnvelope) HashTreeRootWith

func (c *ConsensusEnvelope) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the ConsensusEnvelope object with a hasher

func (*ConsensusEnvelope) MarshalSSZ

func (c *ConsensusEnvelope) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ConsensusEnvelope object

func (*ConsensusEnvelope) MarshalSSZTo

func (c *ConsensusEnvelope) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ConsensusEnvelope object to a target array

func (*ConsensusEnvelope) ProtoMessage

func (*ConsensusEnvelope) ProtoMessage()

func (*ConsensusEnvelope) ProtoReflect

func (x *ConsensusEnvelope) ProtoReflect() protoreflect.Message

func (*ConsensusEnvelope) Reset

func (x *ConsensusEnvelope) Reset()

func (*ConsensusEnvelope) SizeSSZ

func (c *ConsensusEnvelope) SizeSSZ() (size int)

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

func (*ConsensusEnvelope) String

func (x *ConsensusEnvelope) String() string

func (*ConsensusEnvelope) UnmarshalSSZ

func (c *ConsensusEnvelope) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ConsensusEnvelope object

type GetBlockByIDRequest

type GetBlockByIDRequest struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockByIDRequest) Descriptor deprecated

func (*GetBlockByIDRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockByIDRequest.ProtoReflect.Descriptor instead.

func (*GetBlockByIDRequest) GetHash

func (x *GetBlockByIDRequest) GetHash() []byte

func (*GetBlockByIDRequest) ProtoMessage

func (*GetBlockByIDRequest) ProtoMessage()

func (*GetBlockByIDRequest) ProtoReflect

func (x *GetBlockByIDRequest) ProtoReflect() protoreflect.Message

func (*GetBlockByIDRequest) Reset

func (x *GetBlockByIDRequest) Reset()

func (*GetBlockByIDRequest) String

func (x *GetBlockByIDRequest) String() string

type GetBlockByIDResponse

type GetBlockByIDResponse struct {
	RawBlock []byte `protobuf:"bytes,1,opt,name=rawBlock,proto3" json:"rawBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockByIDResponse) Descriptor deprecated

func (*GetBlockByIDResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockByIDResponse.ProtoReflect.Descriptor instead.

func (*GetBlockByIDResponse) GetRawBlock

func (x *GetBlockByIDResponse) GetRawBlock() []byte

func (*GetBlockByIDResponse) ProtoMessage

func (*GetBlockByIDResponse) ProtoMessage()

func (*GetBlockByIDResponse) ProtoReflect

func (x *GetBlockByIDResponse) ProtoReflect() protoreflect.Message

func (*GetBlockByIDResponse) Reset

func (x *GetBlockByIDResponse) Reset()

func (*GetBlockByIDResponse) String

func (x *GetBlockByIDResponse) String() string

type NewBlockEnvelope

type NewBlockEnvelope struct {
	RawBlock []byte `protobuf:"bytes,1,opt,name=rawBlock,proto3" json:"rawBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*NewBlockEnvelope) Descriptor deprecated

func (*NewBlockEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use NewBlockEnvelope.ProtoReflect.Descriptor instead.

func (*NewBlockEnvelope) GetRawBlock

func (x *NewBlockEnvelope) GetRawBlock() []byte

func (*NewBlockEnvelope) ProtoMessage

func (*NewBlockEnvelope) ProtoMessage()

func (*NewBlockEnvelope) ProtoReflect

func (x *NewBlockEnvelope) ProtoReflect() protoreflect.Message

func (*NewBlockEnvelope) Reset

func (x *NewBlockEnvelope) Reset()

func (*NewBlockEnvelope) String

func (x *NewBlockEnvelope) String() string

type NewBlockIDEnvelope

type NewBlockIDEnvelope struct {
	BlockID []byte `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty"`
	// contains filtered or unexported fields
}

func (*NewBlockIDEnvelope) Descriptor deprecated

func (*NewBlockIDEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use NewBlockIDEnvelope.ProtoReflect.Descriptor instead.

func (*NewBlockIDEnvelope) GetBlockID

func (x *NewBlockIDEnvelope) GetBlockID() []byte

func (*NewBlockIDEnvelope) ProtoMessage

func (*NewBlockIDEnvelope) ProtoMessage()

func (*NewBlockIDEnvelope) ProtoReflect

func (x *NewBlockIDEnvelope) ProtoReflect() protoreflect.Message

func (*NewBlockIDEnvelope) Reset

func (x *NewBlockIDEnvelope) Reset()

func (*NewBlockIDEnvelope) String

func (x *NewBlockIDEnvelope) String() string

type NewTxsEnvelope

type NewTxsEnvelope struct {
	RawTxs [][]byte `protobuf:"bytes,1,rep,name=rawTxs,proto3" json:"rawTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*NewTxsEnvelope) Descriptor deprecated

func (*NewTxsEnvelope) Descriptor() ([]byte, []int)

Deprecated: Use NewTxsEnvelope.ProtoReflect.Descriptor instead.

func (*NewTxsEnvelope) GetRawTxs

func (x *NewTxsEnvelope) GetRawTxs() [][]byte

func (*NewTxsEnvelope) ProtoMessage

func (*NewTxsEnvelope) ProtoMessage()

func (*NewTxsEnvelope) ProtoReflect

func (x *NewTxsEnvelope) ProtoReflect() protoreflect.Message

func (*NewTxsEnvelope) Reset

func (x *NewTxsEnvelope) Reset()

func (*NewTxsEnvelope) String

func (x *NewTxsEnvelope) String() string

Jump to

Keyboard shortcuts

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