27e507cba0
This adds a unit test to see if the combination of invalidateBlock and reconsiderBlock do what we expect to do. The main issue was that we store an invalidated block in the UTXO and we forgot to re-validate that on reconsider. Additionally I avoid writing a lot of unchanged data to the block-index.