TxId struct

This commit is contained in:
Jack Grigg 2018-10-11 23:15:29 +01:00
parent e21be37042
commit 20d5cdc571
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ const OVERWINTER_TX_VERSION: u32 = 3;
const SAPLING_VERSION_GROUP_ID: u32 = 0x892F2085;
const SAPLING_TX_VERSION: u32 = 4;
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct TxId(pub [u8; 32]);
/// A Zcash transaction.
#[derive(Debug)]
pub struct Transaction(TransactionData);