initial revision of "not crashing on bad data"
the tests pass!
a function that actually returns the missing block headers
oops. the missings blocks we download should not be the blocks
that we don't have the headers for, but instead the blocks
that we DO have the headers, but the block contents are corrupt
the list of bad blocks should be reset
run a test on corruption
Merge branch 'charles-handle-bad-blocks' into 0.91-dev
Almost done with new factory-reset dialog