fn hash(&self) -> Vec<u8> {
        HashDigest::new()
            .chain(&[self.features.bits])
            .chain(u64::from(self.fee).to_le_bytes())
            .chain(self.lock_height.to_le_bytes())
            .chain(self.excess.as_bytes())
            .chain(self.excess_sig.get_public_nonce().as_bytes())
            .chain(self.excess_sig.get_signature().as_bytes())
            .finalize()
            .to_vec()
    }
/// Produce a canonical hash for a transaction kernel. The hash is given by
/// $$ H(feature_bits | fee | lock_height | P_excess | R_sum | s_sum)
Produce a canonical hash for a transaction kernel.
Produce a canonical hash for a transaction kernel .
fn hash(&self) -> Vec<u8> {
        HashDigest::new()
            .chain(&[self.features.bits])
            .chain(u64::from(self.fee).to_le_bytes())
            .chain(self.lock_height.to_le_bytes())
            .chain(self.excess.as_bytes())
            .chain(self.excess_sig.get_public_nonce().as_bytes())
            .chain(self.excess_sig.get_signature().as_bytes())
            .finalize()
            .to_vec()
    }
fn hash ( & self ) -> Vec < u8 > { HashDigest :: new ( ) . chain ( & [ self . features . bits ] ) . chain ( u64 :: from ( self . fee ) . to_le_bytes ( ) ) . chain ( self . lock_height . to_le_bytes ( ) ) . chain ( self . excess . as_bytes ( ) ) . chain ( self . excess_sig . get_public_nonce ( ) . as_bytes ( ) ) . chain ( self . excess_sig . get_signature ( ) . as_bytes ( ) ) . finalize ( ) . to_vec ( ) }
Produce a canonical hash for a transaction kernel.
Produce a canonical hash for a transaction kernel .
&self
&self