penumbra_txhash/
context.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::EffectHash;
use penumbra_tct as tct;

/// Stateless verification context for a transaction.
///
/// TODO: this is located in this crate just for convenience (at the bottom of the dep tree).
#[derive(Clone, Debug)]
pub struct TransactionContext {
    /// The transaction's anchor.
    pub anchor: tct::Root,
    /// The transaction's effect hash.
    pub effect_hash: EffectHash,
}