penumbra_sdk_proto/gen/
penumbra.core.txhash.v1.rs

1// This file is @generated by prost-build.
2/// The hash of a Penumbra transaction's *effecting data*, describing the effects
3/// of the transaction on the chain state.
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct EffectHash {
6    #[prost(bytes = "vec", tag = "1")]
7    pub inner: ::prost::alloc::vec::Vec<u8>,
8}
9impl ::prost::Name for EffectHash {
10    const NAME: &'static str = "EffectHash";
11    const PACKAGE: &'static str = "penumbra.core.txhash.v1";
12    fn full_name() -> ::prost::alloc::string::String {
13        "penumbra.core.txhash.v1.EffectHash".into()
14    }
15    fn type_url() -> ::prost::alloc::string::String {
16        "/penumbra.core.txhash.v1.EffectHash".into()
17    }
18}
19/// A transaction ID, the Sha256 hash of a transaction.
20///
21/// This is the hash of the plain byte encoding, used by Tendermint.
22#[derive(Clone, PartialEq, ::prost::Message)]
23pub struct TransactionId {
24    #[prost(bytes = "vec", tag = "1")]
25    pub inner: ::prost::alloc::vec::Vec<u8>,
26}
27impl ::prost::Name for TransactionId {
28    const NAME: &'static str = "TransactionId";
29    const PACKAGE: &'static str = "penumbra.core.txhash.v1";
30    fn full_name() -> ::prost::alloc::string::String {
31        "penumbra.core.txhash.v1.TransactionId".into()
32    }
33    fn type_url() -> ::prost::alloc::string::String {
34        "/penumbra.core.txhash.v1.TransactionId".into()
35    }
36}