rpbs

package
v0.0.0-...-2cc199d Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodedRPBSSignature

type EncodedRPBSSignature struct {
	Z1Hat string `json:"z1Hat"`
	C1Hat string `json:"c1Hat"`
	S1Hat string `json:"s1Hat"`
	C2Hat string `json:"c2Hat"`
	S2Hat string `json:"s2Hat"`
	M1Hat string `json:"m1Hat"`
}

func (*EncodedRPBSSignature) GetTree

func (e *EncodedRPBSSignature) GetTree() (*ssz.Node, error)

GetTree ssz hashes the EncodedRPBSSignature object

func (*EncodedRPBSSignature) HashTreeRoot

func (e *EncodedRPBSSignature) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the EncodedRPBSSignature object

func (*EncodedRPBSSignature) HashTreeRootWith

func (e *EncodedRPBSSignature) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the EncodedRPBSSignature object with a hasher

type RPBSCommitMessage

type RPBSCommitMessage struct {
	BuilderWalletAddress string   `json:"builderWalletAddress"`
	Slot                 uint64   `json:"slot"`
	Amount               *big.Int `json:"amount"`
	PayoutTxBytes        string   `json:"payoutTxBytes"`
	TxBytes              []string `json:"txBytes"`
}

Jump to

Keyboard shortcuts

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