mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
* feat(swap-status-monitor): add real-time swap status monitoring and UI updates - Introduce SwapManager for automatic tracking of active-wallet swaps. - Automatically queues new or updated trades from the Hive box. - Periodically fetch and persist swap statuses via the corresponding trade provider. - Implement start(wallet, providers), stop(), and dispose() for lifecycle control. - Apply user's ExchangeApiMode(disabled, tor-only, enabled) when fetching updates. - Remove swaps from the watchlist on any final state (completed, expired, failed). - Dispose SwapManager in AppState.dispose() to cancel polling and the Hive subscription. * refactor(swap-status): replace SwapManager with TradeMonitor for improved trade monitoring. This change improves the flow by simplifying the trade monitoring logic. - Removes SwapManager class and replace with TradeMonitor implementation - Update di and Appstate to register and dispose TradeMonitor - Modify DashboardViewModel to use TradeMonitor instead of SwapManager * fix: Modify trade monitoring logic to ensure trade timers are properly disposed when wallet switching occurs * fix(swap-status): Fix receive amount for exchanges showing as .00 because of null values * feat(swap-status): Enhance Trade Monitoring This change: - Adds a privacy settings option to disable automatic exchange status updates. - Prevents trade monitoring when privacy settings option is enabled. - Disables trade monitoring when the app is in background, we only want to run these checks in foreground. - Refactors the trade monitoring logic to remove unneccessary checks and use of resources. * feat(swap-status): Enhance Trade Monitoring This change: - Adds a privacy settings option to disable automatic exchange status updates. - Prevents trade monitoring when privacy settings option is enabled. - Disables trade monitoring when the app is in background, we only want to run these checks in foreground. - Refactors the trade monitoring logic to remove unneccessary checks and use of resources. * fix(swap-staus): Prevent unneccessary calls * feat(swap-status): Prevent api request calls as long as last update time is less than specified interval |
||
---|---|---|
.. | ||
open_crypto_pay | ||
address_label_validator.dart | ||
address_validator.dart | ||
amount.dart | ||
amount_validator.dart | ||
auth_service.dart | ||
auth_state.dart | ||
background_sync.dart | ||
backup_service.dart | ||
backup_service_v3.dart | ||
contact_name_validator.dart | ||
create_trade_result.dart | ||
email_validator.dart | ||
execution_state.dart | ||
fiat_conversion_service.dart | ||
generate_wallet_password.dart | ||
key_service.dart | ||
mnemonic_length.dart | ||
monero_account_label_validator.dart | ||
new_wallet_arguments.dart | ||
new_wallet_type_arguments.dart | ||
node_address_validator.dart | ||
node_port_validator.dart | ||
seed_validator.dart | ||
selectable_option.dart | ||
socks_proxy_node_address_validator.dart | ||
sync_status_title.dart | ||
template_validator.dart | ||
totp_request_details.dart | ||
trade_monitor.dart | ||
utilities.dart | ||
validator.dart | ||
wallet_change_listener_view_model.dart | ||
wallet_creation_service.dart | ||
wallet_creation_state.dart | ||
wallet_loading_service.dart | ||
wallet_name_validator.dart | ||
yat_service.dart |