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

Added secio check back to p2p #39

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

Conversation

jorge-abarca
Copy link

go-libp2p replaced the NoEncryption method with the NoSecurity variable. Since the p2p tutorial still uses the secio parameter and flag, it makes sense to showcase the original functionality. Otherwise the code becomes confusing since the secio parameter is not used anywhere, to understand this change it is necessary to browse through the closed issues, which is not that user-friendly. The alternative is to remove the secio flag and parameter all together, but this would require the blog post to be updated, while this change could also cause an update, the update is minimal.

go-libp2p replaced the NoEncryption method with the NoSecurity variable. Since the p2p tutorial still uses the secio parameter and flag, it makes sense to showcase the original. Otherwise the code becomes confusing since the secio parameter is not used anywhere, to understand this change it is necessary to browse through the closed issues, which is not that user-friendly. The alternative is to remove the secio flag and parameter all together, but this would require the blog post to be updated, while this change could also cause an update, the update is minimal.
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.

1 participant