Migrate pools.json to the database in one command - Updated latest pools.json file from Blockchain-Known-Pools master

This commit is contained in:
nymkappa 2022-01-06 02:26:07 +09:00
parent 4212a649f1
commit 1a22923cd8
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
4 changed files with 70 additions and 8 deletions

View File

@ -25,7 +25,8 @@
"build": "npm run tsc", "build": "npm run tsc",
"start": "node --max-old-space-size=2048 dist/index.js", "start": "node --max-old-space-size=2048 dist/index.js",
"start-production": "node --max-old-space-size=4096 dist/index.js", "start-production": "node --max-old-space-size=4096 dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"migrate-pools": "npm run tsc ; node dist/api/pools-parser.js"
}, },
"dependencies": { "dependencies": {
"@mempool/bitcoin": "^3.0.3", "@mempool/bitcoin": "^3.0.3",

View File

@ -25,6 +25,7 @@ import databaseMigration from './api/database-migration';
import poolsParser from './api/pools-parser'; import poolsParser from './api/pools-parser';
import syncAssets from './sync-assets'; import syncAssets from './sync-assets';
import icons from './api/liquid/icons'; import icons from './api/liquid/icons';
import poolsParser from './api/pools-parser';
import { Common } from './api/common'; import { Common } from './api/common';
class Server { class Server {

View File

@ -488,6 +488,10 @@
"name" : "Binance Pool", "name" : "Binance Pool",
"link" : "https://pool.binance.com/" "link" : "https://pool.binance.com/"
}, },
"/Mined in the USA by: /Minerium.com/" : {
"name" : "Minerium",
"link" : "https://www.minerium.com/"
},
"/Minerium.com/" : { "/Minerium.com/" : {
"name" : "Minerium", "name" : "Minerium",
"link" : "https://www.minerium.com/" "link" : "https://www.minerium.com/"
@ -504,15 +508,15 @@
"name" : "OKKONG", "name" : "OKKONG",
"link" : "https://hash.okkong.com" "link" : "https://hash.okkong.com"
}, },
"/TMSPOOL/" : { "/AAOPOOL/" : {
"name" : "TMSPool", "name" : "AAO Pool",
"link" : "https://btc.tmspool.top" "link" : "https://btc.tmspool.top"
}, },
"/one_more_mcd/" : { "/one_more_mcd/" : {
"name" : "EMCDPool", "name" : "EMCDPool",
"link" : "https://pool.emcd.io" "link" : "https://pool.emcd.io"
}, },
"/Foundry USA Pool #dropgold/" : { "Foundry USA Pool" : {
"name" : "Foundry USA", "name" : "Foundry USA",
"link" : "https://foundrydigital.com/" "link" : "https://foundrydigital.com/"
}, },
@ -539,9 +543,29 @@
"/PureBTC.COM/": { "/PureBTC.COM/": {
"name": "PureBTC.COM", "name": "PureBTC.COM",
"link": "https://purebtc.com" "link": "https://purebtc.com"
},
"MARA Pool": {
"name": "MARA Pool",
"link": "https://marapool.com"
},
"KuCoinPool": {
"name": "KuCoinPool",
"link": "https://www.kucoin.com/mining-pool/"
},
"Entrustus" : {
"name": "Entrust Charity Pool",
"link": "pool.entustus.org"
} }
}, },
"payout_addresses" : { "payout_addresses" : {
"1MkCDCzHpBsYQivp8MxjY5AkTGG1f2baoe": {
"name": "Luxor",
"link": "https://mining.luxor.tech"
},
"1ArTPjj6pV3aNRhLPjJVPYoxB98VLBzUmb": {
"name" : "KuCoinPool",
"link" : "https://www.kucoin.com/mining-pool/"
},
"3Bmb9Jig8A5kHdDSxvDZ6eryj3AXd3swuJ": { "3Bmb9Jig8A5kHdDSxvDZ6eryj3AXd3swuJ": {
"name" : "NovaBlock", "name" : "NovaBlock",
"link" : "https://novablock.com" "link" : "https://novablock.com"
@ -634,6 +658,14 @@
"name" : "Huobi.pool", "name" : "Huobi.pool",
"link" : "https://www.hpt.com/" "link" : "https://www.hpt.com/"
}, },
"1BDbsWi3Mrcjp1wdop3PWFNCNZtu4R7Hjy" : {
"name" : "EMCDPool",
"link" : "https://pool.emcd.io"
},
"12QVFmJH2b4455YUHkMpEnWLeRY3eJ4Jb5" : {
"name" : "AAO Pool",
"link" : "https://btc.tmspool.top "
},
"1ALA5v7h49QT7WYLcRsxcXqXUqEqaWmkvw" : { "1ALA5v7h49QT7WYLcRsxcXqXUqEqaWmkvw" : {
"name" : "CloudHashing", "name" : "CloudHashing",
"link" : "https://cloudhashing.com/" "link" : "https://cloudhashing.com/"
@ -934,6 +966,22 @@
"name" : "Poolin", "name" : "Poolin",
"link" : "https://www.poolin.com/" "link" : "https://www.poolin.com/"
}, },
"1E8CZo2S3CqWg1VZSJNFCTbtT8hZPuQ2kB" : {
"name" : "Poolin",
"link" : "https://www.poolin.com/"
},
"14sA8jqYQgMRQV9zUtGFvpeMEw7YDn77SK" : {
"name" : "Poolin",
"link" : "https://www.poolin.com/"
},
"1GNgwA8JfG7Kc8akJ8opdNWJUihqUztfPe" : {
"name" : "Poolin",
"link" : "https://www.poolin.com/"
},
"17tUZLvy3X2557JGhceXRiij2TNYuhRr4r" : {
"name" : "Poolin",
"link" : "https://www.poolin.com/"
},
"12Taz8FFXQ3E2AGn3ZW1SZM5bLnYGX4xR6" : { "12Taz8FFXQ3E2AGn3ZW1SZM5bLnYGX4xR6" : {
"name" : "Tangpool", "name" : "Tangpool",
"link" : "http://www.tangpool.com/" "link" : "http://www.tangpool.com/"
@ -1126,6 +1174,10 @@
"name" : "Binance Pool", "name" : "Binance Pool",
"link" : "https://pool.binance.com/" "link" : "https://pool.binance.com/"
}, },
"1JvXhnHCi6XqcanvrZJ5s2Qiv4tsmm2UMy": {
"name" : "Binance Pool",
"link" : "https://pool.binance.com/"
},
"34Jpa4Eu3ApoPVUKNTN2WeuXVVq1jzxgPi": { "34Jpa4Eu3ApoPVUKNTN2WeuXVVq1jzxgPi": {
"name" : "Lubian.com", "name" : "Lubian.com",
"link" : "http://www.lubian.com/" "link" : "http://www.lubian.com/"
@ -1173,6 +1225,14 @@
"3CLigLYNkrtoNgNcUwTaKoUSHCwr9W851W": { "3CLigLYNkrtoNgNcUwTaKoUSHCwr9W851W": {
"name": "Rawpool", "name": "Rawpool",
"link": "https://www.rawpool.com" "link": "https://www.rawpool.com"
},
"bc1qf274x7penhcd8hsv3jcmwa5xxzjl2a6pa9pxwm": {
"name" : "F2Pool",
"link" : "https://www.f2pool.com/"
},
"1A32KFEX7JNPmU1PVjrtiXRrTQcesT3Nf1": {
"name": "MARA Pool",
"link": "https://marapool.com"
} }
} }
} }