changed avg propagation time to infinity when block is very old

This commit is contained in:
cubedro 2015-05-26 19:15:42 +03:00
parent e66b7b6995
commit fcaede78a9
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -360,7 +360,8 @@ angular.module('netStatsApp.filters', [])
var ms = stats.propagationAvg;
if(bestBlock - stats.block.number > 40)
ms = _.now() - stats.block.received;
return "∞";
//ms = _.now() - stats.block.received;
prefix = '';