From 6e60b73905d9974fda5a91c0c0a9a6846af21933 Mon Sep 17 00:00:00 2001 From: sinu <65924192+sinui0@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:50:27 -0800 Subject: [PATCH] docs(tlsn-core): update Direction docs --- tlsn/tlsn-core/src/transcript.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tlsn/tlsn-core/src/transcript.rs b/tlsn/tlsn-core/src/transcript.rs index 13751767f..a8de409f6 100644 --- a/tlsn/tlsn-core/src/transcript.rs +++ b/tlsn/tlsn-core/src/transcript.rs @@ -159,12 +159,13 @@ impl TranscriptSlice { /// The direction of data communicated over a TLS connection. /// -/// This is used to differentiate between data sent to the Server, and data received from the Server. +/// This is used to differentiate between data sent from the Prover to the TLS peer, +/// and data received by the Prover from the TLS peer (client or server). #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] pub enum Direction { - /// Sent from the prover to the server + /// Sent from the Prover to the TLS peer. Sent, - /// Received by the prover from the server + /// Received by the prover from the TLS peer. Received, }