proofs

package
v0.0.0-...-c49b056 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.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 HexBytes

type HexBytes []byte

HexBytes enables HEX-encoding for json/encoding.

type RowProof

type RowProof struct {
	// RowRoots are the roots of the rows being proven.
	RowRoots []HexBytes `json:"row_roots"`
	// Proofs is a list of Merkle proofs where each proof proves that a row
	// exists in a Merkle tree with a given data root.
	Proofs   []*merkle.Proof `json:"proofs"`
	StartRow uint32          `json:"start_row"`
	EndRow   uint32          `json:"end_row"`
}

RowProof is a Merkle proof that a set of rows exist in a Merkle tree with a given data root.

Jump to

Keyboard shortcuts

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