GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Introducing a struct to encapsulate all PoW fields. This has the effect to reorder block header fields.
Improve encapsulation with ProofOfWork struct
Will it also add the scaling factor for secondary PoW?
Just add it and keep it unused for now? Wasn't planning on adding seconday PoW validation, factor adjustment, etc
Yep; just add "for future use". Makes hard-fork slightly more interesting due to change in header size.
Alright then, I'll add that up.
Merge branch 'master' into header-tweak
Add dual pow scaling factor, fix test
Fix pre_pow serialization, chain tests
Adjust header serialized size calc
Hard fork handling, version-based serialization
Ready for review from whoever wants to.