pub fn hash(&self) -> BlockHash {
        match HashingAlgorithmVersion::from_protocol_version(&self.protocol_version) {
            HashingAlgorithmVersion::V1 => self.hash_v1(),
            HashingAlgorithmVersion::V2 => self.hash_v2(),
        }
    }
/// Hash of the block header.
Hash of the block header.
Hash of the block header .
pub fn hash(&self) -> BlockHash {
        match HashingAlgorithmVersion::from_protocol_version(&self.protocol_version) {
            HashingAlgorithmVersion::V1 => self.hash_v1(),
            HashingAlgorithmVersion::V2 => self.hash_v2(),
        }
    }
pub fn hash ( & self ) -> BlockHash { match HashingAlgorithmVersion :: from_protocol_version ( & self . protocol_version ) { HashingAlgorithmVersion :: V1 => self . hash_v1 ( ) , HashingAlgorithmVersion :: V2 => self . hash_v2 ( ) , } }
Hash of the block header.
Hash of the block header .
&self
&self