verify

package
v0.0.0-...-579b097 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyLedger

func VerifyLedger(blockStorePath string, outputDir string) (bool, error)

VerifyLedger - Verifies the integrity of ledgers in a single peer This function verifies the ledgers specified in blockStorePath, specifically the integrity of the hash value (DataHash) and the previous hash value (PreviousHash) in every block. It creates a directory in outputDir for each ledger and stores the check result as a JSON file in the directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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