-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
22 lines (18 loc) · 763 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ETH_INDEXER=dev
VERSION=1.0
LOG_LEVEL=info #info, warn, debug, error
HTTP_RPC_ENDPOINT="https://rpc.dev.bcf-lab.com"
WS_RPC_ENDPOINT="wss://ws.dev.bcf-lab.com"
POSTGRES_HOST="localhost"
POSTGRES_PORT="5432"
POSTGRES_USER="postgres"
POSTGRES_PASSWORD="postgres"
POSTGRES_DATABASE="eth-indexer"
POSTGRES_CREATE_TABLE_ORDER="config,blocks,transactions,transactions_receipts,addresses,contracts,tokens,token_transfers,logs"
MAX_CONCURRENCY=800 # also = to the batch size.
NB_OF_WS_CONNECTIONS=100 # don't open too many WS connections, max around 100
NB_OF_DB_CONNECTIONS=20 # don't open too many DB connections, max around 10
START_BLOCK=0
END_BLOCK=-1
BLOCKSCOUT_ENDPOINT=https://blockscout.dev.bcf-lab.com
BLOCKSCOUT_API_KEY=6dc17aa2-3362-4e15-a2b4-704b0682e052