mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 01:04:28 +01:00
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"MEMPOOL": {
|
|
"NETWORK": "mainnet",
|
|
"BACKEND": "electrum",
|
|
"HTTP_PORT": __MEMPOOL_BACKEND_MAINNET_HTTP_PORT__,
|
|
"SPAWN_CLUSTER_PROCS": 0,
|
|
"API_URL_PREFIX": "/api/v1/",
|
|
"POLL_RATE_MS": 2000,
|
|
"CACHE_DIR": "__MEMPOOL_BACKEND_MAINNET_CACHE_DIR__",
|
|
"CLEAR_PROTECTION_MINUTES": __MEMPOOL_BACKEND_CLEAR_PROTECTION_MINUTES__
|
|
},
|
|
"CORE_RPC": {
|
|
"HOST": "__BITCOIN_MAINNET_RPC_HOST__",
|
|
"PORT": __BITCOIN_MAINNET_RPC_PORT__,
|
|
"USERNAME": "__BITCOIN_MAINNET_RPC_USER__",
|
|
"PASSWORD": "__BITCOIN_MAINNET_RPC_PASS__"
|
|
},
|
|
"ELECTRUM": {
|
|
"HOST": "__ELECTRS_MAINNET_HTTP_HOST__",
|
|
"PORT": __ELECTRS_MAINNET_HTTP_PORT__,
|
|
"TLS_ENABLED": __ELECTRS_MAINNET_TLS_ENABLED__
|
|
},
|
|
"ESPLORA": {
|
|
"REST_API_URL": "http://127.0.0.1:3000"
|
|
},
|
|
"DATABASE": {
|
|
"ENABLED": true,
|
|
"HOST": "__MYSQL_HOST__",
|
|
"PORT": __MYSQL_PORT__,
|
|
"DATABASE": "__MYSQL_DATABASE__",
|
|
"USERNAME": "__MYSQL_USERNAME__",
|
|
"PASSWORD": "__MYSQL_PASSWORD__"
|
|
},
|
|
"STATISTICS": {
|
|
"ENABLED": true,
|
|
"TX_PER_SECOND_SAMPLE_PERIOD": 150
|
|
}
|
|
}
|