ripple / validator-history-service

Service for ingesting, aggregating, storing, and disbursing XRP Ledger validation related data.
ISC License
14 stars 8 forks source link

refactor: put networks in code instead of env vars #29

Closed mvadari closed 2 years ago

mvadari commented 2 years ago

High Level Overview of Change

This PR moves the network info from env vars to a TypeScript object. This makes it way easier to work with the networks.

Changes:

Context of Change

It's hard to add networks or modify the set of networks when their data is stored in environment variables. It's all public information and doesn't need to be hidden.

Type of Change

Before / After

Test Plan

CI passes.