added genesis hash

This commit is contained in:
cubedro 2015-07-30 18:34:10 +03:00
parent 79da0eed0c
commit 308921870d
3 changed files with 3 additions and 7 deletions

View File

@ -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',
];

View File

@ -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;

View File

@ -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;
}