Con Kolivas
|
40b10ee2ba
|
Add helper to set a json integer and then delete its entry from the json
|
10 years ago |
Con Kolivas
|
3b40b805bd
|
Store the proxy and subproxy id work is generated from
|
10 years ago |
Con Kolivas
|
b637efa179
|
Handle other forms of read_socket_line ending after message complete as not a failure
|
10 years ago |
Con Kolivas
|
288e4b67bb
|
Demote various messages in proxy mode but add more information to warnings
|
10 years ago |
Con Kolivas
|
520b36cc70
|
Send which proxy we wish to get a subscribe or notify to/from the connector to stratifier and whether to reconnect
|
10 years ago |
Con Kolivas
|
dd160666de
|
Do not mask SIGQUIT to allow us to force coredumps on child processes
|
10 years ago |
Con Kolivas
|
9863dedf59
|
Do not mask SIGQUIT to allow us to force coredumps on child processes
|
10 years ago |
Con Kolivas
|
a090bd6c26
|
Convert use of %ld to PRId64 in ckpool.c
|
10 years ago |
Con Kolivas
|
6de132f0f0
|
Export json_get_int64 helper
|
10 years ago |
Con Kolivas
|
37b2f3a8b2
|
Fix minor memory leak when requesting stats
|
10 years ago |
Con Kolivas
|
415e3864fa
|
Handle old instance processes before forking any new ones for there to be no conflict with the stored pid numbers in the filenames
|
10 years ago |
Con Kolivas
|
b1218a7cf0
|
Add config option to prioritise more clients than supporting clients with high hashrates
|
10 years ago |
Con Kolivas
|
75f24a5d16
|
Cope with a socket line that is closed at the end of the message
|
10 years ago |
Con Kolivas
|
babccc6ddf
|
Actually terminate when the child process dies.
|
10 years ago |
ckolivas
|
8959cac620
|
Set to read only various constants in ckpool.c
|
10 years ago |
Con Kolivas
|
b584cd0654
|
Don't try to respawn dead processes for now
|
10 years ago |
Con Kolivas
|
41c74985ce
|
Print warning messages to console before attempting to log them in case of inability to write to the log
|
10 years ago |
Con Kolivas
|
3bbce63302
|
Generate connector stats on command
|
10 years ago |
Con Kolivas
|
a44d00bf43
|
Maintain a count of messages used in ckmsgq
|
10 years ago |
Con Kolivas
|
0e5c5af1e6
|
Create basic stratifier stats reporting on command
|
10 years ago |
ckolivas
|
34853c598d
|
Back off and retry on failed realloc in read_socket_line instead of failing.
|
10 years ago |
ckolivas
|
ef805811d2
|
Update copyright years on affected files
|
10 years ago |
ckolivas
|
6b9c558abc
|
Add a json_get_double helper
|
10 years ago |
ckolivas
|
93822b28a2
|
Add a json_get_double helper
|
10 years ago |
Con Kolivas
|
8622718c48
|
Make jansson use ckalloc for its malloc
|
10 years ago |
Con Kolivas
|
5c7e42c29e
|
Change default nonce1 length to 4 bytes
|
10 years ago |
Con Kolivas
|
1df924e73d
|
Provide an option to daemonise ckpool
|
10 years ago |
Con Kolivas
|
c019a746f5
|
Use a completion timeout to wait for children to exit and kill them if they don't
|
10 years ago |
Con Kolivas
|
8fb14c8c9b
|
Use SIGUSR1 to shut down children only
|
10 years ago |
Con Kolivas
|
5071a7fd06
|
Handle SIGUSR1 in the child sighandler
|
10 years ago |
Con Kolivas
|
92fb508c44
|
Handle SIGUSR1 in the child sighandler
|
10 years ago |
Con Kolivas
|
343699a767
|
Add sanity checks in pthread cancels/joins
|
10 years ago |
Con Kolivas
|
00f9cf297d
|
Hand over multiple sockets if we can
|
10 years ago |
Con Kolivas
|
19bf803b99
|
Clean up shutting down of old processes, polling for when they exit for faster handover
|
10 years ago |
Con Kolivas
|
8d1af2b7fe
|
Check for presence of main process before trying to ping it in case the socket is pointing a new process
|
10 years ago |
Con Kolivas
|
5dd076cfbe
|
Allow serverurl to take an array of entries for future binding to multiple interfaces/ports
|
10 years ago |
Con Kolivas
|
00fa820c3b
|
Make the json_get functions return boolean for success or failure
|
10 years ago |
Con Kolivas
|
1d0d914d52
|
Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure
|
10 years ago |
Con Kolivas
|
bbfadc3e47
|
Store the fd in read_socket_line to not have it change under us, and empty the cs buffer on failure
|
10 years ago |
Con Kolivas
|
0709058b25
|
Allow nonce1 and nonce2 lengths to be specified separately
|
10 years ago |
Con Kolivas
|
ab91682e22
|
Add support for custom extranonce1 lengths
|
10 years ago |
Con Kolivas
|
995fce28c1
|
Make it possible to create many threads associated with a ckmsgq
|
10 years ago |
ckolivas
|
dd3a4a121a
|
Revert "Do not overlap writes to unix sockets"
This reverts commit 6f77624613 .
|
10 years ago |
ckolivas
|
c4ec64929d
|
Revert "Only allow one send_recv_proc at a time"
This reverts commit 9d793945f0 .
|
10 years ago |
ckolivas
|
9d793945f0
|
Only allow one send_recv_proc at a time
|
10 years ago |
ckolivas
|
6f77624613
|
Do not overlap writes to unix sockets
|
10 years ago |
ckolivas
|
cab3e94ada
|
Allow reconnect to take a :url,port extension to specify where to reconnect to
|
10 years ago |
ckolivas
|
620d613d1a
|
Add a maxclients directive that stops accepting clients when there are too many
|
10 years ago |
Con Kolivas
|
86fa46069c
|
Rework the handover mechanism to make the old client reject further clients, then send a reconnect, then shutdown and wait before killing it
|
10 years ago |
Con Kolivas
|
5532de0f1b
|
Implement a stratum reconnect function
|
10 years ago |