Merge pull request #148 from cubedro/develop
Changed avg propagation time to infinity when block is very old
This commit is contained in:
commit
e580f1b291
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