Skip to content
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

Merged
merged 8 commits into from
Feb 22, 2020

Conversation

random-zebra
Copy link

@random-zebra random-zebra commented Feb 18, 2020

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

@furszy
Copy link

furszy commented Feb 19, 2020

1328 merged, rebase needed.

@random-zebra
Copy link
Author

Rebased

@furszy
Copy link

furszy commented Feb 19, 2020

Can we split this in two PRs for a quicker testnet maxMoneyOut bug fix merge?

Possibly up until 6eefc64 can stay here and the rest in a second step.

@random-zebra
Copy link
Author

Done. Second part split in #1344

@random-zebra random-zebra changed the title [Refactor] ChainParams::consensus struct populated [Refactor] ChainParams::consensus - Part 1 Feb 20, 2020
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good, utACK 64465b7.

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 64465b7

@Fuzzbawls Fuzzbawls merged commit c992fc1 into PIVX-Project:master Feb 22, 2020
furszy added a commit that referenced this pull request Feb 28, 2020
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
@random-zebra random-zebra deleted the 2020_consensus_namespace branch September 24, 2020 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants