penumbra_sdk_txhash/context.rs
1use crate::EffectHash;
2use penumbra_sdk_tct as tct;
3
4/// Stateless verification context for a transaction.
5///
6/// TODO: this is located in this crate just for convenience (at the bottom of the dep tree).
7#[derive(Clone, Debug)]
8pub struct TransactionContext {
9 /// The transaction's anchor.
10 pub anchor: tct::Root,
11 /// The transaction's effect hash.
12 pub effect_hash: EffectHash,
13}