Merge pull request #233 from cubedro/develop

Added genesis hash
This commit is contained in:
Marian OANCΞA 2015-07-30 18:35:27 +03:00
commit 6c83900a32
3 changed files with 3 additions and 7 deletions

View File

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

View File

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

View File

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