@ -16,10 +16,10 @@ var Node = function Node(data)
difficulty: 0,
number: 0,
gasLimit: 0,
timestamp: 0,
blocktime: 0
timestamp: 0
},
blocktimeAvg: 0,
blockTimes: [],
difficulty: [],
latency: 0,
uptime: 0,
@ -18,6 +18,10 @@ function StatsCtrl($scope, $filter, socket, _, toastr) {
$scope.nodes = [];
$scope.map = [];
$scope.timeout = setInterval(function(){
$scope.$apply();
}, 1000);
// Socket listeners
// ----------------