diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ceaa5b1b5..ee32ad05f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Bug fixes - Make block transaction selection max time aware of PoA transitions [#6676](https://github.com/hyperledger/besu/pull/6676) +- Don't enable the BFT mining coordinator when running sub commands such as `blocks export` [#6675](https://github.com/hyperledger/besu/pull/6675) ### Download Links diff --git a/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java index eb261ff42b..c4a412e4dc 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/IbftBesuControllerBuilder.java @@ -246,11 +246,7 @@ public class IbftBesuControllerBuilder extends BftBesuControllerBuilder { .getBlockPeriodSeconds())); if (syncState.isInitialSyncPhaseDone()) { - LOG.info("Starting IBFT mining coordinator"); ibftMiningCoordinator.enable(); - ibftMiningCoordinator.start(); - } else { - LOG.info("IBFT mining coordinator not starting while initial sync in progress"); } syncState.subscribeCompletionReached( diff --git a/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java index b26088e73f..a622001ef8 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/QbftBesuControllerBuilder.java @@ -286,11 +286,7 @@ public class QbftBesuControllerBuilder extends BftBesuControllerBuilder { .getBlockPeriodSeconds())); if (syncState.isInitialSyncPhaseDone()) { - LOG.info("Starting QBFT mining coordinator"); miningCoordinator.enable(); - miningCoordinator.start(); - } else { - LOG.info("QBFT mining coordinator not starting while initial sync in progress"); } syncState.subscribeCompletionReached(