StratumServer: added autodiff

Autodiff is enabled by default, target time is 30 seconds. It can be disabled with `--no-autodiff` command line option.
This commit is contained in:
SChernykh
2022-05-08 12:30:22 +02:00
parent d4e362cd76
commit 990916ab62
7 changed files with 194 additions and 61 deletions
+1
View File
@@ -48,6 +48,7 @@ struct Params
uint32_t m_maxIncomingPeers = 1000;
uint32_t m_minerThreads = 0;
bool m_mini = false;
bool m_autoDiff = true;
};
} // namespace p2pool