-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add V1 consensus upgrade for double spends (#2201)
* Add additional nullifier check for new blocks * fix lint * Make verification consensus based I moved verification of V1 upgrtade to a specific phase that's related to verifying on connect instead of being specifically about nullifiers. * Added another test for re-org case Co-authored-by: Jason Spafford <nullprogrammer@gmail.com>
- Loading branch information
1 parent
b27e74a
commit 203f13f
Showing
6 changed files
with
919 additions
and
243 deletions.
There are no files selected for viewing
940 changes: 699 additions & 241 deletions
940
ironfish/src/blockchain/__fixtures__/blockchain.test.ts.fixture
Large diffs are not rendered by default.
Oops, something went wrong.
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
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