commit
caa057bd40
@ -374,6 +374,9 @@ Node.prototype.getBlockNumber = function()
|
||||
|
||||
Node.prototype.canUpdate = function()
|
||||
{
|
||||
if (this.trusted) {
|
||||
return true;
|
||||
}
|
||||
// return (this.info.canUpdateHistory && this.trusted) || false;
|
||||
return (this.info.canUpdateHistory || (this.stats.syncing === false && this.stats.peers > 0)) || false;
|
||||
}
|
||||
|
@ -17,6 +17,7 @@ var trusted = [
|
||||
'172.31.39.87',
|
||||
'86.120.171.69',
|
||||
'86.123.155.6',
|
||||
'188.24.81.133',
|
||||
'::ffff:127.0.0.1',
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user