deneb

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 22

Documentation

Overview

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

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

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

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

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

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlindedBeaconBlock

type BlindedBeaconBlock struct {
	Slot          phase0.Slot
	ProposerIndex phase0.ValidatorIndex
	ParentRoot    phase0.Root `ssz-size:"32"`
	StateRoot     phase0.Root `ssz-size:"32"`
	Body          *BlindedBeaconBlockBody
}

BlindedBeaconBlock represents a blinded beacon block.

func (*BlindedBeaconBlock) GetTree

func (b *BlindedBeaconBlock) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlindedBeaconBlock object

func (*BlindedBeaconBlock) HashTreeRoot

func (b *BlindedBeaconBlock) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlindedBeaconBlock object

func (*BlindedBeaconBlock) HashTreeRootWith

func (b *BlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlindedBeaconBlock object with a hasher

func (*BlindedBeaconBlock) MarshalJSON

func (b *BlindedBeaconBlock) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlindedBeaconBlock) MarshalSSZ

func (b *BlindedBeaconBlock) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlindedBeaconBlock object

func (*BlindedBeaconBlock) MarshalSSZTo

func (b *BlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlindedBeaconBlock object to a target array

func (*BlindedBeaconBlock) MarshalYAML

func (b *BlindedBeaconBlock) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*BlindedBeaconBlock) SizeSSZ

func (b *BlindedBeaconBlock) SizeSSZ() (size int)

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

func (*BlindedBeaconBlock) String

func (b *BlindedBeaconBlock) String() string

String returns a string version of the structure.

func (*BlindedBeaconBlock) UnmarshalJSON

func (b *BlindedBeaconBlock) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BlindedBeaconBlock) UnmarshalSSZ

func (b *BlindedBeaconBlock) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlindedBeaconBlock object

func (*BlindedBeaconBlock) UnmarshalYAML

func (b *BlindedBeaconBlock) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type BlindedBeaconBlockBody

type BlindedBeaconBlockBody struct {
	RANDAOReveal           phase0.BLSSignature `ssz-size:"96"`
	ETH1Data               *phase0.ETH1Data
	Graffiti               [32]byte                      `ssz-size:"32"`
	ProposerSlashings      []*phase0.ProposerSlashing    `ssz-max:"16"`
	AttesterSlashings      []*phase0.AttesterSlashing    `ssz-max:"2"`
	Attestations           []*phase0.Attestation         `ssz-max:"128"`
	Deposits               []*phase0.Deposit             `ssz-max:"16"`
	VoluntaryExits         []*phase0.SignedVoluntaryExit `ssz-max:"16"`
	SyncAggregate          *altair.SyncAggregate
	ExecutionPayloadHeader *deneb.ExecutionPayloadHeader
	BLSToExecutionChanges  []*capella.SignedBLSToExecutionChange `ssz-max:"16"`
	BlobKzgCommitments     []deneb.KzgCommitment                 `ssz-max:"4096" ssz-size:"?,48"`
}

BlindedBeaconBlockBody represents the body of a blinded beacon block.

func (*BlindedBeaconBlockBody) GetTree

func (b *BlindedBeaconBlockBody) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlindedBeaconBlockBody object

func (*BlindedBeaconBlockBody) HashTreeRoot

func (b *BlindedBeaconBlockBody) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlindedBeaconBlockBody object

func (*BlindedBeaconBlockBody) HashTreeRootWith

func (b *BlindedBeaconBlockBody) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlindedBeaconBlockBody object with a hasher

func (*BlindedBeaconBlockBody) MarshalJSON

func (b *BlindedBeaconBlockBody) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlindedBeaconBlockBody) MarshalSSZ

func (b *BlindedBeaconBlockBody) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlindedBeaconBlockBody object

func (*BlindedBeaconBlockBody) MarshalSSZTo

func (b *BlindedBeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlindedBeaconBlockBody object to a target array

func (*BlindedBeaconBlockBody) MarshalYAML

func (b *BlindedBeaconBlockBody) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*BlindedBeaconBlockBody) SizeSSZ

func (b *BlindedBeaconBlockBody) SizeSSZ() (size int)

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

func (*BlindedBeaconBlockBody) String

func (b *BlindedBeaconBlockBody) String() string

String returns a string version of the structure.

func (*BlindedBeaconBlockBody) UnmarshalJSON

func (b *BlindedBeaconBlockBody) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BlindedBeaconBlockBody) UnmarshalSSZ

func (b *BlindedBeaconBlockBody) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlindedBeaconBlockBody object

func (*BlindedBeaconBlockBody) UnmarshalYAML

func (b *BlindedBeaconBlockBody) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type BlindedBlobSidecar added in v0.17.0

type BlindedBlobSidecar struct {
	BlockRoot       phase0.Root `ssz-size:"32"`
	Index           deneb.BlobIndex
	Slot            phase0.Slot
	BlockParentRoot phase0.Root `ssz-size:"32"`
	ProposerIndex   phase0.ValidatorIndex
	BlobRoot        phase0.Root         `ssz-size:"32"`
	KzgCommitment   deneb.KzgCommitment `ssz-size:"48"`
	KzgProof        deneb.KzgProof      `ssz-size:"48"`
}

BlindedBlobSidecar represents a data blob sidecar.

func (*BlindedBlobSidecar) GetTree added in v0.18.1

func (b *BlindedBlobSidecar) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlindedBlobSidecar object

func (*BlindedBlobSidecar) HashTreeRoot added in v0.18.1

func (b *BlindedBlobSidecar) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlindedBlobSidecar object

func (*BlindedBlobSidecar) HashTreeRootWith added in v0.18.1

func (b *BlindedBlobSidecar) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlindedBlobSidecar object with a hasher

func (*BlindedBlobSidecar) MarshalJSON added in v0.17.0

func (b *BlindedBlobSidecar) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlindedBlobSidecar) MarshalSSZ added in v0.18.1

func (b *BlindedBlobSidecar) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlindedBlobSidecar object

func (*BlindedBlobSidecar) MarshalSSZTo added in v0.18.1

func (b *BlindedBlobSidecar) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlindedBlobSidecar object to a target array

func (*BlindedBlobSidecar) MarshalYAML added in v0.18.1

func (b *BlindedBlobSidecar) MarshalYAML() ([]byte, error)

MarshalYAML implements json.Marshaler.

func (*BlindedBlobSidecar) SizeSSZ added in v0.18.1

func (b *BlindedBlobSidecar) SizeSSZ() (size int)

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

func (*BlindedBlobSidecar) String added in v0.17.0

func (b *BlindedBlobSidecar) String() string

String returns a string version of the structure.

func (*BlindedBlobSidecar) UnmarshalJSON added in v0.17.0

func (b *BlindedBlobSidecar) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BlindedBlobSidecar) UnmarshalSSZ added in v0.18.1

func (b *BlindedBlobSidecar) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlindedBlobSidecar object

func (*BlindedBlobSidecar) UnmarshalYAML added in v0.18.1

func (b *BlindedBlobSidecar) UnmarshalYAML(input []byte) error

UnmarshalYAML implements json.Unmarshaler.

type BlindedBlockContents added in v0.18.1

type BlindedBlockContents struct {
	BlindedBlock        *BlindedBeaconBlock
	BlindedBlobSidecars []*BlindedBlobSidecar `ssz-max:"6"`
}

BlindedBlockContents represents the contents of a block, both blinded block and blob.

func (*BlindedBlockContents) GetTree added in v0.18.1

func (b *BlindedBlockContents) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlindedBlockContents object

func (*BlindedBlockContents) HashTreeRoot added in v0.18.1

func (b *BlindedBlockContents) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlindedBlockContents object

func (*BlindedBlockContents) HashTreeRootWith added in v0.18.1

func (b *BlindedBlockContents) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlindedBlockContents object with a hasher

func (*BlindedBlockContents) MarshalJSON added in v0.18.1

func (b *BlindedBlockContents) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlindedBlockContents) MarshalSSZ added in v0.18.1

func (b *BlindedBlockContents) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlindedBlockContents object

func (*BlindedBlockContents) MarshalSSZTo added in v0.18.1

func (b *BlindedBlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlindedBlockContents object to a target array

func (*BlindedBlockContents) MarshalYAML added in v0.18.1

func (b *BlindedBlockContents) MarshalYAML() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlindedBlockContents) SizeSSZ added in v0.18.1

func (b *BlindedBlockContents) SizeSSZ() (size int)

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

func (*BlindedBlockContents) String added in v0.18.1

func (b *BlindedBlockContents) String() string

String returns a string version of the structure.

func (*BlindedBlockContents) UnmarshalJSON added in v0.18.1

func (b *BlindedBlockContents) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BlindedBlockContents) UnmarshalSSZ added in v0.18.1

func (b *BlindedBlockContents) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlindedBlockContents object

func (*BlindedBlockContents) UnmarshalYAML added in v0.18.1

func (b *BlindedBlockContents) UnmarshalYAML(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type BlockContents added in v0.17.0

type BlockContents struct {
	Block        *deneb.BeaconBlock
	BlobSidecars []*deneb.BlobSidecar `ssz-max:"6"`
}

BlockContents represents the contents of a block, both block and blob.

func (*BlockContents) GetTree added in v0.18.1

func (b *BlockContents) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlockContents object

func (*BlockContents) HashTreeRoot added in v0.18.1

func (b *BlockContents) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlockContents object

func (*BlockContents) HashTreeRootWith added in v0.18.1

func (b *BlockContents) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlockContents object with a hasher

func (*BlockContents) MarshalJSON added in v0.17.0

func (b *BlockContents) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BlockContents) MarshalSSZ added in v0.18.1

func (b *BlockContents) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlockContents object

func (*BlockContents) MarshalSSZTo added in v0.18.1

func (b *BlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlockContents object to a target array

func (*BlockContents) MarshalYAML added in v0.18.1

func (b *BlockContents) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*BlockContents) SizeSSZ added in v0.18.1

func (b *BlockContents) SizeSSZ() (size int)

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

func (*BlockContents) String added in v0.17.0

func (b *BlockContents) String() string

String returns a string version of the structure.

func (*BlockContents) UnmarshalJSON added in v0.17.0

func (b *BlockContents) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BlockContents) UnmarshalSSZ added in v0.18.1

func (b *BlockContents) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlockContents object

func (*BlockContents) UnmarshalYAML added in v0.18.1

func (b *BlockContents) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SignedBlindedBeaconBlock

type SignedBlindedBeaconBlock struct {
	Message   *BlindedBeaconBlock
	Signature phase0.BLSSignature `ssz-size:"96"`
}

SignedBlindedBeaconBlock is a signed beacon block.

func (*SignedBlindedBeaconBlock) GetTree

func (s *SignedBlindedBeaconBlock) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SignedBlindedBeaconBlock object

func (*SignedBlindedBeaconBlock) HashTreeRoot

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

HashTreeRoot ssz hashes the SignedBlindedBeaconBlock object

func (*SignedBlindedBeaconBlock) HashTreeRootWith

func (s *SignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SignedBlindedBeaconBlock object with a hasher

func (*SignedBlindedBeaconBlock) MarshalJSON

func (s *SignedBlindedBeaconBlock) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlindedBeaconBlock) MarshalSSZ

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

MarshalSSZ ssz marshals the SignedBlindedBeaconBlock object

func (*SignedBlindedBeaconBlock) MarshalSSZTo

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

MarshalSSZTo ssz marshals the SignedBlindedBeaconBlock object to a target array

func (*SignedBlindedBeaconBlock) MarshalYAML

func (s *SignedBlindedBeaconBlock) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*SignedBlindedBeaconBlock) SizeSSZ

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

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

func (*SignedBlindedBeaconBlock) String

func (s *SignedBlindedBeaconBlock) String() string

String returns a string version of the structure.

func (*SignedBlindedBeaconBlock) UnmarshalJSON

func (s *SignedBlindedBeaconBlock) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBlindedBeaconBlock) UnmarshalSSZ

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

UnmarshalSSZ ssz unmarshals the SignedBlindedBeaconBlock object

func (*SignedBlindedBeaconBlock) UnmarshalYAML

func (s *SignedBlindedBeaconBlock) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SignedBlindedBlobSidecar added in v0.18.1

type SignedBlindedBlobSidecar struct {
	Message   *BlindedBlobSidecar
	Signature phase0.BLSSignature `ssz-size:"96"`
}

SignedBlindedBlobSidecar represents a data blob sidecar.

func (*SignedBlindedBlobSidecar) GetTree added in v0.18.1

func (s *SignedBlindedBlobSidecar) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SignedBlindedBlobSidecar object

func (*SignedBlindedBlobSidecar) HashTreeRoot added in v0.18.1

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

HashTreeRoot ssz hashes the SignedBlindedBlobSidecar object

func (*SignedBlindedBlobSidecar) HashTreeRootWith added in v0.18.1

func (s *SignedBlindedBlobSidecar) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SignedBlindedBlobSidecar object with a hasher

func (*SignedBlindedBlobSidecar) MarshalJSON added in v0.18.1

func (s *SignedBlindedBlobSidecar) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlindedBlobSidecar) MarshalSSZ added in v0.18.1

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

MarshalSSZ ssz marshals the SignedBlindedBlobSidecar object

func (*SignedBlindedBlobSidecar) MarshalSSZTo added in v0.18.1

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

MarshalSSZTo ssz marshals the SignedBlindedBlobSidecar object to a target array

func (*SignedBlindedBlobSidecar) MarshalYAML added in v0.18.1

func (s *SignedBlindedBlobSidecar) MarshalYAML() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlindedBlobSidecar) SizeSSZ added in v0.18.1

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

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

func (*SignedBlindedBlobSidecar) String added in v0.18.1

func (s *SignedBlindedBlobSidecar) String() string

String returns a string version of the structure.

func (*SignedBlindedBlobSidecar) UnmarshalJSON added in v0.18.1

func (s *SignedBlindedBlobSidecar) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBlindedBlobSidecar) UnmarshalSSZ added in v0.18.1

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

UnmarshalSSZ ssz unmarshals the SignedBlindedBlobSidecar object

func (*SignedBlindedBlobSidecar) UnmarshalYAML added in v0.18.1

func (s *SignedBlindedBlobSidecar) UnmarshalYAML(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SignedBlindedBlockContents added in v0.18.1

type SignedBlindedBlockContents struct {
	SignedBlindedBlock        *SignedBlindedBeaconBlock
	SignedBlindedBlobSidecars []*SignedBlindedBlobSidecar `ssz-max:"6"`
}

SignedBlindedBlockContents represents the contents of a block, both block and blob.

func (*SignedBlindedBlockContents) GetTree added in v0.18.1

func (s *SignedBlindedBlockContents) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SignedBlindedBlockContents object

func (*SignedBlindedBlockContents) HashTreeRoot added in v0.18.1

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

HashTreeRoot ssz hashes the SignedBlindedBlockContents object

func (*SignedBlindedBlockContents) HashTreeRootWith added in v0.18.1

func (s *SignedBlindedBlockContents) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SignedBlindedBlockContents object with a hasher

func (*SignedBlindedBlockContents) MarshalJSON added in v0.18.1

func (s *SignedBlindedBlockContents) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlindedBlockContents) MarshalSSZ added in v0.18.1

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

MarshalSSZ ssz marshals the SignedBlindedBlockContents object

func (*SignedBlindedBlockContents) MarshalSSZTo added in v0.18.1

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

MarshalSSZTo ssz marshals the SignedBlindedBlockContents object to a target array

func (*SignedBlindedBlockContents) MarshalYAML added in v0.18.1

func (s *SignedBlindedBlockContents) MarshalYAML() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlindedBlockContents) SizeSSZ added in v0.18.1

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

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

func (*SignedBlindedBlockContents) String added in v0.18.1

func (s *SignedBlindedBlockContents) String() string

String returns a string version of the structure.

func (*SignedBlindedBlockContents) UnmarshalJSON added in v0.18.1

func (s *SignedBlindedBlockContents) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBlindedBlockContents) UnmarshalSSZ added in v0.18.1

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

UnmarshalSSZ ssz unmarshals the SignedBlindedBlockContents object

func (*SignedBlindedBlockContents) UnmarshalYAML added in v0.18.1

func (s *SignedBlindedBlockContents) UnmarshalYAML(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type SignedBlockContents added in v0.18.1

type SignedBlockContents struct {
	SignedBlock        *deneb.SignedBeaconBlock
	SignedBlobSidecars []*deneb.SignedBlobSidecar `ssz-max:"6"`
}

SignedBlockContents represents the contents of a block, both block and blob.

func (*SignedBlockContents) GetTree added in v0.18.1

func (s *SignedBlockContents) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SignedBlockContents object

func (*SignedBlockContents) HashTreeRoot added in v0.18.1

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

HashTreeRoot ssz hashes the SignedBlockContents object

func (*SignedBlockContents) HashTreeRootWith added in v0.18.1

func (s *SignedBlockContents) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SignedBlockContents object with a hasher

func (*SignedBlockContents) MarshalJSON added in v0.18.1

func (s *SignedBlockContents) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBlockContents) MarshalSSZ added in v0.18.1

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

MarshalSSZ ssz marshals the SignedBlockContents object

func (*SignedBlockContents) MarshalSSZTo added in v0.18.1

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

MarshalSSZTo ssz marshals the SignedBlockContents object to a target array

func (*SignedBlockContents) MarshalYAML added in v0.18.1

func (s *SignedBlockContents) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*SignedBlockContents) SizeSSZ added in v0.18.1

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

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

func (*SignedBlockContents) String added in v0.18.1

func (s *SignedBlockContents) String() string

String returns a string version of the structure.

func (*SignedBlockContents) UnmarshalJSON added in v0.18.1

func (s *SignedBlockContents) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBlockContents) UnmarshalSSZ added in v0.18.1

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

UnmarshalSSZ ssz unmarshals the SignedBlockContents object

func (*SignedBlockContents) UnmarshalYAML added in v0.18.1

func (s *SignedBlockContents) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

Jump to

Keyboard shortcuts

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