Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Drop late blocks - develop - #8497

Merged
heifner merged 3 commits into
developfrom
drop-late-blocks-dev
Jan 25, 2020
Merged

heifner merged 3 commits into
developfrom
drop-late-blocks-dev

Conversation

@heifner

@heifner heifner commented Jan 23, 2020

Copy link
Copy Markdown
Contributor

Change Description

New policy for dropping all incoming blocks while producing blocks. This prevents extra work by BPs from abort_block and is far simpler than attempting to determine if the incoming block is potentially relevant to the chain.

Since this sets up a situation where the last block, if received late, is likely to be dropped, this PR also changes the default value for last block time offset to -200000us. BPs who have already explicitly set the last-block-time-offset-us parameter may want to re-evaluate in light of this change.

Succinctly, It is now the default policy that BPs are responsible for shipping out their last block(s) early enough such that the next BP will receive them before they start producing or risk having their work dropped.

Co-Authored-By: Bart Wyatt bart.wyatt@block.one
Co-Authored-By: Kevin Heifner heifnerk@objectcomputing.com

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@heifner
heifner merged commit 526a993 into develop Jan 25, 2020
@heifner
heifner deleted the drop-late-blocks-dev branch January 25, 2020 00:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants