Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyLedger ¶
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.
Click to show internal directories.
Click to hide internal directories.