HomePhabricator

Add -checklevel and improve -checkblocks
4538e45c46d3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add -checklevel and improve -checkblocks

-checkblocks now takes a numeric argument: the number of blocks that must
be verified at the end of the chain. Default is 2500, and 0 means all
blocks.

-checklevel specifies how thorough the verification must be:
0: only check whether the block exists on disk
1: verify block validity (default)
2: verify transaction index validity
3: check transaction hashes
4: check whether spent txouts were spent within the main chain
5: check whether all prevouts are marked spent
6: check whether spent txouts were spent by a valid transaction that consumes them

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 21 2012, 22:08
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING100da7367767: Fix warning about deprecated unescaped backslash
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGING4538e45c46d3: Add -checklevel and improve -checkblocks (authored by Pieter Wuille <pieter.wuille@gmail.com>).Mar 22 2012, 02:19