Struct NoteOrigin
pub struct NoteOrigin {
pub tx_hash: Field,
pub block: BlockReference,
}
Fields
tx_hash: FieldHash of the transaction that created the note.
block: BlockReferenceThe block that transaction was included in.
Trait implementations
impl Deserialize for NoteOrigin
pub fn deserialize(fields: [Field; 3]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
impl Eq for NoteOrigin
pub fn eq(_self: Self, _other: Self) -> bool
Where a settled note was created.
None of this can be cheaply constrained: doing so requires proving the transaction, its inclusion in the block, and the block's ancestry in the anchor block.