Migrate pools.json to the database in one command - Updated latest pools.json file from Blockchain-Known-Pools master
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -350,4 +350,4 @@ class DatabaseMigration {
|
||||
}
|
||||
}
|
||||
|
||||
export default new DatabaseMigration();
|
||||
export default new DatabaseMigration();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user