Skip to content

Don't start the BFT mining coordinator when it is created, just enable it#6675

Merged
matthew1001 merged 4 commits intobesu-eth:mainfrom
matthew1001:no-bft-start
Mar 12, 2024
Merged

Don't start the BFT mining coordinator when it is created, just enable it#6675
matthew1001 merged 4 commits intobesu-eth:mainfrom
matthew1001:no-bft-start

Conversation

@matthew1001
Copy link
Copy Markdown
Contributor

PR description

When creating a BFT mining coordinator, if the sync phase is already complete then enable the coordinator but don't start it.

Start will be done either during starting of the ethereum main loop, or on receiving an event notification that syncing has completed.

Fixed Issue(s)

Fixes #6674

@matthew1001 matthew1001 changed the title Don't start a BFT mining coordinator when it is created, just enable it Don't start the BFT mining coordinator when it is created, just enable it Mar 4, 2024
Copy link
Copy Markdown
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

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

Changes look good, it would be good add a changelog entry as well

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
@matthew1001
Copy link
Copy Markdown
Contributor Author

Changes look good, it would be good add a changelog entry as well

Thanks @jframe, I've added it to the bugs list in the changelog

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
@matthew1001 matthew1001 enabled auto-merge (squash) March 12, 2024 10:02
@matthew1001 matthew1001 merged commit 8dba298 into besu-eth:main Mar 12, 2024
MASDXI pushed a commit to MASDXI/besu that referenced this pull request Mar 13, 2024
…e it (besu-eth#6675)

* Don't start a BFT mining coordinator when it is created, just enable it

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Update change log

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
Signed-off-by: MASDXI <sirawitt42@gmail.com>
amsmota pushed a commit to Citi/besu that referenced this pull request Apr 16, 2024
…e it (besu-eth#6675)

* Don't start a BFT mining coordinator when it is created, just enable it

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Update change log

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
Signed-off-by: amsmota <antonio.mota@citi.com>
amsmota pushed a commit to Citi/besu that referenced this pull request Apr 16, 2024
…e it (besu-eth#6675)

* Don't start a BFT mining coordinator when it is created, just enable it

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Update change log

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
Signed-off-by: amsmota <antonio.mota@citi.com>
matthew1001 added a commit to kaleido-io/besu that referenced this pull request Jun 7, 2024
…e it (besu-eth#6675)

* Don't start a BFT mining coordinator when it is created, just enable it

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Update change log

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
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.

block export (or any sub command) starts a BFT mining coordinator

2 participants