Log IP addresses with blocks to detect spammers

pull/5/head
Péter Szilágyi 7 years ago committed by Ikmyeong Na
parent a4cede7016
commit 86fc78064d
No known key found for this signature in database
GPG Key ID: EC674310ADADE2CA
  1. 2
      app.js

@ -196,7 +196,7 @@ api.on('connection', function (spark)
data: stats data: stats
}); });
console.success('API', 'BLK', 'Block:', data.block['number'], 'from:', data.id); console.success('API', 'BLK', 'Block:', data.block['number'], 'from:', data.id, 'ip:', spark.address.ip);
Nodes.getCharts(); Nodes.getCharts();
} }

Loading…
Cancel
Save