Commit Graph

8 Commits

Author SHA1 Message Date
Stefan Berger
d5ac9addfe Log successful submit as such 2023-07-27 21:59:43 +02:00
Stefan Berger
65b08c4733 Fix debug logging 2023-07-23 12:29:43 +02:00
Stefan Berger
f15715f3f3 Use double precision for pool difficulty 2023-07-23 12:25:21 +02:00
Stefan Berger
4aae9fbc2b Fix mining submit code
Use c_str(), since sprintf expects a C-string here
2023-07-09 19:30:51 +02:00
BitMaker
e60e935107 NTP time funcitons added
- Get current time specifying offset (GMT)
- Update local time vars only every determined period
2023-06-07 14:12:45 +02:00
BitMaker
98d5faefa9 Checking pool difficulty 2023-05-28 22:58:23 +02:00
BitMaker
a8b95f29c3 Add mining sugest dificulty 2023-05-27 23:54:16 +02:00
BitMaker
ffd1664b21 Refactoring + Improvements
- Added Stratum thread
- Added only miner thread
- Added utils lib
- Checking all new stratum messages
- Added difficulty check
- Added a mining notify based on pool diff target
- Improved stability and json errors
2023-05-26 13:02:14 +02:00