message

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

View Source
var File_consensus_envelope_proto protoreflect.FileDescriptor
View Source
var File_rpc_envelope_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 RPCEnvelope added in v0.0.5

type RPCEnvelope struct {
	MsgType    uint32 `protobuf:"varint,1,opt,name=msgType,proto3" json:"msgType,omitempty"`
	Raw        []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty" ssz-max:"1048576"`
	IsResponse bool   `protobuf:"varint,3,opt,name=isResponse,proto3" json:"isResponse,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCEnvelope) Descriptor deprecated added in v0.0.5

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

Deprecated: Use RPCEnvelope.ProtoReflect.Descriptor instead.

func (*RPCEnvelope) GetIsResponse added in v0.0.5

func (x *RPCEnvelope) GetIsResponse() bool

func (*RPCEnvelope) GetMsgType added in v0.0.5

func (x *RPCEnvelope) GetMsgType() uint32

func (*RPCEnvelope) GetRaw added in v0.0.5

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

func (*RPCEnvelope) GetTree added in v0.0.5

func (r *RPCEnvelope) GetTree() (*ssz.Node, error)

GetTree ssz hashes the RPCEnvelope object

func (*RPCEnvelope) HashTreeRoot added in v0.0.5

func (r *RPCEnvelope) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the RPCEnvelope object

func (*RPCEnvelope) HashTreeRootWith added in v0.0.5

func (r *RPCEnvelope) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the RPCEnvelope object with a hasher

func (*RPCEnvelope) MarshalSSZ added in v0.0.5

func (r *RPCEnvelope) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the RPCEnvelope object

func (*RPCEnvelope) MarshalSSZTo added in v0.0.5

func (r *RPCEnvelope) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the RPCEnvelope object to a target array

func (*RPCEnvelope) ProtoMessage added in v0.0.5

func (*RPCEnvelope) ProtoMessage()

func (*RPCEnvelope) ProtoReflect added in v0.0.5

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

func (*RPCEnvelope) Reset added in v0.0.5

func (x *RPCEnvelope) Reset()

func (*RPCEnvelope) SizeSSZ added in v0.0.5

func (r *RPCEnvelope) SizeSSZ() (size int)

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

func (*RPCEnvelope) String added in v0.0.5

func (x *RPCEnvelope) String() string

func (*RPCEnvelope) UnmarshalSSZ added in v0.0.5

func (r *RPCEnvelope) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the RPCEnvelope object

Jump to

Keyboard shortcuts

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