-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Verifier::verify_misbehaviour_header
for verifying headers comi…
…ng from a misbehaviour evidence (#1300) * Add `Verifier::verify_misbehaviour_header` for verifying headers coming from a misbehaviour evidence * Add changelog entry * Address review comments * Call `validate_against_trusted` directly to better see correspondance with `verify` * Rename `verify` to `verify_update_header` * Add another changelog entry
- Loading branch information
Showing
6 changed files
with
69 additions
and
20 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/breaking-changes/1294-verify-update-header.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- [`tendermint-light-client-verifier`] Rename `Verifier::verify` | ||
to `Verifier::verify_update_header` to better describe | ||
its purpose versus `Verifier::verify_misbehaviour_header` | ||
([\#1294](https://github.com/informalsystems/tendermint-rs/issues/1294)) |
5 changes: 5 additions & 0 deletions
5
.changelog/unreleased/features/1294-verify-misbehavior-header.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- [`tendermint-light-client-verifier`] Add `Verifier::verify_misbehaviour_header` | ||
for verifying headers coming from a misbehaviour evidence. | ||
The verification for these headers is a bit more relaxed in order to catch FLA attacks. | ||
In particular the "header in the future" check for the header should be skipped. | ||
([\#1294](https://github.com/informalsystems/tendermint-rs/issues/1294)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters