fc00 / peers-api

find hyperboria peers via http(s)
https://peers.fc00.io
GNU Affero General Public License v3.0
6 stars 2 forks source link

Track and report status of each public peer #13

Open benhylau opened 7 years ago

benhylau commented 7 years ago

Ping each public peer periodically with liboping and report through the API which ones are active, and possibly more fine grained and historic metrics. Here is a sample that uses noping (built on liboping):

$ curl -s https://peers.fc00.io/1/location/na | grep "publicKey" | awk '{print $2}' | sed 's/,//' | xargs -L1 ./publictoip6 | noping `tr '\n' ' '`
screen shot 2017-02-17 at 10 23 39 am