hyperboria / peers

A geographically sorted list of public peering credentials for joining Hyperboria

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

peer unresponsive

wfleurant opened this issue · comments

it would be neat if the repo were able to serve up a magic online/offline image -- table of peers with status image?

commented

Hi @wfleurant

I've made a daily Travis CI build scenario. It compiles cjdns, pulls a copy of hyperboria-peers from npm and builds a config file containing all peers. Then compiles a table showing responsive and non-responsive peers, after an interval of 180 seconds.

The result is here: https://lvlts.github.io/hyperboria-peer-check/
The repository doing the checks is here: https://github.com/lvlts/hyperboria-peer-check

This only works for IPv4 peers. Sorry, I didn't have time to work out all scenarios. Documentation is lacking, I'll probably look over it over the following weeks, if I get any spare time.

commented

That's fantastic!

should readme link to hype-peer-check?

If @lvlts is ok with this, I would include the travis script in this repo with some changes:

  • If it's a PR, only verify the new node(s) is working, fail the build if it doesn't work
  • If it's a periodic build, verify all nodes, fail the build unless everything works
  • Include the travis badge in the readme

This can detected with $TRAVIS_EVENT_TYPE as described here: https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables

commented

@kpcyrd hi, I have no issue with the code being reused in any way you see fit. Please keep in mind that licensing is currently restricted to GPLv3 due to this, which is a modified version of the one used in cjdns. I have no problems with changing the licensing if the dependency is replaced by anything else.

I am currently a little bit pressed on time, so if you are willing to implement the above changes by yourself, it would be great. I can spare some times in a few weeks, at least.

Thanks!

Do we need a travis builder? Does lvlts/hype-check need to make it's way to this hype/peers or is hype/peers linking to the travis badge?

Shoot.

we have this from russian community http://cjdns.cupivan.ru/