added debug logging case for BlockHeader.
bug in block.locate_blocks (missing self?! obviously needs more test cases).