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