Skip to content

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