diff --git a/README.md b/README.md index 5b994955c..7b19b6138 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ JSON: "MEMPOOL_BLOCKS_AMOUNT": 8, "PRICE_FEED_UPDATE_INTERVAL": 600, "USE_SECOND_NODE_FOR_MINFEE": false, - "EXTERNAL_ASSETS": ["https://mempool.space/resources/pools.json"], + "EXTERNAL_ASSETS": ["https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json"], "STDOUT_LOG_MIN_PRIORITY": "info" }, ``` diff --git a/backend/mempool-config.sample.json b/backend/mempool-config.sample.json index dd5fb9ed0..6be8b1674 100644 --- a/backend/mempool-config.sample.json +++ b/backend/mempool-config.sample.json @@ -16,7 +16,7 @@ "PRICE_FEED_UPDATE_INTERVAL": 600, "USE_SECOND_NODE_FOR_MINFEE": false, "EXTERNAL_ASSETS": [ - "https://mempool.space/resources/pools.json" + "https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json" ], "STDOUT_LOG_MIN_PRIORITY": "debug" }, diff --git a/backend/src/config.ts b/backend/src/config.ts index 56c60f965..1aa37b8be 100644 --- a/backend/src/config.ts +++ b/backend/src/config.ts @@ -95,7 +95,7 @@ const defaults: IConfig = { 'PRICE_FEED_UPDATE_INTERVAL': 600, 'USE_SECOND_NODE_FOR_MINFEE': false, 'EXTERNAL_ASSETS': [ - 'https://mempool.space/resources/pools.json' + 'https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json' ], 'STDOUT_LOG_MIN_PRIORITY': 'debug', }, diff --git a/docker/backend/start.sh b/docker/backend/start.sh index f515fefd3..09672184d 100644 --- a/docker/backend/start.sh +++ b/docker/backend/start.sh @@ -16,7 +16,7 @@ __MEMPOOL_MEMPOOL_BLOCKS_AMOUNT__=${MEMPOOL_MEMPOOL_BLOCKS_AMOUNT:=8} __MEMPOOL_INDEXING_BLOCKS_AMOUNT__=${MEMPOOL_INDEXING_BLOCKS_AMOUNT:=11000} __MEMPOOL_PRICE_FEED_UPDATE_INTERVAL__=${MEMPOOL_PRICE_FEED_UPDATE_INTERVAL:=600} __MEMPOOL_USE_SECOND_NODE_FOR_MINFEE__=${MEMPOOL_USE_SECOND_NODE_FOR_MINFEE:=false} -__MEMPOOL_EXTERNAL_ASSETS__=${MEMPOOL_EXTERNAL_ASSETS:=[\"https://mempool.space/resources/pools.json\"]} +__MEMPOOL_EXTERNAL_ASSETS__=${MEMPOOL_EXTERNAL_ASSETS:=[\"https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json\"]} __MEMPOOL_STDOUT_LOG_MIN_PRIORITY__=${MEMPOOL_STDOUT_LOG_MIN_PRIORITY:=info} # CORE_RPC diff --git a/frontend/sync-assets.js b/frontend/sync-assets.js index c37b987a2..a6b59bdb1 100644 --- a/frontend/sync-assets.js +++ b/frontend/sync-assets.js @@ -36,7 +36,7 @@ function download(filename, url) { function downloadMiningPoolLogos() { const options = { host: 'api.github.com', - path: '/repos/mempool/mining-pools/contents/', + path: '/repos/mempool/mining-pool-logos/contents/', method: 'GET', headers: {'user-agent': 'node.js'} }; @@ -62,7 +62,7 @@ function downloadMiningPoolLogos() { }) } -const poolsJsonUrl = 'https://raw.githubusercontent.com/btccom/Blockchain-Known-Pools/master/pools.json'; +const poolsJsonUrl = 'https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json'; let assetsJsonUrl = 'https://raw.githubusercontent.com/mempool/asset_registry_db/master/index.json'; let assetsMinimalJsonUrl = 'https://raw.githubusercontent.com/mempool/asset_registry_db/master/index.minimal.json';