Adding version 1 block header check and fixing a bug in transaction import