2019-07-21 16:59:47 +02:00
|
|
|
{
|
2020-10-19 06:57:02 +02:00
|
|
|
"MEMPOOL": {
|
|
|
|
"NETWORK": "mainnet",
|
2020-12-27 22:47:22 +01:00
|
|
|
"BACKEND": "electrum",
|
2022-08-23 18:25:29 +02:00
|
|
|
"ENABLED": true,
|
2020-10-19 06:57:02 +02:00
|
|
|
"HTTP_PORT": 8999,
|
|
|
|
"SPAWN_CLUSTER_PROCS": 0,
|
|
|
|
"API_URL_PREFIX": "/api/v1/",
|
2021-02-01 15:54:27 +01:00
|
|
|
"POLL_RATE_MS": 2000,
|
2021-02-14 14:32:00 +01:00
|
|
|
"CACHE_DIR": "./cache",
|
2023-07-31 07:28:56 +02:00
|
|
|
"CACHE_ENABLED": true,
|
2021-03-18 06:52:46 +01:00
|
|
|
"CLEAR_PROTECTION_MINUTES": 20,
|
2021-07-31 16:30:35 +02:00
|
|
|
"RECOMMENDED_FEE_PERCENTILE": 50,
|
2021-07-31 16:56:10 +02:00
|
|
|
"BLOCK_WEIGHT_UNITS": 4000000,
|
|
|
|
"INITIAL_BLOCKS_AMOUNT": 8,
|
2021-08-29 21:30:11 +02:00
|
|
|
"MEMPOOL_BLOCKS_AMOUNT": 8,
|
2022-03-13 14:57:20 +01:00
|
|
|
"INDEXING_BLOCKS_AMOUNT": 11000,
|
2022-06-18 16:48:02 +02:00
|
|
|
"BLOCKS_SUMMARIES_INDEXING": false,
|
2021-12-20 23:00:50 +01:00
|
|
|
"USE_SECOND_NODE_FOR_MINFEE": false,
|
2022-05-20 05:55:28 +02:00
|
|
|
"EXTERNAL_ASSETS": [],
|
2022-06-01 16:38:28 +02:00
|
|
|
"EXTERNAL_MAX_RETRY": 1,
|
|
|
|
"EXTERNAL_RETRY_INTERVAL": 0,
|
2022-05-20 16:38:16 +02:00
|
|
|
"USER_AGENT": "mempool",
|
2022-07-09 19:04:35 +02:00
|
|
|
"STDOUT_LOG_MIN_PRIORITY": "debug",
|
2022-08-09 17:26:14 +02:00
|
|
|
"AUTOMATIC_BLOCK_REINDEXING": false,
|
2023-02-26 05:54:43 +01:00
|
|
|
"POOLS_JSON_URL": "https://raw.githubusercontent.com/mempool/mining-pools/master/pools-v2.json",
|
2022-11-17 01:18:59 +01:00
|
|
|
"POOLS_JSON_TREE_URL": "https://api.github.com/repos/mempool/mining-pools/git/trees/master",
|
2023-02-13 04:43:12 +01:00
|
|
|
"AUDIT": false,
|
2022-11-30 09:56:53 +01:00
|
|
|
"ADVANCED_GBT_AUDIT": false,
|
|
|
|
"ADVANCED_GBT_MEMPOOL": false,
|
2023-06-26 02:35:41 +02:00
|
|
|
"RUST_GBT": false,
|
2023-03-20 07:23:02 +01:00
|
|
|
"CPFP_INDEXING": false,
|
2023-07-13 07:06:46 +02:00
|
|
|
"DISK_CACHE_BLOCK_INTERVAL": 6,
|
|
|
|
"MAX_PUSH_TX_SIZE_WEIGHT": 4000000,
|
|
|
|
"ALLOW_UNREACHABLE": true
|
2021-01-04 21:06:57 +01:00
|
|
|
},
|
2021-01-11 08:53:18 +01:00
|
|
|
"CORE_RPC": {
|
|
|
|
"HOST": "127.0.0.1",
|
|
|
|
"PORT": 8332,
|
|
|
|
"USERNAME": "mempool",
|
2023-03-20 08:15:40 +01:00
|
|
|
"PASSWORD": "mempool",
|
|
|
|
"TIMEOUT": 60000
|
2021-01-06 16:49:28 +01:00
|
|
|
},
|
2021-01-04 21:06:57 +01:00
|
|
|
"ELECTRUM": {
|
2020-12-20 16:36:36 +01:00
|
|
|
"HOST": "127.0.0.1",
|
2021-01-04 21:06:57 +01:00
|
|
|
"PORT": 50002,
|
2021-01-23 22:15:06 +01:00
|
|
|
"TLS_ENABLED": true
|
2020-12-20 16:36:36 +01:00
|
|
|
},
|
2021-01-11 08:53:18 +01:00
|
|
|
"ESPLORA": {
|
2023-03-09 10:36:14 +01:00
|
|
|
"REST_API_URL": "http://127.0.0.1:3000",
|
2023-04-07 06:28:32 +02:00
|
|
|
"UNIX_SOCKET_PATH": "/tmp/esplora-bitcoin-mainnet",
|
|
|
|
"RETRY_UNIX_SOCKET_AFTER": 30000
|
2020-10-19 06:57:02 +02:00
|
|
|
},
|
2021-09-14 23:47:24 +02:00
|
|
|
"SECOND_CORE_RPC": {
|
2021-01-15 16:23:32 +01:00
|
|
|
"HOST": "127.0.0.1",
|
|
|
|
"PORT": 8332,
|
|
|
|
"USERNAME": "mempool",
|
2023-03-20 08:15:40 +01:00
|
|
|
"PASSWORD": "mempool",
|
|
|
|
"TIMEOUT": 60000
|
2021-01-15 16:23:32 +01:00
|
|
|
},
|
2020-10-19 06:57:02 +02:00
|
|
|
"DATABASE": {
|
|
|
|
"ENABLED": true,
|
2020-10-19 13:36:29 +02:00
|
|
|
"HOST": "127.0.0.1",
|
2020-10-19 06:57:02 +02:00
|
|
|
"PORT": 3306,
|
2022-03-14 14:11:04 +01:00
|
|
|
"SOCKET": "/var/run/mysql/mysql.sock",
|
2020-10-19 06:57:02 +02:00
|
|
|
"DATABASE": "mempool",
|
|
|
|
"USERNAME": "mempool",
|
2023-04-29 03:05:49 +02:00
|
|
|
"PASSWORD": "mempool",
|
|
|
|
"TIMEOUT": 180000
|
2020-10-19 06:57:02 +02:00
|
|
|
},
|
2021-04-15 14:04:09 +02:00
|
|
|
"SYSLOG": {
|
|
|
|
"ENABLED": true,
|
|
|
|
"HOST": "127.0.0.1",
|
|
|
|
"PORT": 514,
|
|
|
|
"MIN_PRIORITY": "info",
|
|
|
|
"FACILITY": "local7"
|
|
|
|
},
|
2020-10-19 06:57:02 +02:00
|
|
|
"STATISTICS": {
|
|
|
|
"ENABLED": true,
|
|
|
|
"TX_PER_SECOND_SAMPLE_PERIOD": 150
|
|
|
|
},
|
2022-07-11 17:52:38 +02:00
|
|
|
"MAXMIND": {
|
|
|
|
"ENABLED": false,
|
|
|
|
"GEOLITE2_CITY": "/usr/local/share/GeoIP/GeoLite2-City.mmdb",
|
2022-07-23 23:33:13 +02:00
|
|
|
"GEOLITE2_ASN": "/usr/local/share/GeoIP/GeoLite2-ASN.mmdb",
|
2022-07-23 23:53:28 +02:00
|
|
|
"GEOIP2_ISP": "/usr/local/share/GeoIP/GeoIP2-ISP.mmdb"
|
2022-07-11 17:52:38 +02:00
|
|
|
},
|
2021-04-25 00:38:46 +02:00
|
|
|
"BISQ": {
|
2020-10-19 13:36:29 +02:00
|
|
|
"ENABLED": false,
|
2020-10-19 06:57:02 +02:00
|
|
|
"DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db"
|
2022-02-04 08:21:19 +01:00
|
|
|
},
|
2022-07-06 11:58:06 +02:00
|
|
|
"LIGHTNING": {
|
|
|
|
"ENABLED": false,
|
2022-08-19 22:08:36 +02:00
|
|
|
"BACKEND": "lnd",
|
|
|
|
"STATS_REFRESH_INTERVAL": 600,
|
|
|
|
"GRAPH_REFRESH_INTERVAL": 600,
|
2022-11-23 02:38:24 +01:00
|
|
|
"LOGGER_UPDATE_INTERVAL": 30,
|
2022-12-03 03:17:53 +01:00
|
|
|
"FORENSICS_INTERVAL": 43200,
|
|
|
|
"FORENSICS_RATE_LIMIT": 20
|
2022-07-06 11:58:06 +02:00
|
|
|
},
|
2022-07-06 13:55:21 +02:00
|
|
|
"LND": {
|
2022-07-06 11:58:06 +02:00
|
|
|
"TLS_CERT_PATH": "tls.cert",
|
2022-07-29 20:53:19 +02:00
|
|
|
"MACAROON_PATH": "readonly.macaroon",
|
2023-03-20 08:35:44 +01:00
|
|
|
"REST_API_URL": "https://localhost:8080",
|
|
|
|
"TIMEOUT": 10000
|
2022-07-06 11:58:06 +02:00
|
|
|
},
|
2022-08-19 22:08:36 +02:00
|
|
|
"CLIGHTNING": {
|
|
|
|
"SOCKET": "lightning-rpc"
|
|
|
|
},
|
2022-02-04 08:21:19 +01:00
|
|
|
"SOCKS5PROXY": {
|
|
|
|
"ENABLED": false,
|
2022-05-20 05:55:28 +02:00
|
|
|
"USE_ONION": true,
|
2022-02-04 08:21:19 +01:00
|
|
|
"HOST": "127.0.0.1",
|
|
|
|
"PORT": 9050,
|
|
|
|
"USERNAME": "",
|
|
|
|
"PASSWORD": ""
|
2022-02-05 07:48:16 +01:00
|
|
|
},
|
2022-02-05 16:58:35 +01:00
|
|
|
"PRICE_DATA_SERVER": {
|
2022-02-05 07:48:16 +01:00
|
|
|
"TOR_URL": "http://wizpriceje6q5tdrxkyiazsgu7irquiqjy2dptezqhrtu7l2qelqktid.onion/getAllMarketPrices",
|
2022-05-21 08:38:22 +02:00
|
|
|
"CLEARNET_URL": "https://price.bisq.wiz.biz/getAllMarketPrices"
|
2022-05-20 05:55:28 +02:00
|
|
|
},
|
|
|
|
"EXTERNAL_DATA_SERVER": {
|
|
|
|
"MEMPOOL_API": "https://mempool.space/api/v1",
|
|
|
|
"MEMPOOL_ONION": "http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/v1",
|
|
|
|
"LIQUID_API": "https://liquid.network/api/v1",
|
2022-05-21 08:38:22 +02:00
|
|
|
"LIQUID_ONION": "http://liquidmom47f6s3m53ebfxn47p76a6tlnxib3wp6deux7wuzotdr6cyd.onion/api/v1",
|
|
|
|
"BISQ_URL": "https://bisq.markets/api",
|
|
|
|
"BISQ_ONION": "http://bisqmktse2cabavbr2xjq7xw3h6g5ottemo5rolfcwt6aly6tp5fdryd.onion/api"
|
2023-06-20 22:21:54 +02:00
|
|
|
},
|
|
|
|
"REPLICATION": {
|
|
|
|
"ENABLED": false,
|
|
|
|
"AUDIT": false,
|
|
|
|
"AUDIT_START_HEIGHT": 774000,
|
|
|
|
"SERVERS": [
|
|
|
|
"list",
|
|
|
|
"of",
|
|
|
|
"trusted",
|
|
|
|
"servers"
|
|
|
|
]
|
2020-10-19 13:36:29 +02:00
|
|
|
}
|
2019-08-23 15:35:04 +02:00
|
|
|
}
|