Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic peers #124

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Dynamic peers #124

wants to merge 13 commits into from

Conversation

cyisfor
Copy link

@cyisfor cyisfor commented Apr 18, 2016

I basically wanted to rewrite dynamicEndpoints.py using tools/* instead, since those are maintained.

But since logging is borked, and probably not intended to be used as an event signaling interface, I ended up using a polling algorithm instead, which should actually be easier, since it doesn't require the node to log anything, or remember subscriptions.

Just tested it, and got my netbook to connect to my home server. Still can't loop out of the LAN and back into it by trying to connect with my external IP, but that's b/c my ISP's router sucks, nothing about cjdns.

Also check out promise.js. It's like the regular nodejs promise, except that I'm not lying when I say mine is "bare bones".

@zciendor
Copy link

This is not directly related, but FYI:
zHIVErbox is an Armbian (Debian) based distribution, that ships with Cjdns out-of-the box and uses dynamicEndpoints.py + KadNode to connect dynamic peers via a decentralized DynDNS (Kademlia DHT).

For details see:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants