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

Fix: ignore unwanted blocks #194

Merged
merged 1 commit into from
May 30, 2019
Merged

Fix: ignore unwanted blocks #194

merged 1 commit into from
May 30, 2019

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented May 29, 2019

This fixes a potential DoS attack, ipfs-bitswap was putting blocks in the blockstore even if they weren't wanted.

@vmx vmx merged commit e8d722c into master May 30, 2019
@vmx vmx deleted the fix/ignore-unwanted-blocks branch May 30, 2019 12:23
@vmx
Copy link
Member

vmx commented May 30, 2019

@dirkmc: Thanks. I've put your comment from the PR into the commit message when merging as it was really helpful background information on why this change was made.

@dirkmc
Copy link
Contributor Author

dirkmc commented May 30, 2019

No worries, it was a useful comment, but I can't take the credit, it was @alanshaw who wrote it :)

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.

3 participants