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

feat: implement vote manager logics #301

Merged
merged 8 commits into from
Jul 11, 2023

Conversation

DNK90
Copy link
Contributor

@DNK90 DNK90 commented Jul 5, 2023

No description provided.

@DNK90 DNK90 requested a review from minh-bq July 5, 2023 08:26
@DNK90 DNK90 changed the title feat: implement vote manager logics feat: implement vote manager logics (WIP) Jul 5, 2023
@DNK90 DNK90 changed the title feat: implement vote manager logics (WIP) feat: implement vote manager logics Jul 6, 2023
core/vote.go Outdated Show resolved Hide resolved
core/types/vote.go Show resolved Hide resolved
core/types/vote.go Outdated Show resolved Hide resolved
core/types/vote.go Outdated Show resolved Hide resolved
core/types/vote.go Outdated Show resolved Hide resolved
core/types/vote.go Outdated Show resolved Hide resolved
core/types/vote.go Outdated Show resolved Hide resolved
@DNK90 DNK90 force-pushed the feat/vote_manager branch from 8c50e2e to 2178ffc Compare July 7, 2023 07:21
@DNK90 DNK90 requested a review from minh-bq July 7, 2023 07:21
@DNK90 DNK90 force-pushed the feat/vote_manager branch from 2178ffc to 1598cc6 Compare July 7, 2023 07:25
core/vote/vote_pool.go Outdated Show resolved Hide resolved
core/vote/vote_pool_test.go Outdated Show resolved Hide resolved
core/vote/vote_journal.go Outdated Show resolved Hide resolved
@minh-bq minh-bq force-pushed the feat/vote_manager branch from d91440c to 25eb315 Compare July 10, 2023 11:39
minh-bq added 2 commits July 11, 2023 09:50
This commit implements new rule that allow validator to only vote for higher
block height than its previous vote. With this vote journal is not necessary
anymore so we remove it.
@minh-bq minh-bq force-pushed the feat/vote_manager branch from 25eb315 to e149b54 Compare July 11, 2023 02:50
@minh-bq minh-bq merged commit 66989ff into feat/optimistic_fast_finality Jul 11, 2023
@minh-bq minh-bq deleted the feat/vote_manager branch July 11, 2023 10:19
minh-bq added a commit to minh-bq/ronin that referenced this pull request Aug 29, 2023
* feat: implement vote manager logics

* chore: remove SourceNumber and SourceHash from vote

* chore: Add `Debug` function which allow debugging within `VoteManager`

* nit: Remove unused code

* chore: rename `VoteAddress` to `PublicKey`

* core/vote: validator only votes for the higher block height

This commit implements new rule that allow validator to only vote for higher
block height than its previous vote. With this vote journal is not necessary
anymore so we remove it.

* cmd, eth: init the vote manager and vote pool

* vote_signer: clean up code

---------

Co-authored-by: Bui Quang Minh <[email protected]>
minh-bq added a commit to minh-bq/ronin that referenced this pull request Sep 7, 2023
* feat: implement vote manager logics

* chore: remove SourceNumber and SourceHash from vote

* chore: Add `Debug` function which allow debugging within `VoteManager`

* nit: Remove unused code

* chore: rename `VoteAddress` to `PublicKey`

* core/vote: validator only votes for the higher block height

This commit implements new rule that allow validator to only vote for higher
block height than its previous vote. With this vote journal is not necessary
anymore so we remove it.

* cmd, eth: init the vote manager and vote pool

* vote_signer: clean up code

---------

Co-authored-by: Bui Quang Minh <[email protected]>
minh-bq added a commit that referenced this pull request Sep 7, 2023
* feat: implement vote manager logics

* chore: remove SourceNumber and SourceHash from vote

* chore: Add `Debug` function which allow debugging within `VoteManager`

* nit: Remove unused code

* chore: rename `VoteAddress` to `PublicKey`

* core/vote: validator only votes for the higher block height

This commit implements new rule that allow validator to only vote for higher
block height than its previous vote. With this vote journal is not necessary
anymore so we remove it.

* cmd, eth: init the vote manager and vote pool

* vote_signer: clean up code

---------

Co-authored-by: Bui Quang Minh <[email protected]>
andicrypt pushed a commit to andicrypt/ronin that referenced this pull request Nov 1, 2023
* feat: implement vote manager logics

* chore: remove SourceNumber and SourceHash from vote

* chore: Add `Debug` function which allow debugging within `VoteManager`

* nit: Remove unused code

* chore: rename `VoteAddress` to `PublicKey`

* core/vote: validator only votes for the higher block height

This commit implements new rule that allow validator to only vote for higher
block height than its previous vote. With this vote journal is not necessary
anymore so we remove it.

* cmd, eth: init the vote manager and vote pool

* vote_signer: clean up code

---------

Co-authored-by: Bui Quang Minh <[email protected]>
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.

2 participants