changed avg propagation time to infinity when block is very old
This commit is contained in:
parent
e66b7b6995
commit
fcaede78a9
2
dist/js/netstats.min.js
vendored
2
dist/js/netstats.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/netstats.min.js.map
vendored
2
dist/js/netstats.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -360,7 +360,8 @@ angular.module('netStatsApp.filters', [])
|
|||||||
var ms = stats.propagationAvg;
|
var ms = stats.propagationAvg;
|
||||||
|
|
||||||
if(bestBlock - stats.block.number > 40)
|
if(bestBlock - stats.block.number > 40)
|
||||||
ms = _.now() - stats.block.received;
|
return "∞";
|
||||||
|
//ms = _.now() - stats.block.received;
|
||||||
|
|
||||||
prefix = '';
|
prefix = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user