mirror of
https://github.com/mempool/mempool.git
synced 2024-12-30 18:24:25 +01:00
f90e19c767
* Set syslog priority to DEBUG since we're not Raspberry Pi * Add 2nd core RPC configuration stubs for mainnet / liquid
42 lines
828 B
JSON
42 lines
828 B
JSON
{
|
|
"MEMPOOL": {
|
|
"NETWORK": "mainnet",
|
|
"BACKEND": "esplora",
|
|
"HTTP_PORT": 8999,
|
|
"MINED_BLOCKS_CACHE": 144,
|
|
"SPAWN_CLUSTER_PROCS": 0,
|
|
"API_URL_PREFIX": "/api/v1/",
|
|
"CLEAR_PROTECTION_MINUTES": 5,
|
|
"POLL_RATE_MS": 2000,
|
|
"USE_SECOND_NODE_FOR_MINFEE": true
|
|
},
|
|
"SYSLOG" : {
|
|
"MIN_PRIORITY": "debug"
|
|
},
|
|
"CORE_RPC": {
|
|
"PORT": 8332,
|
|
"USERNAME": "foo",
|
|
"PASSWORD": "bar"
|
|
},
|
|
"SECOND_CORE_RPC": {
|
|
"PORT": 8302,
|
|
"USERNAME": "foo",
|
|
"PASSWORD": "bar"
|
|
},
|
|
"ESPLORA": {
|
|
"REST_API_URL": "http://127.0.0.1:4000"
|
|
},
|
|
"DATABASE": {
|
|
"ENABLED": true,
|
|
"HOST": "127.0.0.1",
|
|
"PORT": 3306,
|
|
"USERNAME": "mempool",
|
|
"PASSWORD": "mempool",
|
|
"DATABASE": "mempool"
|
|
},
|
|
"STATISTICS": {
|
|
"ENABLED": true,
|
|
"TX_PER_SECOND_SAMPLE_PERIOD": 150
|
|
}
|
|
}
|