Open realspencerdupre opened 7 years ago
Sorry my info was so bad before. Here's what I found. It's at stratum_server.py:154. I added
print self.config["vardiff"]
It printed twice during startup, and the dict seems to lose data somewhere:
{'tiers': [8, 16, 32, 64, 96, 128, 192, 256, 512, 1024, 2048, 4096, 8192, 16384], 'interval': 10, 'enabled': True, 'maximum_difficulty': 524288, 'spm_target': 30, 'minimum_difficulty': 64}
2017-09-17 05:56:00,086 [StratumServer_sha256_STRAT] [INFO] Stratum server starting up on ('0.0.0.0', 3334)
2017-09-17 05:56:00,086 [StratumServer_sha256_STRAT] [INFO] Component StratumServer_sha256_STRAT starting up
{'tiers': None, 'interval': 30, 'enabled': False, 'maximum_difficulty': 524288, 'spm_target': 20, 'minimum_difficulty': 64}
I've been running on an old version (circa 2 yr old) for awhile. Recently tried starting up a new copy, ran into this issue with a barely modified example config:
powerpool.exceptions.ConfigurationError: No tiers for vardiff. Please specify vaild minimum_difficulty and maximum_difficulty, or a tiers array in the vardiff config block
The tiers are clearly defined, like
Yet I couldn't get pp to run in any fashion.