v2

package
v0.0.0-...-88ec320 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubmitBlockRequest

type SubmitBlockRequest struct {
	Message                *v1.BidTrace
	ExecutionPayloadHeader *capella.ExecutionPayloadHeader
	Signature              phase0.BLSSignature     `ssz-size:"96"`
	Transactions           []bellatrix.Transaction `ssz-max:"1048576,1073741824" ssz-size:"?,?"`
	Withdrawals            []*capella.Withdrawal   `ssz-max:"16"`
}

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

func (*SubmitBlockRequest) GetTree

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

GetTree ssz hashes the SubmitBlockRequest object

func (*SubmitBlockRequest) HashTreeRoot

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

HashTreeRoot ssz hashes the SubmitBlockRequest object

func (*SubmitBlockRequest) HashTreeRootWith

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

HashTreeRootWith ssz hashes the SubmitBlockRequest object with a hasher

func (*SubmitBlockRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SubmitBlockRequest) MarshalSSZ

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

MarshalSSZ ssz marshals the SubmitBlockRequest object

func (*SubmitBlockRequest) MarshalSSZTo

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

MarshalSSZTo ssz marshals the SubmitBlockRequest object to a target array

func (*SubmitBlockRequest) SizeSSZ

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

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

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 (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SubmitBlockRequest object

Jump to

Keyboard shortcuts

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