You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The run simulation always have from .miner import Miner
ImportError: attempted relative import with no known parent package
Traceback (most recent call last):
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\run_simulation.py", line 114, in
run_simulation()
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\run_simulation.py", line 88, in run_simulation
simulation = Simulation(honest_hash_rates=honest_hash_rates,
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\simulation.py", line 150, in init
self._network = Network(self._propagation_delay_parameter, self._median_speed,
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\network.py", line 47, in init
self._total_network_dag.add(self._GENESIS_BLOCK)
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\phantom\phantom.py", line 94, in add
self._G.node[global_id][self._BLOCK_DATA_KEY] = block
AttributeError: 'DiGraph' object has no attribute 'node'. Did you mean: '_node'?
The text was updated successfully, but these errors were encountered:
The run simulation always have from .miner import Miner
ImportError: attempted relative import with no known parent package
Traceback (most recent call last):
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\run_simulation.py", line 114, in
run_simulation()
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\run_simulation.py", line 88, in run_simulation
simulation = Simulation(honest_hash_rates=honest_hash_rates,
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\simulation.py", line 150, in init
self._network = Network(self._propagation_delay_parameter, self._median_speed,
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\network_simulation\network.py", line 47, in init
self._total_network_dag.add(self._GENESIS_BLOCK)
File "C:\Users\Misbah Khan\PycharmProjects\PHANTOM1\phantom\phantom\phantom.py", line 94, in add
self._G.node[global_id][self._BLOCK_DATA_KEY] = block
AttributeError: 'DiGraph' object has no attribute 'node'. Did you mean: '_node'?
The text was updated successfully, but these errors were encountered: