Browse Source
Given that the block tree database (chain.dat) and the active chain database (coins.dat) are entirely separate now, it becomes legal to swap one with another instance without affecting the other. This commit introduces a check in the startup code that detects the presence of a better chain in chain.dat that has not been activated yet, and does so efficiently (in batch, while reusing the blk???.dat files).miguelfreitas
Pieter Wuille
12 years ago
2 changed files with 34 additions and 1 deletions
Loading…
Reference in new issue