-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env
More file actions
95 lines (80 loc) · 5.28 KB
/
.env
File metadata and controls
95 lines (80 loc) · 5.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# .env
# --- App Version ---
# Internal application version identifier
APP_VERSION=0.1.3
# --- Logging ---
# Log level: TRACE, DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=WARNING
# --- Chain Watch (Optional) ---
# Comma-separated list of specific network directory names to process (if empty, process all non-blacklisted)
# Do Not comment this, or it will not work
# CHAIN_WATCH=coreum,elys,nibiru,lava
CHAIN_WATCH=
# --- Network & Server Filtering ---
# Comma-separated list of network directory names to skip entirely
NETWORK_BLACKLIST=lavatestnet1,andromeda1,8ball,akiro,andromeda,arkeonetworktestnet,artelatestnet,autheotestnet,babylontestnet,bfhevmtestnet,bitcannadevnet,bitcannadevnet2,blockxtestnet,bluechip,cascadiatestnet,celestiatestnet,celestiatestnet2,cerberus,chimba,chimbatestnet,chronicnetwork,cifer,cifer1,cnhostables,composabletestnet,coolcattestnet,cosstestnet,coswasmtestnet,cudos,cudostestnet,deardogetestnet,dhealthtestnet,dig,doravotatestnet2,echelon,empowertestnet,entrypointtestnet,ethos,exchaintestnet,fiammatestnet,furya,galaxy,gitopiatestnet,heli,highbury,idep,imversed,imversedtestnet,injectivetestnet,iopntestnet,jackaltestnet2,kujiratestnet,lambda,lefeef,logos,lombardledger,lombardledgertestnet,lorenzo,lumenx,lumenxtestnet,mars,marstestnet,metanovaversetestnet,microtick,mises,mtgbp,mun,mythos,neura,neuradevnet,neuratestnet,nibirudevnet2,nibirudevnet3,nibirutestnet,nibirutestnet3,nois,noistestnet,nomic,nomictestnet,nolustestnet,nolustestnet1,octa,odin1,okexchain,okp4testnet,onex,opct,osmosistestnet4,paloma,passage1,permtestnet,pocket,pockettestnet,pryzmtestnet,qfs,quasartestnet,sagatestnet,secretnetworktestnet,secretnetworktestnet2,seidevnet3,seitestnet,selfchaindevnet,soarchaintestnet,source,starname,statesettestnet,sunrise,taketitan,temporaltestnet,terpnettestnet,terpnettestnet2,tgrade,titannettestnet,tucanatestnet,ulastestnet,unicorn,uptick,upticktestnet,vidulum,vincechaintestnet,wardenprotocoltestnet,wavehashtestnet,xiontestnet,berachain,ojotestnet,cosmwasmtestnet,wardenprotocol,namada,galactica,hall
# Comma-separated list of specific REST/RPC server URLs to always skip
SERVER_BLACKLIST=https://stride.api.bccnodes.com:443,https://api.omniflix.nodestake.top,https://cosmos-lcd.quickapi.com:443,https://osmosis.rpc.stakin-nodes.com:443
# Comma-separated list of networks that DO NOT have the standard gov module (skip proposal checks)
NETWORKS_NO_GOV_MODULE_CSV=noble,nobletestnet
# Comma-separated list of preferred explorer domains (checked in order)
PREFERRED_EXPLORERS_CSV=ping.pub,mintscan.io,nodes.guru
# --- CosmWasm Governance Configuration ---
# JSON string defining networks using CosmWasm governance and their contract details
COSMWASM_GOV_CONFIG_JSON={"neutron": {"contract_address": "neutron1suhgf5svhu4usrurvxzlgn54ksxmn8gljarjtxqnapv8kjnp4nrs7d743d", "query_type": "list_proposals"}}
# --- Private Endpoints Configuration ---
# Path to JSON file containing private RPC/REST endpoints that override chain registry
PRIVATE_ENDPOINTS_FILE=private_endpoints.json
# --- Flask App ---
FLASK_HOST=0.0.0.0
FLASK_PORT=5001
# --- Data Fetching & Processing ---
# Number of parallel workers for fetching data
NUM_WORKERS=10
# Git repository URL for the chain registry
CHAIN_REGISTRY_REPO_URL=https://github.com/cosmos/chain-registry.git
# Local directory name for the cloned chain registry repo
CHAIN_REGISTRY_DIR_NAME=chain-registry
# Base URL for GitHub API calls
GITHUB_API_URL=https://api.github.com
# Interval in seconds between data update cycles
UPDATE_INTERVAL_SECONDS=300
# Max number of healthy RPC/REST endpoints to select per network
MAX_HEALTHY_ENDPOINTS=3
# Number of blocks to look back for calculating average block time
BLOCK_RANGE_FOR_AVG_TIME=10000
# Number of retries for fetching block time via RPC
BLOCK_TIME_RETRIES=2
# --- Timeouts (in seconds) ---
# Timeout for /health and /node_info checks
HEALTH_CHECK_TIMEOUT_SECONDS=1
# Timeout for fetching block data via RPC (/block)
BLOCK_FETCH_TIMEOUT_SECONDS=2
# Timeout for fetching chain status via RPC (/status)
STATUS_TIMEOUT_SECONDS=1
# Timeout for CosmWasm smart contract queries
COSMWASM_TIMEOUT_SECONDS=10
# Timeout for checking explorer health
EXPLORER_HEALTH_TIMEOUT_SECONDS=2
# --- Network-Specific Timeouts ---
# Comma-separated list of network:timeout pairs for networks that need custom timeouts (in seconds)
# Format: network:status_timeout:block_fetch_timeout:health_check_timeout
# Example: kujira:5:8:3 (5s for status, 8s for block fetch, 3s for health checks)
NETWORK_SPECIFIC_TIMEOUTS=kujira:2:3:2,cosmos:3:5:2,sge:5:8:4,celestia:5:8:4
# --- Network Diagnostics ---
# Enable detailed timing diagnostics for specific networks (comma-separated)
NETWORK_DIAGNOSTICS=kujira,sge
# --- Logging Configuration ---
# Force colored output even when output is not a TTY (useful for k9s and other tools)
LOG_FORCE_COLOR=true
# --- Caching ---
# Cache type: 'simple' (in-memory) or 'filesystem'
CACHE_TYPE=filesystem
# Directory for filesystem cache.
# Set to the persistent volume path (e.g., /cr/cache) for deployments.
# The app will automatically fall back to './cache' if this path is not writable (e.g., during local development).
CACHE_DIR=/cr/cache
# Cache timeout in seconds for GitHub repo *tags* (separate from main data cache)
TAG_CACHE_TIMEOUT_SECONDS=99999
# Cache timeout in seconds for mainnet/testnet data
DATA_CACHE_TIMEOUT_SECONDS=600