From: Roland Häder Date: Fri, 6 Nov 2020 12:51:06 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dcd5d4c3804908f8b239afeaa53ed224a5e04e8d;p=hub.git Continued: - fixed namespaces due to previous seperation of miner and cruncher classes - imported missing classes/interfaces Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/producer/class_BaseProducer.php b/application/hub/classes/producer/class_BaseProducer.php index c90269965..377191ba1 100644 --- a/application/hub/classes/producer/class_BaseProducer.php +++ b/application/hub/classes/producer/class_BaseProducer.php @@ -7,7 +7,6 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem; // Import framework stuff use Org\Mxchange\CoreFramework\Factory\ObjectFactory; -use Org\Mxchange\CoreFramework\Registry\GenericRegistry; use Org\Mxchange\CoreFramework\Stacker\Stackable; /** diff --git a/application/hub/classes/producer/miner/blocks/class_BaseBlockProducer.php b/application/hub/classes/producer/miner/blocks/class_BaseBlockProducer.php index 1e0bd9b10..901be771a 100644 --- a/application/hub/classes/producer/miner/blocks/class_BaseBlockProducer.php +++ b/application/hub/classes/producer/miner/blocks/class_BaseBlockProducer.php @@ -3,6 +3,7 @@ namespace Org\Shipsimu\Hub\Producer\Miner\Block; // Import application-specific stuff +use Org\Shipsimu\Hub\Producer\Miner\BaseMinerProducer; /** * A general BlockProducer class diff --git a/application/hub/classes/producer/miner/blocks/miner/class_MinerRealGenesisBlockProducer.php b/application/hub/classes/producer/miner/blocks/miner/class_MinerRealGenesisBlockProducer.php index 6d4420e53..0f272136e 100644 --- a/application/hub/classes/producer/miner/blocks/miner/class_MinerRealGenesisBlockProducer.php +++ b/application/hub/classes/producer/miner/blocks/miner/class_MinerRealGenesisBlockProducer.php @@ -4,8 +4,8 @@ namespace Org\Shipsimu\Hub\Miner\Producer\Miner\Block\Genesis; // Import application-specific stuff use Org\Shipsimu\Hub\Producer\BaseProducer; -use Org\Shipsimu\Hub\Producer\Block\BaseBlockProducer; use Org\Shipsimu\Hub\Producer\Block\BlockProducer; +use Org\Shipsimu\Hub\Producer\Miner\Block\BaseBlockProducer; // Import framework stuff use Org\Mxchange\CoreFramework\Factory\ObjectFactory; diff --git a/application/hub/classes/producer/miner/blocks/miner/class_MinerTestGenesisBlockProducer.php b/application/hub/classes/producer/miner/blocks/miner/class_MinerTestGenesisBlockProducer.php index f092c4647..67b69e29f 100644 --- a/application/hub/classes/producer/miner/blocks/miner/class_MinerTestGenesisBlockProducer.php +++ b/application/hub/classes/producer/miner/blocks/miner/class_MinerTestGenesisBlockProducer.php @@ -4,8 +4,8 @@ namespace Org\Shipsimu\Hub\miner\Producer\Miner\Block\Genesis; // Import application-specific stuff use Org\Shipsimu\Hub\Producer\BaseProducer; -use Org\Shipsimu\Hub\Producer\Block\BaseBlockProducer; use Org\Shipsimu\Hub\Producer\Block\BlockProducer; +use Org\Shipsimu\Hub\Producer\Miner\Block\BaseBlockProducer; // Import framework stuff use Org\Mxchange\CoreFramework\Factory\ObjectFactory; diff --git a/application/hub/classes/producer/miner/class_BaseMinerProducer.php b/application/hub/classes/producer/miner/class_BaseMinerProducer.php index 55365c43a..edb2e3d7e 100644 --- a/application/hub/classes/producer/miner/class_BaseMinerProducer.php +++ b/application/hub/classes/producer/miner/class_BaseMinerProducer.php @@ -5,6 +5,9 @@ namespace Org\Shipsimu\Hub\Producer\Miner; // Import application-specific stuff use Org\Shipsimu\Hub\Producer\BaseProducer; +// Import framework stuff +use Org\Mxchange\CoreFramework\Registry\GenericRegistry; + /** * A generic miner producer class * diff --git a/application/hub/classes/tasks/miner/block_producer/class_MinerRealGenesisBlockProducerTask.php b/application/hub/classes/tasks/miner/block_producer/class_MinerRealGenesisBlockProducerTask.php index a0607139a..6399eb73a 100644 --- a/application/hub/classes/tasks/miner/block_producer/class_MinerRealGenesisBlockProducerTask.php +++ b/application/hub/classes/tasks/miner/block_producer/class_MinerRealGenesisBlockProducerTask.php @@ -1,6 +1,6 @@