Con Kolivas
|
343699a767
|
Add sanity checks in pthread cancels/joins
|
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
|
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
|
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
|
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
|
5a57d01911
|
ckdb - correct pplns workmarkers sort
|
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 |
Con Kolivas
|
c9dd84fac2
|
Handle invalidated socket fds with an error in the wait read/write select functions
|
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
|
fe7f015ec6
|
Empty buffers of servers and proxy when killing them
|
10 years ago |
Con Kolivas
|
615e9e8b22
|
Handle read and write_length functions receiving an invalidated fd
|
10 years ago |
Con Kolivas
|
480c705e96
|
Handle invalidated socket fds with an error in the wait read/write select functions
|
10 years ago |
kanoi
|
b231b158e6
|
ckdb/php - allow pplns to show blocks that can't be or aren't ready to be paid out
|
10 years ago |
kanoi
|
180410913c
|
ckdb - include workmarkers in old pplns calculations
|
10 years ago |
kanoi
|
27b722e66e
|
ckdb - allow disabling/enabling users
|
10 years ago |
kanoi
|
5d522ddec8
|
ckdb - fail auth if users.status isn't empty
|
10 years ago |
kanoi
|
7a8392bb1f
|
ckdb - suggest to malloc to use mmap for transfer
|
10 years ago |
kanoi
|
03efdd0332
|
ckdb - disallow web usernames like BTC addresses
|
10 years ago |
Con Kolivas
|
0709058b25
|
Allow nonce1 and nonce2 lengths to be specified separately
|
10 years ago |
Con Kolivas
|
721d6d22ab
|
Set the initial enonce1 to a value that will differ on every restart
|
10 years ago |