-
Notifications
You must be signed in to change notification settings - Fork 714
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
[Refactor] ChainParams::consensus - Part 1 #1341
[Refactor] ChainParams::consensus - Part 1 #1341
Conversation
1328 merged, rebase needed. |
a7011e7
to
0de2658
Compare
Rebased |
Can we split this in two PRs for a quicker testnet Possibly up until |
and remove extra nMinimumChainWork / defaultAssumeValid
0de2658
to
64465b7
Compare
Done. Second part split in #1344 |
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.
good, utACK 64465b7.
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.
utACK 64465b7
92221b1 [Cleanup] Remove ChainParams::DefaultMinerThreads (random-zebra) 98494ab [Refactor] Consensus: move other consensus params to the struct (random-zebra) 7c673bf [Refactor] Consensus: masternode/budget-related fields (random-zebra) 7736d6c [Refactor] Consensus: zerocoin-related fields (random-zebra) 0b63af4 [Refactor] ChainParams: move genesis creation at the beginning (random-zebra) 1e5a33d [Refactor] Consensus: wrapped serials params (nSupplyBeforeFakeSerial) (random-zebra) 70c4ae5 [Refactor] Consensus: height-based activations (random-zebra) Pull request description: Second part of - [x] #1341 Split as individual PR for ease of review. ACKs for top commit: Fuzzbawls: ACK 92221b1 furszy: utACK 92221b1. Tree-SHA512: a3f1c10fc568e264039d2fc5a4dedc01d947b380e55c5170679598cb6859274c73157fb9ade6f5345a9781b9028943629b304aac8c3b0d7849946bdaed85fb52
This PR builds on
Populates the
consensus
struct with all relevant consensus parameters.Resets
nMaxMoneyOut
as chain param (with different value for TestNet).Cleans up several unneeded fields in ChainParams.
EDIT: Current PR has been split in two. Second part is #1344