pub fn output_hash(&self) -> Vec<u8> {
        HashDigest::new()
            .chain(self.features.to_bytes())
            .chain(self.commitment.as_bytes())
            .chain(self.script.as_bytes())
            .finalize()
            .to_vec()
    }
/// Returns the hash of the output data contained in this input.
/// This hash matches the hash of a transaction output that this input spends.
Returns the hash of the output data contained in this input.
This hash matches the hash of a transaction output that this input spends.
Returns the hash of the output data contained in this input . This hash matches the hash of a transaction output that this input spends .
pub fn output_hash(&self) -> Vec<u8> {
        HashDigest::new()
            .chain(self.features.to_bytes())
            .chain(self.commitment.as_bytes())
            .chain(self.script.as_bytes())
            .finalize()
            .to_vec()
    }
pub fn output_hash ( & self ) -> Vec < u8 > { HashDigest :: new ( ) . chain ( self . features . to_bytes ( ) ) . chain ( self . commitment . as_bytes ( ) ) . chain ( self . script . as_bytes ( ) ) . finalize ( ) . to_vec ( ) }
Returns the hash of the output data contained in this input.
Returns the hash of the output data contained in this input .
&self
&self