Skip to content

Jump scanner to finalized tip and backfill skipped range per address - #67

Merged
webster-swift merged 3 commits into
mainfrom
feat/jump-processedblock
Nov 6, 2026
Merged

webster-swift merged 3 commits into
mainfrom
feat/jump-processedblock

Conversation

@webster-swift

Copy link
Copy Markdown
Member

When the scanner lags past a per-chain backfill_threshold_blocks, it now jumps to the finalized block instead of replaying every block. The skipped range is closed by address_backfill river jobs, one per watched address, tracked by a processed incident.

  • Add backfill_threshold_blocks to every blockchain config (0 disables)
  • Add AddressBackfillWorker on its own river queue (5 workers) with adaptive sub-range sizing, resumable progress in job metadata, and incident completion/reconciliation on scanner startup
  • Extract eventPipeline (event filtering, webhook commit) from scanner so the scanner and backfill share one code path
  • Finalized backfill events skip waiting_confirmations; EVM deposits still go through the balance delta check job
  • Extend eproxy FindTransactions with address, block range, and retries on transient errors
  • Add GetAddressesByBlockchain keyset queries for hot, cold and processing wallets
  • Raise default postgres pool to 5-30 conns for river workers linter to gomodguard_v2

When the scanner lags past a per-chain backfill_threshold_blocks, it
now jumps to the finalized block instead of replaying every block. The
skipped range is closed by address_backfill river jobs, one per watched
address, tracked by a processed incident.

- Add backfill_threshold_blocks to every blockchain config (0 disables)
- Add AddressBackfillWorker on its own river queue (5 workers) with
  adaptive sub-range sizing, resumable progress in job metadata, and
  incident completion/reconciliation on scanner startup
- Extract eventPipeline (event filtering, webhook commit) from scanner
  so the scanner and backfill share one code path
- Finalized backfill events skip waiting_confirmations; EVM deposits
  still go through the balance delta check job
- Extend eproxy FindTransactions with address, block range, and
  retries on transient errors
- Add GetAddressesByBlockchain keyset queries for hot, cold and
  processing wallets
- Raise default postgres pool to 5-30 conns for river workers
  linter to gomodguard_v2
@webster-swift
webster-swift merged commit f71819c into main Nov 6, 2026
1 check passed
@webster-swift
webster-swift deleted the feat/jump-processedblock branch November 30, 2026 09:24
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