diff --git a/apps/alias-server/config.js b/apps/alias-server/config.js --- a/apps/alias-server/config.js +++ b/apps/alias-server/config.js @@ -4,7 +4,11 @@ 'use strict'; module.exports = { - chronik: 'https://chronik.be.cash/xec', // URL of chronik instance + chronik: [ + 'https://chronik.fabien.cash', + 'https://chronik2.fabien.cash', + 'https://chronik.be.cash/xec', + ], avalancheCheckWaitInterval: 500, // half a second avalancheCheckCount: 100, // max number of times you'll check if a block is avalanche finalized database: { diff --git a/apps/alias-server/package-lock.json b/apps/alias-server/package-lock.json --- a/apps/alias-server/package-lock.json +++ b/apps/alias-server/package-lock.json @@ -12,7 +12,7 @@ "assert": "^2.0.0", "async-lock": "^1.4.0", "axios": "^1.3.4", - "chronik-client": "^0.8.2", + "chronik-client": "^0.9.0", "cors": "^2.8.5", "ecash-script": "^2.0.0", "ecashaddrjs": "^1.5.0", @@ -2802,9 +2802,9 @@ } }, "node_modules/chronik-client": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/chronik-client/-/chronik-client-0.8.2.tgz", - "integrity": "sha512-Icr4U3SFx7jRjBDea+FP4Lv2bq09iC5Kn2UKI9fMNas4vLZGDTtEgyS9d7QATC7DtLWt0QgmLGJbh04I8l5F6g==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/chronik-client/-/chronik-client-0.9.0.tgz", + "integrity": "sha512-H7f8ZsROW/jAZuiP7VCP21ncQomzwkrLcufEGNIljwOQ02h3gFC4GIYczX0TxhmPlsu0s0Xokh0rlmc7VSrUog==", "dependencies": { "@types/ws": "^8.2.1", "axios": "^0.21.1", @@ -9614,9 +9614,9 @@ } }, "chronik-client": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/chronik-client/-/chronik-client-0.8.2.tgz", - "integrity": "sha512-Icr4U3SFx7jRjBDea+FP4Lv2bq09iC5Kn2UKI9fMNas4vLZGDTtEgyS9d7QATC7DtLWt0QgmLGJbh04I8l5F6g==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/chronik-client/-/chronik-client-0.9.0.tgz", + "integrity": "sha512-H7f8ZsROW/jAZuiP7VCP21ncQomzwkrLcufEGNIljwOQ02h3gFC4GIYczX0TxhmPlsu0s0Xokh0rlmc7VSrUog==", "requires": { "@types/ws": "^8.2.1", "axios": "^0.21.1", diff --git a/apps/alias-server/package.json b/apps/alias-server/package.json --- a/apps/alias-server/package.json +++ b/apps/alias-server/package.json @@ -23,7 +23,7 @@ "assert": "^2.0.0", "async-lock": "^1.4.0", "axios": "^1.3.4", - "chronik-client": "^0.8.2", + "chronik-client": "^0.9.0", "cors": "^2.8.5", "ecash-script": "^2.0.0", "ecashaddrjs": "^1.5.0",