S31_valid_written_block_hash: check sha1 in block controller

Can we make this is a specialized exception instead of throwing the base exception? A good reference is here: https://docs.python.org/2/library/exceptions.html

In this particular situation, I would think ValueError may be best? Thoughts?