Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

remove all calls to peer.ID.Validate #194

Merged
merged 1 commit into from
Jan 3, 2022
Merged

Conversation

marten-seemann
Copy link
Contributor

Fixes #182.

To check if this has any unintended consequences, I build a go-ipfs binary where any failed call to peer.ID.Validate would panic. I ran it for a few hours without any problems.

Copy link
Contributor

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this looks completely reduntant and slow.

@marten-seemann marten-seemann merged commit c583a9b into master Jan 3, 2022
@marten-seemann marten-seemann deleted the remove-validate branch January 3, 2022 07:41
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove peer ID validity checks
2 participants