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
|
098930afd5
|
Add a completion timeout helper function
|
10 years ago |
Con Kolivas
|
3e335c3b38
|
Abort any functions on signal handling, cleaning up cksem functions
|
10 years ago |
Con Kolivas
|
8fb14c8c9b
|
Use SIGUSR1 to shut down children only
|
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
|
2f7be53b7d
|
Merge branch 'master' into userstats
|
10 years ago |
Con Kolivas
|
53e78947ad
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
10 years ago |
Con Kolivas
|
ac05feeebc
|
Fix potential socket leak in gen_loop
|
10 years ago |
Con Kolivas
|
649ad7953f
|
Fix potential socket leak in gen_loop
|
10 years ago |
Con Kolivas
|
65f52112ba
|
Confirm all handed over sockets match the configured sockets
|
10 years ago |
Con Kolivas
|
be87144fe1
|
Provide a helper function for turning a socket into a url and port
|
10 years ago |
Con Kolivas
|
540db4f5a9
|
Free the addrinfo allocated in bind_socket
|
10 years ago |
Con Kolivas
|
02dfda6814
|
Add a helper function for getting an addinfo from a url and port
|
10 years ago |
Con Kolivas
|
e5f26443af
|
Make url from sockaddr take port as a char
|
10 years ago |
Con Kolivas
|
6d40647334
|
Add a helper function for converting a struct sockaddr into a url and port
|
10 years ago |
Con Kolivas
|
00f9cf297d
|
Hand over multiple sockets if we can
|
10 years ago |
Con Kolivas
|
65a6f4be5f
|
Look for json messages for clients and process them first in the connector
|
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 |
kanoi
|
58be2ed29f
|
ckdb - fix for pplns when payout is only in workmarkers
|
10 years ago |
Con Kolivas
|
2dc67ccc35
|
Drop listen backlog to zero as soon as we start polling
|
10 years ago |
Con Kolivas
|
6a4da2814c
|
Look for received json messages in the stratifier first since they'll be the most common
|
10 years ago |
kanoi
|
93b8bf0071
|
ckdb - implement marks with cmd_marks to create and use marks and workmarkers
|
10 years ago |
Con Kolivas
|
8371a398fe
|
Merge branch 'master' into userstats
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
c57782af25
|
Avoid variable names in json checking macros that may conflict
|
10 years ago |
Con Kolivas
|
807d5a403c
|
Only add secondaryuserid with ckdb
|
10 years ago |
Con Kolivas
|
cb1e3b8637
|
Fine grain create the json share error to debug each field
|
10 years ago |
Con Kolivas
|
26d9bd9e08
|
Merge branch 'master' into userstats
|
10 years ago |
Con Kolivas
|
6ab9129bd6
|
Send the associated serverurl with client based data sent to ckdb
|
10 years ago |
Con Kolivas
|
b8e125a1f7
|
Store which serverurl each client is bound to in the connector and pass the information to the stratifier
|
10 years ago |
Con Kolivas
|
8d4a0f3fa7
|
Fix pointer
|
10 years ago |
Con Kolivas
|
0f7b6c5a68
|
Make the connector bind to multiple IPs and Ports specified in the configuration, handling incoming connections
|
10 years ago |
Con Kolivas
|
b1cd770c8a
|
Update ckpool and ckproxy example configurations
|
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 |
kanoi
|
0c9ac579e5
|
ckdb - reduce transfer cull to compensate for the alloc increase
|
10 years ago |
kanoi
|
a4fb2ca927
|
ckdb - allow the -w option to only affect sharesummaries
|
10 years ago |
kanoi
|
98b52140b7
|
ckdb - load the marks table
|
10 years ago |
kanoi
|
61318d9438
|
ckdb - pplns set block createdate to first block record
|
10 years ago |
kanoi
|
941cba9b3b
|
ckdb - convert sharesummary workername to a ptr - reduce ram ... lots
|
10 years ago |
kanoi
|
5fe3dd77e2
|
ckdb/php - add more stats in pplns about where the shares come from
|
10 years ago |
kanoi
|
71eac4e579
|
ckdb/sql - add sql/code definition for Marks - not implemented yet
|
10 years ago |
kanoi
|
8e559ee48e
|
Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool
|
10 years ago |
kanoi
|
5a57d01911
|
ckdb - correct pplns workmarkers sort
|
10 years ago |
Con Kolivas
|
79367129f3
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
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
|
61300493e7
|
Empty buffers of servers and proxy when killing them
|
10 years ago |
Con Kolivas
|
06507de1fc
|
Handle read and write_length functions receiving an invalidated fd
|
10 years ago |