Follow-on to previous commit. Without this change, darksidewalletd detects corruption, example: {..."CORRUPTION detected in db blocks-cache files, height 1000..."} Steps to recreate default-darkside-blocks: $ mkdir blocks $ touch blocks/{1000,1001,1002,1003,1004,1005}.txt $ go run cmd/genblocks/main.go >testdata/default-darkside-blocks |
||
---|---|---|
.. | ||
corpus | ||
badblocks | ||
blocks | ||
compact_blocks.json | ||
default-darkside-blocks | ||
getsaplinginfo | ||
mainnet_genesis | ||
zip143_raw_tx | ||
zip243_raw_tx |