Merge pull request #233 from cubedro/develop

Added genesis hash
pull/5/head
Marian OANCΞA 9 years ago
commit 6c83900a32
  1. 1
      lib/utils/config.js
  2. 2
      src-lite/js/controllers.js
  3. 7
      src/js/controllers.js

@ -9,6 +9,7 @@ var trusted = [
'52.7.218.44',
'52.7.205.152',
'52.7.224.174',
'92.51.165.126',
'::ffff:127.0.0.1',
];

@ -8,7 +8,7 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, socket, _, toastr)
// Main Stats init
// ---------------
$scope.frontierHash = '?';
$scope.frontierHash = '0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa';
$scope.nodesTotal = 0;
$scope.nodesActive = 0;
$scope.bestBlock = 0;

@ -8,7 +8,7 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, $localStorage, soc
// Main Stats init
// ---------------
$scope.frontierHash = '?';
$scope.frontierHash = '0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa';
$scope.nodesTotal = 0;
$scope.nodesActive = 0;
$scope.bestBlock = 0;
@ -559,11 +559,6 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, $localStorage, soc
return parseInt(node.stats.block.number);
}).stats;
if($scope.bestBlock === 1028201)
{
$scope.frontierHash = $scope.bestStats.block.hash;
}
$scope.lastBlock = $scope.bestStats.block.arrived;
$scope.lastDifficulty = $scope.bestStats.block.difficulty;
}

Loading…
Cancel
Save