fulu

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 16 Imported by: 6

Documentation

Overview

Code generated by dynamic-ssz. DO NOT EDIT. Hash: 166b904e30e499c02f1b5a1eb42ec1897833e1ca30b452791f1957fb33cb57c1 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Code generated by dynamic-ssz. DO NOT EDIT. Hash: dc1471a68525088650d4e8978e5e6e8c8a87b395c7a4c36878809d3e8d77a5b5 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Code generated by dynamic-ssz. DO NOT EDIT. Hash: efeea73154605771ec28e5b7d9903578fe9137cb889a32bdf1abbf69f3b7a819 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobsBundle

type BlobsBundle struct {
	Commitments []deneb.KZGCommitment `ssz-max:"4096"     ssz-size:"?,48"`
	Proofs      []deneb.KZGProof      `ssz-max:"33554432" ssz-size:"?,48"`
	Blobs       []deneb.Blob          `ssz-max:"4096"     ssz-size:"?,131072"`
}

BlobsBundle is the structure used to store the blobs bundle.

func (*BlobsBundle) HashTreeRoot

func (t *BlobsBundle) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *BlobsBundle.

func (*BlobsBundle) HashTreeRootWith

func (t *BlobsBundle) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *BlobsBundle using the given hash walker.

func (*BlobsBundle) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BlobsBundle) MarshalSSZ

func (t *BlobsBundle) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *BlobsBundle to SSZ-encoded bytes.

func (*BlobsBundle) MarshalSSZTo

func (t *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *BlobsBundle to SSZ-encoded bytes, appending to the provided buffer.

func (*BlobsBundle) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BlobsBundle) SizeSSZ

func (t *BlobsBundle) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *BlobsBundle.

func (*BlobsBundle) String

func (b *BlobsBundle) String() string

String returns a string version of the structure.

func (*BlobsBundle) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BlobsBundle) UnmarshalSSZ

func (t *BlobsBundle) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *BlobsBundle from SSZ-encoded bytes.

func (*BlobsBundle) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type ExecutionPayloadAndBlobsBundle

type ExecutionPayloadAndBlobsBundle struct {
	ExecutionPayload *deneb.ExecutionPayload
	BlobsBundle      *BlobsBundle
}

ExecutionPayloadAndBlobsBundle represents an execution layer payload.

func (*ExecutionPayloadAndBlobsBundle) HashTreeRoot

func (t *ExecutionPayloadAndBlobsBundle) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *ExecutionPayloadAndBlobsBundle.

func (*ExecutionPayloadAndBlobsBundle) HashTreeRootWith

func (t *ExecutionPayloadAndBlobsBundle) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *ExecutionPayloadAndBlobsBundle using the given hash walker.

func (*ExecutionPayloadAndBlobsBundle) MarshalJSON

func (e *ExecutionPayloadAndBlobsBundle) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZ

func (t *ExecutionPayloadAndBlobsBundle) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *ExecutionPayloadAndBlobsBundle to SSZ-encoded bytes.

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZTo

func (t *ExecutionPayloadAndBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *ExecutionPayloadAndBlobsBundle to SSZ-encoded bytes, appending to the provided buffer.

func (*ExecutionPayloadAndBlobsBundle) MarshalYAML

func (e *ExecutionPayloadAndBlobsBundle) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) SizeSSZ

func (t *ExecutionPayloadAndBlobsBundle) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *ExecutionPayloadAndBlobsBundle.

func (*ExecutionPayloadAndBlobsBundle) String

String returns a string version of the structure.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalJSON

func (e *ExecutionPayloadAndBlobsBundle) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalSSZ

func (t *ExecutionPayloadAndBlobsBundle) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *ExecutionPayloadAndBlobsBundle from SSZ-encoded bytes.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalYAML

func (e *ExecutionPayloadAndBlobsBundle) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SubmitBlockRequest

type SubmitBlockRequest struct {
	Message           *apiv1.BidTrace
	ExecutionPayload  *deneb.ExecutionPayload
	BlobsBundle       *BlobsBundle
	ExecutionRequests *electra.ExecutionRequests
	Signature         phase0.BLSSignature `ssz-size:"96"`
}

SubmitBlockRequest is the request from the builder to submit a block.

func (*SubmitBlockRequest) HashTreeRoot

func (t *SubmitBlockRequest) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *SubmitBlockRequest.

func (*SubmitBlockRequest) HashTreeRootWith

func (t *SubmitBlockRequest) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *SubmitBlockRequest using the given hash walker.

func (*SubmitBlockRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SubmitBlockRequest) MarshalSSZ

func (t *SubmitBlockRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *SubmitBlockRequest to SSZ-encoded bytes.

func (*SubmitBlockRequest) MarshalSSZTo

func (t *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *SubmitBlockRequest to SSZ-encoded bytes, appending to the provided buffer.

func (*SubmitBlockRequest) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SubmitBlockRequest) SizeSSZ

func (t *SubmitBlockRequest) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *SubmitBlockRequest.

func (*SubmitBlockRequest) String

func (s *SubmitBlockRequest) String() string

String returns a string version of the structure.

func (*SubmitBlockRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SubmitBlockRequest) UnmarshalSSZ

func (t *SubmitBlockRequest) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *SubmitBlockRequest from SSZ-encoded bytes.

func (*SubmitBlockRequest) UnmarshalYAML

func (s *SubmitBlockRequest) 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