cache the block hash