Skip to main content

generate_transparent_gap_addresses

Function generate_transparent_gap_addresses 

Source
pub fn generate_transparent_gap_addresses<DbT, SE>(
    wallet_db: &mut DbT,
    gap_limits: GapLimits,
    account_id: <DbT as LowLevelWalletRead>::AccountId,
    key_scope: TransparentKeyScope,
    request: UnifiedAddressRequest,
) -> Result<(), GapAddressesError<SE>>
where DbT: LowLevelWalletWrite<Error = SE> + AddressStore<Error = SE, AccountRef = <DbT as LowLevelWalletRead>::AccountRef>, DbT::TxRef: Eq + Hash,
Available on crate feature transparent-inputs only.
Expand description

Generates transparent gap addresses for a given account and key scope.

This is a convenience function that resolves the account’s viewing keys from the wallet database and delegates to generate_gap_addresses.