1use bitcoin::hashes::hash_newtype; 2use bitcoin::hashes::sha256::Hash as Sha256; 3 4hash_newtype!( 5 /// A transaction id for peg-ins, peg-outs and reissuances 6 pub struct TransactionId(Sha256); 7);