proof

package
v0.37.7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyTrieBatchProof

func VerifyTrieBatchProof(bp *ledger.TrieBatchProof, expectedState ledger.State) bool

VerifyTrieBatchProof verifies all the proof inside the batchproof

func VerifyTrieProof

func VerifyTrieProof(p *ledger.TrieProof, expectedState ledger.State) bool

VerifyTrieProof verifies the proof, by constructing all the hash from the leaf to the root and comparing the rootHash

Types

This section is empty.

Jump to

Keyboard shortcuts

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