mempool/docker/backend/mempool-config.json
2021-02-01 17:25:08 +01:00

39 lines
793 B
JSON

{
"MEMPOOL": {
"NETWORK": "mainnet",
"BACKEND": "electrum",
"HTTP_PORT": 8999,
"SPAWN_CLUSTER_PROCS": 0,
"API_URL_PREFIX": "/api/v1/",
"POLL_RATE_MS": 2000,
"CACHE_DIR": "<CACHE_DIR>"
},
"CORE_RPC": {
"HOST": "<RPC_HOST>",
"PORT": <RPC_PORT>,
"USERNAME": "<RPC_USER>",
"PASSWORD": "<RPC_PASS>"
},
"ELECTRUM": {
"HOST": "<ELECTRS_HOST>",
"PORT": <ELECTRS_PORT>,
"TLS_ENABLED": false,
"TX_LOOKUPS": true
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3000"
},
"DATABASE": {
"ENABLED": true,
"HOST": "<MYSQL_HOST>",
"PORT": 3306,
"DATABASE": "mempool",
"USERNAME": "mempool",
"PASSWORD": "mempool"
},
"STATISTICS": {
"ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150
}
}