Use our forked repo of mining pool data

This commit is contained in:
nymkappa 2022-03-17 14:16:57 +01:00
parent b781b3b065
commit 84006b2012
No known key found for this signature in database
GPG key ID: E155910B16E8BD04

View file

@ -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';