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 committed 2022-01-28 13:50:58 +09:00
1 parent 4212a649f1
commit 1a22923cd8
4 files changed
+70 -8

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@
"build": "npm run tsc",
"start": "node --max-old-space-size=2048 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": {
"@mempool/bitcoin": "^3.0.3",
+1 -1
View File
@@ -350,4 +350,4 @@ class DatabaseMigration {
}
}
export default new DatabaseMigration();
export default new DatabaseMigration();
+1
View File
@@ -25,6 +25,7 @@ import databaseMigration from './api/database-migration';
import poolsParser from './api/pools-parser';
import syncAssets from './sync-assets';
import icons from './api/liquid/icons';
import poolsParser from './api/pools-parser';
import { Common } from './api/common';
class Server {