|
43 | 43 | from hathor.feature_activation.bit_signaling_service import BitSignalingService
|
44 | 44 | from hathor.feature_activation.feature import Feature
|
45 | 45 | from hathor.feature_activation.feature_service import FeatureService
|
46 |
| -from hathor.feature_activation.storage.feature_activation_storage import FeatureActivationStorage |
47 | 46 | from hathor.mining import BlockTemplate, BlockTemplates
|
48 | 47 | from hathor.mining.cpu_mining_service import CpuMiningService
|
49 | 48 | from hathor.p2p.manager import ConnectionsManager
|
@@ -100,7 +99,6 @@ def __init__(self,
|
100 | 99 | event_manager: EventManager,
|
101 | 100 | feature_service: FeatureService,
|
102 | 101 | bit_signaling_service: BitSignalingService,
|
103 |
| - feature_storage: FeatureActivationStorage | None, |
104 | 102 | verification_service: VerificationService,
|
105 | 103 | cpu_mining_service: CpuMiningService,
|
106 | 104 | network: str,
|
@@ -180,7 +178,6 @@ def __init__(self,
|
180 | 178 |
|
181 | 179 | self._feature_service = feature_service
|
182 | 180 | self._bit_signaling_service = bit_signaling_service
|
183 |
| - self._feature_storage = feature_storage |
184 | 181 | self.verification_service = verification_service
|
185 | 182 | self.cpu_mining_service = cpu_mining_service
|
186 | 183 |
|
@@ -283,9 +280,6 @@ def start(self) -> None:
|
283 | 280 | self._event_manager.load_started()
|
284 | 281 | self.pow_thread_pool.start()
|
285 | 282 |
|
286 |
| - if self._feature_storage: |
287 |
| - self._feature_storage.start() |
288 |
| - |
289 | 283 | # Disable get transaction lock when initializing components
|
290 | 284 | self.tx_storage.disable_lock()
|
291 | 285 | # Open scope for initialization.
|
|
0 commit comments