Commit graph

7 commits

Author SHA1 Message Date
Ralph
94d8a35a1d
Update job.cpp 2024-03-01 15:51:47 -05:00
Tanguy Pruvot
6d3dd22082 stratum: add a flag indicating we need exit
can be useful to filter real valgrind leaks on exit and trap reboot signal

also protect against db queries after close
2016-06-03 17:05:36 +02:00
Tanguy Pruvot
e2f982300c decred: detect generated blocks + stratum fix
backend:
  generated blocks were not auto detected (to double check)

stratum:
  seen on a new setup, if dcrd doesnt have --miningaddr set
  stratum is not able to distribute jobs and was crashing
2016-02-14 14:07:13 +01:00
Tanguy Pruvot
5ef293e938 decred stratum hack with extranonce field
override the coinbase field with the static part of the decred header...
2016-02-12 14:49:18 +01:00
Tanguy Pruvot
9d4c4d41c7 stratum: reduce defines, prepare the autoexchange variable
also improve the user wallet addresses checks

and allow to mine aux coins in normal (gbt) + aux at the same time
2015-09-26 06:51:14 +02:00
Tanguy Pruvot
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00