Skip to content

Conversation

@yiweichi
Copy link
Member

@yiweichi yiweichi commented Jan 12, 2026

This PR add feature penalizing peer if they send us duplicate block.

  • Uses the state of ScrollWireManager to cache block received from peers.
  • Penalize peers that send us block that has already cached in the state.

Fixes #307

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 12, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing feat-penalize-peer-on-duplicate-block (4a98c53) with main (c00bd01)

Open in CodSpeed

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.

[Network] Penalize peer if they send us duplicate block

2 participants