HomePhabricator

Update the block file counter in database when using -reindex
c8b2e4426b78Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Update the block file counter in database when using -reindex

This problem is like earth (mostly harmless). After/during a
-reindex, it means the statistics about the last block file
reported in debug.log are always of blk00000.dat instead of the
last file. Apart from that, it means a few more database entries
need to be read when finding a file to append to the first time.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Dec 4 2012, 22:46
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGd79775a04d6d: Merge pull request #2057 from Diapolo/FlushBlockFile
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGc8b2e4426b78: Update the block file counter in database when using -reindex (authored by Pieter Wuille <pieter.wuille@gmail.com>).Dec 6 2012, 21:04