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

Add basic peer discovery mechanism. #16

Closed
dj8yfo opened this issue Apr 4, 2017 · 3 comments
Closed

Add basic peer discovery mechanism. #16

dj8yfo opened this issue Apr 4, 2017 · 3 comments

Comments

@dj8yfo
Copy link
Contributor

dj8yfo commented Apr 4, 2017

It's a proposition to add logic of broadcasting a newer Connect, sent by a PublicKey, to all existing peers in exonum::node::NodeHandler.handle_connect(&mut self, message: Connect).
Resolution will allow to easily add new fullnodes on blockchain network.
This has to correlate with #14 and have a limit on allowed frequency of handling each new Connect message from the same PublicKey.
https://*************/projects/22/tasks/1307.

@dj8yfo
Copy link
Contributor Author

dj8yfo commented Apr 6, 2017

Okay, a mechanism is already present - RequestPeers by timeout. Very dumb of me not to know that.

@dj8yfo
Copy link
Contributor Author

dj8yfo commented Apr 8, 2017

Requested manual verification that this mechanism works for fullnodes in #12.

@dj8yfo
Copy link
Contributor Author

dj8yfo commented Apr 27, 2017

Works as per @vldm assertion for fullnodes' mutual discovery.

@dj8yfo dj8yfo closed this as completed Apr 27, 2017
stanislav-tkach pushed a commit to stanislav-tkach/exonum that referenced this issue Apr 4, 2018
stanislav-tkach pushed a commit to stanislav-tkach/exonum that referenced this issue Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant