//! Functions to restore a wallet's outputs from just the master seed

OutputResult

/// Utility struct for return values from below
struct OutputResult {
    ///
    pub commit: pedersen::Commitment,
    ///
    pub key_id: Option<Identifier>,
    ///
    pub n_child: Option<u32>,
    ///
    pub value: u64,
    ///
    pub height: u64,
    ///
    pub lock_height: u64,
    ///
    pub is_coinbase: bool,
    ///
    pub blinding: SecretKey,
}

identify_utxo_outputs

populate_child_indices

/// Attempts to populate a list of outputs with their
/// correct child indices based on the root key

restore

/// Restore a wallet

results matching ""

    No results matching ""