GRANDPA justifications: equivocation detection primitives (#2295) (#2297)

* GRANDPA justifications: equivocation detection primitives

- made the justification verification logic more customizable
- added support for parsing multiple justifications and extracting
  equivocations
- split the logic into multiple files
- split the errors into multiple enums
This commit is contained in:
Serban Iorga
2023-07-24 16:26:23 +03:00
committed by Bastian Köcher
parent 57550eb867
commit 5f73a456c5
11 changed files with 1163 additions and 636 deletions
@@ -0,0 +1,7 @@
mod justification {
mod equivocation;
mod optimizer;
mod strict;
}
mod implementation_match;