Skip to content

chore: nomenclature change decided -> certified#142

Merged
aksonic merged 1 commit intomainfrom
aksonic/nomenclature-certified
May 5, 2025
Merged

chore: nomenclature change decided -> certified#142
aksonic merged 1 commit intomainfrom
aksonic/nomenclature-certified

Conversation

@aksonic
Copy link
Copy Markdown
Contributor

@aksonic aksonic commented May 3, 2025

Please feel free to ignore this PR until it is rebased off of main as this PR is branched off of #140, #141

Verification:

image

@aksonic aksonic self-assigned this May 3, 2025
@aksonic aksonic requested review from Tjofil, kmeeth and psubotic as code owners May 3, 2025 04:23
@codecov
Copy link
Copy Markdown

codecov Bot commented May 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Comment thread cmd/conf_tester/lachesis.cpp
Comment thread cmd/conf_tester/test/catch.hpp Outdated
Comment thread consensus/consensusengine/election.go Outdated
Comment thread cmd/conf_tester/lachesis.cpp Outdated
Comment thread cmd/conf_tester/test/catch.hpp Outdated
Comment thread consensus/consensusengine/election.go Outdated
Comment thread consensus/consensusengine/election.go Outdated
Comment thread consensus/dagindexer/index.go Outdated
@aksonic aksonic force-pushed the aksonic/nomenclature-certified branch 2 times, most recently from de580e1 to 1198359 Compare May 5, 2025 13:30
Comment thread consensus/consensusengine/election.go Outdated
Q := int32((Q_0 + 3 - 1) / 3)
yesDecisions := boolMaskInt32Vec(aggregationMatr, func(x int32) bool { return x >= Q })
noDecisions := boolMaskInt32Vec(aggregationMatr, func(x int32) bool { return x <= -Q })
yesCertifications := boolMaskInt32Vec(aggregationMatr, func(x int32) bool { return x >= Q })
Copy link
Copy Markdown
Contributor

@Tjofil Tjofil May 5, 2025

Choose a reason for hiding this comment

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

I think these should not be certifications but decisions - i.e. turning a regular base into a candidate, then among the candidates, we certify a single leader. @psubotic @kmeeth give us your input too.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The method itself can remain certify as it certifies the leader eventually. Other suggestions also welcome.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes so this is how I will present it leaders are decided but one is certified.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To be fair on Amir I personally only noticed this when doing the slides and our nomenclature table Amir used indicates otherwise, great you brought this up @Tjofil

@aksonic aksonic force-pushed the aksonic/nomenclature-certified branch from 1198359 to 305c436 Compare May 5, 2025 13:34
@aksonic aksonic merged commit ac48ace into main May 5, 2025
1 check passed
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.

4 participants