We have two different sources for difficulty, if "-d" is set then we use it, if it is not set, we wait for "suggest_difficulty" from mining machine and set the value we receive from it. if we don't receive "suggest_difficulty" we default to 100T.
In the future, we want to read the machine name from SV1 messages and maybe based on that decide the expected hashrate instead of using default 100T.
We have two different sources for difficulty, if "-d" is set then we use it, if it is not set, we wait for "suggest_difficulty" from mining machine and set the value we receive from it. if we don't receive "suggest_difficulty" we default to 100T.
In the future, we want to read the machine name from SV1 messages and maybe based on that decide the expected hashrate instead of using default 100T.