From f2500dd4d8f7af04d481ddfb61f1b038d02dc989 Mon Sep 17 00:00:00 2001 From: Matilda Clerke Date: Wed, 18 Sep 2024 11:40:59 +1000 Subject: [PATCH] 7311: Move PeerTaskFeatureToggle to more appropriate location Signed-off-by: Matilda Clerke --- besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java | 2 +- .../ethereum/eth/manager/peertask}/PeerTaskFeatureToggle.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {besu/src/main/java/org/hyperledger/besu/cli/custom => ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask}/PeerTaskFeatureToggle.java (97%) diff --git a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java index cee8a49c88..b37bb79146 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java @@ -40,7 +40,6 @@ import org.hyperledger.besu.cli.converter.MetricCategoryConverter; import org.hyperledger.besu.cli.converter.PercentageConverter; import org.hyperledger.besu.cli.converter.SubnetInfoConverter; import org.hyperledger.besu.cli.custom.JsonRPCAllowlistHostsProperty; -import org.hyperledger.besu.cli.custom.PeerTaskFeatureToggle; import org.hyperledger.besu.cli.error.BesuExecutionExceptionHandler; import org.hyperledger.besu.cli.error.BesuParameterExceptionHandler; import org.hyperledger.besu.cli.options.MiningOptions; @@ -118,6 +117,7 @@ import org.hyperledger.besu.ethereum.core.MiningParametersMetrics; import org.hyperledger.besu.ethereum.core.PrivacyParameters; import org.hyperledger.besu.ethereum.core.VersionMetadata; import org.hyperledger.besu.ethereum.core.plugins.PluginConfiguration; +import org.hyperledger.besu.ethereum.eth.manager.peertask.PeerTaskFeatureToggle; import org.hyperledger.besu.ethereum.eth.sync.SyncMode; import org.hyperledger.besu.ethereum.eth.sync.SynchronizerConfiguration; import org.hyperledger.besu.ethereum.eth.transactions.ImmutableTransactionPoolConfiguration; diff --git a/besu/src/main/java/org/hyperledger/besu/cli/custom/PeerTaskFeatureToggle.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskFeatureToggle.java similarity index 97% rename from besu/src/main/java/org/hyperledger/besu/cli/custom/PeerTaskFeatureToggle.java rename to ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskFeatureToggle.java index b1035cfd07..24cc63b84c 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/custom/PeerTaskFeatureToggle.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskFeatureToggle.java @@ -12,7 +12,7 @@ * * SPDX-License-Identifier: Apache-2.0 */ -package org.hyperledger.besu.cli.custom; +package org.hyperledger.besu.ethereum.eth.manager.peertask; import org.slf4j.Logger; import org.slf4j.LoggerFactory;