Skip to content

Conversation

@leo-bogastry
Copy link
Contributor

@leo-bogastry leo-bogastry commented Jul 12, 2021

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

@leo-bogastry leo-bogastry force-pushed the refactor/ETCM-1001-rename-consensus-to-mining branch 2 times, most recently from 5add5d8 to d6cada0 Compare July 13, 2021 10:06
"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])",
Copy link
Contributor

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.

Copy link
Contributor Author

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

@leo-bogastry leo-bogastry force-pushed the refactor/ETCM-1001-rename-consensus-to-mining branch from d6cada0 to 6d2f61b Compare July 14, 2021 07:51
@leo-bogastry leo-bogastry force-pushed the refactor/ETCM-1001-rename-consensus-to-mining branch from 6d2f61b to a08bff9 Compare July 15, 2021 09:52
Leonor Boga added 21 commits July 15, 2021 14:55
@leo-bogastry leo-bogastry force-pushed the refactor/ETCM-1001-rename-consensus-to-mining branch from a08bff9 to 5f1f926 Compare July 15, 2021 12:55
@leo-bogastry leo-bogastry merged commit 2940e56 into develop Jul 15, 2021
@leo-bogastry leo-bogastry deleted the refactor/ETCM-1001-rename-consensus-to-mining branch July 15, 2021 15:32
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.

5 participants