payloadattestation

package
v7.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ROMessage

type ROMessage struct {
	// contains filtered or unexported fields
}

ROMessage represents a read-only payload attestation message.

func NewReadOnly

NewReadOnly creates a new ReadOnly instance after validating the message.

func (*ROMessage) BeaconBlockRoot

func (r *ROMessage) BeaconBlockRoot() [32]byte

BeaconBlockRoot returns the beacon block root from the payload attestation message.

func (*ROMessage) BlobDataAvailable

func (r *ROMessage) BlobDataAvailable() bool

BlobDataAvailable returns whether blob data was available.

func (*ROMessage) PayloadPresent

func (r *ROMessage) PayloadPresent() bool

PayloadPresent returns whether the payload was present.

func (*ROMessage) Signature

func (r *ROMessage) Signature() [96]byte

Signature returns the signature from the payload attestation message.

func (*ROMessage) SigningRoot

func (r *ROMessage) SigningRoot(domain []byte) ([32]byte, error)

SigningRoot returns the signing root from the payload attestation message.

func (*ROMessage) Slot

func (r *ROMessage) Slot() primitives.Slot

Slot returns the slot from the payload attestation message.

func (*ROMessage) ValidatorIndex

func (r *ROMessage) ValidatorIndex() primitives.ValidatorIndex

ValidatorIndex returns the validator index from the payload attestation message.

type VerifiedROMessage

type VerifiedROMessage struct {
	ROMessage
}

VerifiedROMessage represents a verified read-only payload attestation message.

func NewVerifiedROMessage

func NewVerifiedROMessage(r ROMessage) VerifiedROMessage

NewVerifiedROMessage creates a new VerifiedROMessage instance after validating the message.

Jump to

Keyboard shortcuts

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