diff --git a/CHANGELOG.md b/CHANGELOG.md index dff2560..9f2e994 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +2.7.0 / 2023-06-18 +================== + +* Drop BHD as it transitions to CHIA plots. + 2.6.0 / 2022-02-05 ================== diff --git a/lib/coin-util.js b/lib/coin-util.js index cdf5b21..7dccc97 100644 --- a/lib/coin-util.js +++ b/lib/coin-util.js @@ -1,24 +1,12 @@ const coinUtil = { blockTime(coin) { switch (coin) { - case 'BHD': - return 180; - case 'LHD': - case 'HDD': - case 'XHD': - return 300; default: return 240; } }, blockZeroBaseTarget(coin) { switch (coin) { - case 'BHD': - return 24433591728; - case 'LHD': - case 'HDD': - case 'XHD': - return 14660155037; default: return 18325193796; } diff --git a/lib/first-run-wizard/first-run-wizard.js b/lib/first-run-wizard/first-run-wizard.js index c922b11..aea4871 100644 --- a/lib/first-run-wizard/first-run-wizard.js +++ b/lib/first-run-wizard/first-run-wizard.js @@ -98,7 +98,7 @@ class FirstRunWizard { choices: this.coins.map(coin => ({ title: coin, value: coin, - selected: coin === 'BHD', + selected: coin === 'SIGNA', })), min: 1, }]); @@ -250,7 +250,6 @@ class FirstRunWizard { get coinColors() { return { - BHD: '#f49d11', SIGNA: '#0099ff', }; } diff --git a/lib/services/profitability-service.js b/lib/services/profitability-service.js index b575071..3efe8b4 100644 --- a/lib/services/profitability-service.js +++ b/lib/services/profitability-service.js @@ -8,14 +8,10 @@ class ProfitabilityService { getBlockReward(miningInfo, coin) { switch (coin) { - case 'bhd':return this.useEcoBlockRewards ? 4.5 : 14.25; case 'burst': case 'signa': const month = Math.floor(miningInfo.height / 10800); return Math.floor(10000 * Math.pow(95, month) / Math.pow(100, month)); - case 'lhd':return this.useEcoBlockRewards ? 10 : 92; - case 'hdd':return this.useEcoBlockRewards ? 110 : 2200; - case 'xhd': return this.useEcoBlockRewards ? 1500 : 150000; } return 0; @@ -29,8 +25,7 @@ class ProfitabilityService { async updateRates() { try { - const rates = await this.coinGecko.getRates(['bitcoin-hd', 'signum']); - this.rates.bhd = rates['bitcoin-hd'].usd; + const rates = await this.coinGecko.getRates(['signum']); this.rates.signa = rates.signum.usd; this.rates.burst = this.rates.signa; } catch (err) {} diff --git a/lib/upstream/foxypool.js b/lib/upstream/foxypool.js index d1fc26e..44325df 100644 --- a/lib/upstream/foxypool.js +++ b/lib/upstream/foxypool.js @@ -3,7 +3,7 @@ const SocketIo = require('./socketio'); class FoxyPool extends SocketIo { async init() { if (!this.upstreamConfig.url) { - this.upstreamConfig.url = 'http://miner.bhd.foxypool.io/mining'; + this.upstreamConfig.url = 'http://miner.signa.foxypool.io/mining'; } if (this.upstreamConfig.url.endsWith('/')) { this.upstreamConfig.url = this.upstreamConfig.url.slice(0, -1); diff --git a/package.json b/package.json index cff7378..8075c34 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,8 @@ { "name": "foxy-miner", - "version": "2.6.0", + "version": "2.7.0", "description": "A scavenger / conqueror wrapper for collision free multi mining.", "keywords": [ - "bhd", "burst", "signa", "poc",