aztec-nr - noir_aztec::messages::processing::log_retrieval_response

Struct LogRetrievalResponse

pub struct LogRetrievalResponse {
    pub log_payload: BoundedVec<Field, 15>,
    pub tx_hash: Field,
    pub unique_note_hashes_in_tx: BoundedVec<Field, 64>,
    pub first_nullifier_in_tx: Field,
}

A response to a LogRetrievalRequest, containing the payload of a log (i.e. the content minus the tag, called plaintext for public logs and ciphertext for private), plus contextual information about the transaction in which the log was emitted. This is the data required in order to discover notes that are being delivered in a log.

Fields

log_payload: BoundedVec<Field, 15>
tx_hash: Field
unique_note_hashes_in_tx: BoundedVec<Field, 64>

The array of new note hashes created by tx_hash

first_nullifier_in_tx: Field

The first nullifier created by tx_hash

Trait implementations

impl Deserialize for LogRetrievalResponse

pub fn deserialize(fields: [Field; 83]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Eq for LogRetrievalResponse

pub fn eq(_self: Self, _other: Self) -> bool