Skip to content

eth: speed up active account transaction discovery#4168

Draft
Tomasvrba wants to merge 1 commit into
BitBoxSwiss:masterfrom
Tomasvrba:eth-incoming-tx
Draft

eth: speed up active account transaction discovery#4168
Tomasvrba wants to merge 1 commit into
BitBoxSwiss:masterfrom
Tomasvrba:eth-incoming-tx

Conversation

@Tomasvrba
Copy link
Copy Markdown
Collaborator

Fix to an old issue: #837

Incoming ETH transactions are currently only discovered during the regular Etherscan history sync, which runs every five minutes to stay conservative with API usage. That means a mined incoming transaction can remain invisible for minutes even though Ethereum blocks are produced much faster.

Add a short-lived foreground activity lease so the backend can identify ETH accounts the user is actively viewing. While such a lease is active, cheaply probe the remote balance and trigger a targeted full account update only when the balance changes. This improves mined incoming transaction discovery without polling full transaction history for every account more often, and the existing five-minute full sync remains the fallback.

Incoming ETH transactions are currently only discovered during the regular
Etherscan history sync, which runs every five minutes to stay conservative with
API usage. That means a mined incoming transaction can remain invisible for
minutes even though Ethereum blocks are produced much faster.

Add a short-lived foreground activity lease so the backend can identify ETH
accounts the user is actively viewing. While such a lease is active, cheaply
probe the remote balance and trigger a targeted full account update only when
the balance changes. This improves mined incoming transaction discovery without
polling full transaction history for every account more often, and the existing
five-minute full sync remains the fallback.
@Tomasvrba Tomasvrba requested review from Beerosagos and benma May 27, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant