proof

package
v0.0.0-...-dcc6d9e Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataItemInclusionProof

func DataItemInclusionProof(trustlessDataItem types.TrustlessDataItem, endpoint string) error

DataItemInclusionProof proves the validity of a given Data Item. Therefore, it regenerates the Merkle root with the provided Merkle nodes in order to compare the locally computed hash with the one stored on-chain. It returns true if the given Data Item is the actually validated one by KYVE and false if not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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