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

node: Allow fallback to lower-round blocks #1258

Merged
merged 5 commits into from
Jan 18, 2024
Merged

node: Allow fallback to lower-round blocks #1258

merged 5 commits into from
Jan 18, 2024

Conversation

goshawk-3
Copy link
Contributor

@goshawk-3 goshawk-3 commented Jan 17, 2024

fixes #1168

As already mentioned, this PR implements issue 1168 by reverting to LastFinalized state.

In order to, implement the part "then we fallback to $B_H.PrevBlock$ and accept $B'_H$ to our chain ", another DIP issue should be filed where we can refine the concept.

See also: #1260

@goshawk-3 goshawk-3 marked this pull request as ready for review January 18, 2024 08:57
Copy link
Contributor

@fed-franz fed-franz left a comment

Choose a reason for hiding this comment

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

LGTM
I like the local/remote nomenclature, but I suggested some renamings

node/src/chain/acceptor.rs Outdated Show resolved Hide resolved
node/src/chain/fallback.rs Outdated Show resolved Hide resolved
node/src/chain/fsm.rs Outdated Show resolved Hide resolved
node/src/chain/fsm.rs Outdated Show resolved Hide resolved
node/src/chain/fsm.rs Outdated Show resolved Hide resolved
node/src/chain/fsm.rs Outdated Show resolved Hide resolved
node/src/chain/fsm.rs Outdated Show resolved Hide resolved
node/src/chain/fallback.rs Show resolved Hide resolved
node/src/chain/fallback.rs Show resolved Hide resolved
node/src/chain/fallback.rs Show resolved Hide resolved
@goshawk-3 goshawk-3 requested a review from fed-franz January 18, 2024 11:51
Copy link
Contributor

@fed-franz fed-franz left a comment

Choose a reason for hiding this comment

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

LGTM

@goshawk-3 goshawk-3 merged commit d45091d into master Jan 18, 2024
3 checks passed
@goshawk-3 goshawk-3 deleted the fix-1168 branch January 18, 2024 12:09
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.

consensus: Allow fallback to lower-round blocks
2 participants