diff options
| author | Pieter Wuille <[email protected]> | 2012-03-21 23:08:13 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-03-22 03:19:23 +0100 |
| commit | 4538e45c46d3829a21aed7685e6fbac7e8aafad3 (patch) | |
| tree | bdf432390f1572463cb71332ad9ea6a2ddd80229 /src/util.cpp | |
| parent | Fix warning about deprecated unescaped backslash (diff) | |
| download | discoin-4538e45c46d3829a21aed7685e6fbac7e8aafad3.tar.xz discoin-4538e45c46d3829a21aed7685e6fbac7e8aafad3.zip | |
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
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions