-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check genesis hash in checkpoint lists #663
Conversation
teor2345
commented
Jul 15, 2020
•
edited
Loading
edited
- add initial consensus parameter module (Tracking: all the consensus parameters #565)
- add the Network to CheckpointVerifier and CheckpointList
- check the genesis hash in checkpoint lists
- get the genesis previous block hash from the consensus parameters
Oops, this should be draft until #639 merges, then I'll rebase. |
Codecov Report
@@ Coverage Diff @@
## main #663 +/- ##
==========================================
+ Coverage 57.95% 61.78% +3.83%
==========================================
Files 91 103 +12
Lines 4419 5163 +744
==========================================
+ Hits 2561 3190 +629
- Misses 1858 1973 +115 |
I force-pushed to pick up the merge in #639, which was needed to resolve a merge conflict with main. |
And use the consensus parameters to get the genesis previous block hash.
Ok, now we're based on main, and ready to review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!