DriveNetTESTDRIVE / DriveNet

MIT License
21 stars 30 forks source link

Txindex cannot recover from ungraceful shutdown #10

Open abrkn opened 5 years ago

abrkn commented 5 years ago

1) Run drivenet-qt 2) Stop it using kill -9 3) Start drivenet-qt 4) Receive message in GUI saying tx index has to be rebuilt 5) Press yes 6) Get message saying there is a corruption 7) drivenet-qt quits

Workaround: Delete blocks and chainstate folders before restarting drivenet-qt

abrkn commented 5 years ago

It appears to be happening even when shutdown is done gracefully. Perhaps it's because I run with txindex=1? (Needed for the block explorer)

image

image