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

Remove nano::genesis class #3391

Merged
merged 6 commits into from
Jul 26, 2021
Merged

Remove nano::genesis class #3391

merged 6 commits into from
Jul 26, 2021

Conversation

clemahieu
Copy link
Contributor

Remove nano::genesis class and replace usages with direct access to the associated genesis block. For unit tests this is nano::dev::genesis and for other places its the value in nano::node.network_params.ledger.genesis.
Also remove several memorizations of genesis values in favor of directly querying them.

@clemahieu clemahieu merged commit 59f9eec into develop Jul 26, 2021
@clemahieu clemahieu deleted the direct_dev_key branch July 26, 2021 11:37
@zhyatt zhyatt added the quality improvements This item indicates the need for or supplies changes that improve maintainability label Jul 26, 2021
@zhyatt zhyatt added this to the V23.0 milestone Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality improvements This item indicates the need for or supplies changes that improve maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants