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

can't get peers from store object #15

Closed
choxi opened this issue May 17, 2017 · 1 comment
Closed

can't get peers from store object #15

choxi opened this issue May 17, 2017 · 1 comment

Comments

@choxi
Copy link
Contributor

choxi commented May 17, 2017

We're logging the Tesseract store's peers in the DocInspector for debugging and introspection, it looks like that doesn't exist anymore in the immutable API:

s1 = Tesseract.init()
s1.peers //=> undefined
@ept
Copy link
Member

ept commented May 18, 2017

This is by design — there is no point in an immutable store knowing about its peers, because if something happened on one of the peers, it couldn't do anything about it (it can't mutate itself!). Instead, we'll need to define a networking layer that keeps track of peers and handles communication with them. That networking layer will probably be a separate library from Tesseract.

@ept ept closed this as completed May 18, 2017
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

No branches or pull requests

2 participants