vectors

package
v0.5.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L1InfoTree

type L1InfoTree struct {
	PreviousLeafValues []common.Hash `json:"previousLeafValues"`
	CurrentRoot        common.Hash   `json:"currentRoot"`
	NewLeafValue       common.Hash   `json:"newLeafValue"`
	NewRoot            common.Hash   `json:"newRoot"`
}

L1InfoTree holds the test vector for the merkle tree

type L1InfoTreeProof

type L1InfoTreeProof struct {
	Leaves []common.Hash `json:"leaves"`
	Index  uint          `json:"index"`
	Proof  []common.Hash `json:"proof"`
	Root   common.Hash   `json:"root"`
}

L1InfoTree holds the test vector for the merkle tree

Jump to

Keyboard shortcuts

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