pub type OrchardNote = WalletNote<Note, Nullifier>;Expand description
Orchard note.
Aliased Type§
pub struct OrchardNote { /* private fields */ }Implementations§
Trait Implementations§
Source§impl NoteInterface for OrchardNote
impl NoteInterface for OrchardNote
Source§const SHIELDED_PROTOCOL: ShieldedProtocol = ShieldedProtocol::Orchard
const SHIELDED_PROTOCOL: ShieldedProtocol = ShieldedProtocol::Orchard
Note’s associated shielded protocol.
Source§type Nullifier = <WalletNote<Note, Nullifier> as OutputInterface>::Input
type Nullifier = <WalletNote<Note, Nullifier> as OutputInterface>::Input
Nullifier type.
Source§fn refetch_nullifier_ranges(&self) -> &[Range<BlockHeight>]
fn refetch_nullifier_ranges(&self) -> &[Range<BlockHeight>]
List of block ranges where the nullifiers must be re-fetched to guarantee the note has not been spent.
These scan ranges were marked
ScannedWithoutMapping or RefetchingNullifiers priority before this note was
scanned, meaning the nullifiers were discarded due to memory constraints and will be re-fetched later in the
sync process.Source§impl OutputInterface for OrchardNote
impl OutputInterface for OrchardNote
Source§fn spending_transaction(&self) -> Option<TxId>
fn spending_transaction(&self) -> Option<TxId>
Transaction ID of transaction this output was spent.
If
None, output is not spent.Source§fn set_spending_transaction(&mut self, spending_transaction: Option<TxId>)
fn set_spending_transaction(&mut self, spending_transaction: Option<TxId>)
Sets spending transaction.
Source§fn spend_link(&self) -> Option<Self::Input>
fn spend_link(&self) -> Option<Self::Input>
Returns the type used to link with transaction inputs for spend detection.
Returns
None in the case the nullifier is not available for shielded outputs. Read moreSource§fn transaction_inputs(transaction: &WalletTransaction) -> Vec<&Self::Input>
fn transaction_inputs(transaction: &WalletTransaction) -> Vec<&Self::Input>
Inputs within
transaction used to detect an output’s spend status. Read moreSource§fn transaction_outputs(transaction: &WalletTransaction) -> &[Self]
fn transaction_outputs(transaction: &WalletTransaction) -> &[Self]
Outputs within
transaction.