diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-08-05 21:01:33 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-08-05 21:02:02 +0200 |
commit | b49d963cf7c5feeb90666749171b752731f70061 (patch) | |
tree | 030ce2b30a09e420b9f9ba891d69b3bff5c41095 /doc | |
parent | 114f7e944b1cdc5f4c195d43be4d2feb729c6311 (diff) |
Document reindexing changes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md index de2e73d247..2c9ff299cb 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -214,6 +214,24 @@ no longer optimized for this metric. Feedback is requested on whether to deprecate or keep this command line option in future releases. +Reindexing changes +------------------ + +In earlier versions, reindexing did validation while reading through the block +files on disk. These two have now been split up, so that all blocks are known +before validation starts. This was necessary to make certain optimizations that +are available during normal synchronizations also available during reindexing. + +The two phases are distinct in the Bitcoin-Qt GUI. During the first one, +"Reindexing blocks on disk" is shown. During the second (slower) one, +"Processing blocks on disk" is shown. + +It is possible to only redo validation now, without rebuilding the block index, +using the command line option `-reindex-chainstate` (in addition to +`-reindex` which does both). This new option is useful when the blocks on disk +are assumed to be fine, but the chainstate is still corrupted. It is also +useful for benchmarks. + Removal of internal miner -------------------------- |