-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added commitment verification layer for data during reveal afte…
…r removing waitForBlockCompletion check for voting transactions (#1254) * refactor: added verification layer on commit data from memory * refactor: removed waitForBlockCompletion from propose and reveal * fix: returned err instead of nil in GetConfirmedBlock * reafctor: fixed tests * refactor: fixed lint errors * fix: returned supported struct type and added a condition to attempt confirmBlock when node just started voting * refactor: fixed tests after rebasing * refactor: removed commented unwanted tests * refactor: Fetched selected commit data first and than applied commitment verification * feat: saved commitment in the memory/file along with commit data and reused it in reveal
- Loading branch information
Showing
19 changed files
with
505 additions
and
382 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.