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

refactor(view_change): only send current and previous view change proof #4929

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

Erigara
Copy link
Contributor

@Erigara Erigara commented Aug 2, 2024

Description

Instead of sending every view change proof only view change proof for current round and previous verified proof are sent.

Linked issue

Closes #4926

Benefits

This help peer which is lagging behind to directly jump to most recent view change and participate in consensus.

@Erigara Erigara added Refactor Improvement to overall code quality Optimization Something isn't working as well as it should labels Aug 2, 2024
@Erigara Erigara self-assigned this Aug 2, 2024
@Erigara Erigara force-pushed the optimize_view_chage_update branch 2 times, most recently from 63556e6 to caef8df Compare August 2, 2024 12:03
@mversic mversic force-pushed the optimize_view_chage_update branch 2 times, most recently from d9414ba to b518b78 Compare August 14, 2024 17:29
SamHSmith
SamHSmith previously approved these changes Aug 21, 2024
Copy link
Contributor

@SamHSmith SamHSmith left a comment

Choose a reason for hiding this comment

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

Looks great.

core/src/sumeragi/view_change.rs Show resolved Hide resolved
core/src/sumeragi/view_change.rs Show resolved Hide resolved
core/src/sumeragi/view_change.rs Show resolved Hide resolved
core/src/sumeragi/view_change.rs Show resolved Hide resolved
core/src/sumeragi/main_loop.rs Show resolved Hide resolved
@mversic mversic enabled auto-merge (squash) September 5, 2024 08:19
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@mversic mversic merged commit 3e7a77e into hyperledger-iroha:main Sep 5, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization Something isn't working as well as it should Refactor Improvement to overall code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor(view_change): send only latest view change proof
3 participants