verifychain

Input(s) 2

This command checks the integrity and validity of each entry in the local blockchain database. It allows for different levels of verification, ranging from basic checks to more thorough validation including block validity, undo data verification, and tip block disconnection checks.

How is this used?

The verifychain command is used to ensure the integrity and correctness of the local blockchain database. By verifying each block's validity and related data, it helps to maintain the reliability and security of the blockchain. Different check levels allow users to customize the verification process based on their requirements and resources.

Request

method

verifychain

checklevel

Optional

numblocks

Optional

Inputs(2)

checklevel The level of block verification to perform
numblocks The number of blocks to check

Result