diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c8c013..371a408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## v2.6.0 (June 28, 2023) + +### Added + +- Added quorum coefficient subtext. + ## v2.5.0 (June 26, 2023) ### Added diff --git a/package.json b/package.json index 595152f..a1f329b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yellow-spyglass-client", - "version": "2.5.0", + "version": "2.6.0", "scripts": { "ng": "ng", "start": "ng serve -c development --open --host 0.0.0.0", diff --git a/src/app/pages/network/network.component.html b/src/app/pages/network/network.component.html index 0f0dc8c..047ff45 100644 --- a/src/app/pages/network/network.component.html +++ b/src/app/pages/network/network.component.html @@ -54,6 +54,10 @@ It only takes one entity to achieve >{{ 100 - quorum.onlineWeightQuorumPercent }}% of the online voting weight to prevent quorum and stall the network. +
+ {{ nextLevelQuorumCoefficientDifference | appComma }} BAN weight needs to migrate from + the largest representatives to increase this metric by 1. +
diff --git a/src/app/pages/network/network.component.ts b/src/app/pages/network/network.component.ts index a3a1304..a0b4ed3 100644 --- a/src/app/pages/network/network.component.ts +++ b/src/app/pages/network/network.component.ts @@ -34,6 +34,7 @@ export class NetworkComponent implements OnInit { totalNumberOfPeers = 0; nakamotoCoefficient: number; quorumCoefficient: number; + nextLevelQuorumCoefficientDifference: number; constructor( public vp: ViewportService, @@ -60,6 +61,7 @@ export class NetworkComponent implements OnInit { this.peerVersions = response[1]; this.nakamotoCoefficient = response[2].nakamotoCoefficient; this.quorumCoefficient = response[3].coefficient; + this.nextLevelQuorumCoefficientDifference = Math.ceil(response[3].repsWeight - response[3].delta); this.quorum = response[4]; this.consensusChartOptions = this._createVoteWeightChart(this.quorum); this.supplyChartOptions = this._createSupplyChart(this.supply);