tlsn_core/transcript/
encoding.rs1mod encoder;
7mod proof;
8mod provider;
9mod tree;
10
11pub use encoder::{new_encoder, Encoder, EncoderSecret};
12pub use proof::{EncodingProof, EncodingProofError};
13pub use provider::{EncodingProvider, EncodingProviderError};
14pub use tree::EncodingTree;
15
16use serde::{Deserialize, Serialize};
17
18use crate::hash::{impl_domain_separator, TypedHash};
19
20#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
22pub struct EncodingCommitment {
23 pub root: TypedHash,
25 pub secret: EncoderSecret,
27}
28
29impl_domain_separator!(EncodingCommitment);