Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Grandpa: import blocks with bad justification #1867

@andresilva

Description

@andresilva

Currently, if a block is provided with a justification and the justification is bad we discard the block. Instead we should import the block, discarding the justification, and requesting a justification from sync. The peer that provided the block should be reported for misbehavior.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.Z2-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions