Function cashweb::bitcoin::transaction::transaction_id[][src]

pub fn transaction_id(raw_transaction: &[u8]) -> [u8; 32]

Calculate the transaction ID. This is the double SHA256 digest of the raw transaction in big-endian encoding.