Skip to main content

Module defaults

Module defaults 

Source
Expand description

Reference implementations of WalletRead and WalletWrite trait methods.

This module provides standalone free functions that implement the canonical semantics of selected trait methods in terms of other, more primitive operations. Wallet backend authors who do not have a more efficient implementation available can delegate the corresponding trait method to the function provided here; backends that can do better (e.g. via an indexed database lookup) should implement the trait method directly.

Functionsยง

address_receiver_matches_ua
Returns true if address contains any receiver that matches one of the receivers of the given UnifiedAddress.
find_account_for_address
Reference implementation of WalletRead::find_account_for_address.