AlphaWallet / AlphaWallet/alpha-wallet-ios
Fetch ERC20-specific transactions more efficiently or less frequently
未关闭
- 主要语言
- Swift
- 星标
- 631
- 派生
- 384
- PR 合并指标
- 30 天内没有已合并 PR
描述
[`SingleChainTransactionDataCoordinator.autoDetectERC20Transactions()`](https://github.com/AlphaWallet/alpha-wallet-ios/blob/master/AlphaWallet/Transactions/Coordinators/SingleChainTransactionDataCoordinator.swift#L71) is being called every 15 seconds for each enabled network.
It looks like it will attempt to fetch all the last X transactions even if there are newer transactions since the last fetch. Let's either:
1. Fetch only the newer ones since the last fetch (if the API supports it) or:
2. Fetch less frequently
贡献指南
评估
这个 Issue 还没有评估数据。