Skip to content

Conversation

@guy-starkware
Copy link
Contributor

@guy-starkware guy-starkware commented Feb 10, 2026

Note

Low Risk
Purely additive type definitions and an import; no changes to message handling, scoring, or peer management behavior.

Overview
Introduces a new BadPeerReport struct (peer id, reason, and severity) and a PenaltyCard enum (Red/Yellow) in network_manager/mod.rs, deriving Serialize/Deserialize for future reporting workflows.

Also adds the serde import needed for these derives; no runtime behavior or networking logic changes are included yet.

Written by Cursor Bugbot for commit c04216a. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link

This change is Reviewable

@guy-starkware guy-starkware marked this pull request as ready for review February 10, 2026 13:29
Copy link
Contributor Author

guy-starkware commented Feb 10, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@guy-starkware guy-starkware changed the base branch from main-v0.14.1-committer to graphite-base/12463 February 10, 2026 14:39
@guy-starkware guy-starkware force-pushed the guyn/network/report_peer_struct branch from bcdf977 to c04216a Compare February 10, 2026 14:40
@guy-starkware guy-starkware changed the base branch from graphite-base/12463 to guyn/consensus/vote_cache_dedup February 10, 2026 14:40
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.

2 participants