Skip to content

Launch ingesters per network in the bootstrap #117

Description

@Miracle656

Background

src/index.ts starts exactly one instance of each of the five ingesters (SDEX, AMM, Soroswap, Snapshot, Aquarius). Depends on L047–L050. To index both networks, each ingester must be launched per enabled network.

What to build

Iterate enabled networks and start each ingester with its network context.

Key files

  • src/index.ts (ingester startup, ~173-177)

Suggested execution

git checkout -b feat/multi-network-ingesters
  1. Read enabled networks (e.g. NETWORKS=testnet,mainnet)
  2. For each network, start each ingester with getNetworkConfig(network)
  3. Ensure restartIngester tracks instances per (ingester, network)

Acceptance criteria

  • Each ingester runs once per enabled network
  • Restart logic isolates per-network instances
  • Single-network mode still starts five loops, not ten

Drips Wave · Complexity: Intermediate · 150 points


Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions