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

mining: Remove leftover block manager facade iface. #2510

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Dec 15, 2020

This reworks the mining template generator slightly to remove the leftover unexported block manager facade interface that was used as part of originally separating the code in a separate internal package.

The following is a high level overview of the changes:

  • Introduces BgBlkTmplConfig for the background block template generator to mirror the standard approach used throughout the code
  • Removes local fields that are now in the new config struct
  • Removes blockManagerFacade interface which included:
    • IsCurrent
    • ForceReorganization
  • Adds IsCurrent function to new BgBlkTmplConfig struct
  • Adds ForceReorganizion to Config
  • Updates all code to account for the changes

@davecgh davecgh added this to the 1.7.0 milestone Dec 15, 2020
@davecgh davecgh force-pushed the mining_remove_leftover_package_separation_cruft branch from a56416b to 42d13b0 Compare December 16, 2020 08:47
This reworks the mining template generator slightly to remove the
leftover unexported block manager facade interface that was used as part
of originally separating the code in a separate internal package.

The following is a high level overview of the changes:

- Introduces BgBlkTmplConfig for the background block template generator
  to mirror the standard approach used throughout the code
- Removes local fields that are now in the new config struct
- Removes blockManagerFacade interface which included:
  - IsCurrent
  - ForceReorganization
- Adds IsCurrent function to new BgBlkTmplConfig struct
- Adds ForceReorganizion to Config
- Updates all code to account for the changes
@davecgh davecgh force-pushed the mining_remove_leftover_package_separation_cruft branch from 42d13b0 to 7f4d240 Compare December 18, 2020 06:11
@davecgh davecgh merged commit 7f4d240 into decred:master Dec 18, 2020
@davecgh davecgh deleted the mining_remove_leftover_package_separation_cruft branch December 18, 2020 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants