Help us shape the future of Go! Take the 2026 Go Developer Survey

vectors

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0, MIT 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