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

Offline mode #57

Closed
fazo96 opened this issue Mar 8, 2018 · 0 comments · Fixed by #79
Closed

Offline mode #57

fazo96 opened this issue Mar 8, 2018 · 0 comments · Fixed by #79
Assignees

Comments

@fazo96
Copy link
Collaborator

fazo96 commented Mar 8, 2018

If there is a localhost rendezvous server, the lib should avoid trying to connect to the internet. This is to make sure that Demos can work with conference wifi or no connection at all.

Possible implementation:

Unfortunately this doesn't work because to connect you need the IPFS peerID

Next idea:

--offline flag that tells service node to run rendezvous server on well-known non-default port. Other nodes will use HTTP to (quickly) check localhost at that port to see if the rendezvous is running. If it is, they use it instead of other rendezvous servers. This will allow every Chlu app to connect to the localhost service node and to have a complete Chlu network running locally without an internet connection!

@fazo96 fazo96 self-assigned this Mar 8, 2018
@fazo96 fazo96 mentioned this issue Apr 16, 2018
37 tasks
@fazo96 fazo96 closed this as completed in #79 Jun 6, 2018
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 a pull request may close this issue.

1 participant