-
Notifications
You must be signed in to change notification settings - Fork 78
[ETCM-1001] Rename consensus classes to mining #1053
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
[ETCM-1001] Rename consensus classes to mining #1053
Conversation
5add5d8 to
d6cada0
Compare
| "targets": [ | ||
| { | ||
| "expr": "rate(app_consensus_blocks_generate_timer_seconds_sum[$__rate_interval])/rate(app_consensus_blocks_generate_timer_seconds_count[$__rate_interval])", | ||
| "expr": "rate(app_mining_blocks_generate_timer_seconds_sum[$__rate_interval])/rate(app_mining_blocks_generate_timer_seconds_count[$__rate_interval])", |
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.
please remember to notify @nrdxp so that they have a chance to update the ops dashboards.
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.
I checked the dashboards on mantis-ops and they don't use this metric, but I did open a PR to fix the deployment input-output-hk/mantis-ops#51
d6cada0 to
6d2f61b
Compare
6d2f61b to
a08bff9
Compare
…hat instantiate it)
…iables that instantiate it)
a08bff9 to
5f1f926
Compare
Description
Renames classes that are called Consensus* but that in fact focus on Mining
Proposed Solution
The code base has some classes called Consensus, ConsensusBuilder, ConsensusConfig, ... but these do not implement the features that the new architecture understands that should be implemented by the Consensus layer, but rather focus on mining and block generation.
In order to allow the implementation of the desired Consensus layer the current one needs to be renamed.
Testing:
I have successfully connected to ETC
It is currently deployed in Staging, it need a PR to me merged because of the rename in base.conf input-output-hk/mantis-ops#51