pub type IronwoodNote = WalletNote<Note, Nullifier, Ironwood>;Expand description
Ironwood note. Shares Orchard’s note and nullifier types (version V3) but belongs to the Ironwood pool with its own note commitment tree.
Aliased Type§
pub struct IronwoodNote { /* private fields */ }Implementations§
Trait Implementations§
Source§impl NoteInterface for IronwoodNote
impl NoteInterface for IronwoodNote
Source§const SHIELDED_PROTOCOL: ShieldedPool = ShieldedPool::Ironwood
const SHIELDED_PROTOCOL: ShieldedPool = ShieldedPool::Ironwood
Note’s associated shielded protocol.
Source§type Nullifier = <WalletNote<Note, Nullifier, Ironwood> as OutputInterface>::Input
type Nullifier = <WalletNote<Note, Nullifier, Ironwood> 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 IronwoodNote
impl OutputInterface for IronwoodNote
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.