pub fn hash(transactions: &[Transaction]) -> Hash {
        let mut hasher = Hasher::default();
        transactions
            .iter()
            .for_each(|tx| hasher.hash(&tx.signature.as_ref()));
        hasher.result()
    }
// a hash of a slice of transactions only needs to hash the signatures
a hash of a slice of transactions only needs to hash the signatures
a hash of a slice of transactions only needs to hash the signatures
pub fn hash(transactions: &[Transaction]) -> Hash {
        let mut hasher = Hasher::default();
        transactions
            .iter()
            .for_each(|tx| hasher.hash(&tx.signature.as_ref()));
        hasher.result()
    }
pub fn hash ( transactions : & [ Transaction ] ) -> Hash { let mut hasher = Hasher :: default ( ) ; transactions . iter ( ) . for_each ( | tx | hasher . hash ( & tx . signature . as_ref ( ) ) ) ; hasher . result ( ) }
a hash of a slice of transactions only needs to hash the signatures
a hash of a slice of transactions only needs to hash the signatures
transactions
&[Transaction]
transactions
&[Transaction]