Commit c5ab23b
Implement BFT finality gadget with equivocation detection and slashing (#115)
* Initial plan
* Implement BFT finality gadget with equivocation detection and slashing
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
* Add finality integration tests and comprehensive documentation
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
* Fix security issues: overflow protection, proper error handling, and stake counting
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
* Add implementation summary documentation for finality gadget
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>1 parent 4fa6238 commit c5ab23b
9 files changed
Lines changed: 1467 additions & 2 deletions
File tree
- crates
- bitcell-consensus
- src
- tests
- bitcell-state
- src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| |||
0 commit comments