Con Kolivas
|
bfbe3a1039
|
Don't block on dead servers if possible when calling server_alive from the gen_loop
|
9 years ago |
Con Kolivas
|
853bed8281
|
Serialise all json_rpc_calls and responses
|
9 years ago |
Con Kolivas
|
53656e1284
|
Json RPC calls can take a while to return so use a custom timeout when talking to the generator from the stratifier
|
10 years ago |
Con Kolivas
|
e94115d6e2
|
Allow _send_recv_proc to take custom timeouts
|
10 years ago |
Con Kolivas
|
c9245673af
|
Make read_socket_line use a timeout pointer allowing the value to be used for reentrant calls
|
10 years ago |
Con Kolivas
|
4bc776f99b
|
Use non-blocking reads in read_socket_line, waiting up to the full timeout
|
10 years ago |
Con Kolivas
|
62d1ec3f8a
|
Use signal handlers from sender and receiver threads in the connector avoid needing to pthread tryjoin on every message
|
10 years ago |
Con Kolivas
|
281f70e17d
|
Move inappropriate placement of ckpool definition from libckpool header
|
10 years ago |
Con Kolivas
|
39a8b0ebef
|
Create general function for receiving unix messages from the receive queue
|
10 years ago |
Con Kolivas
|
ba7e48c492
|
Create basic unix receive message thread for queueing messages to be handled asynchronously
|
10 years ago |
kanoi
|
8ff07e69a3
|
ckpool - add start time and pid to seq information
|
10 years ago |
Con Kolivas
|
ca5c7da81b
|
Provide helper functions for storing log text and their associated filenames to be written to in unlocked code
|
10 years ago |
Con Kolivas
|
d4304de798
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
428cabdfc4
|
Add an asynchronous send proc function which uses each process' generic workqueues if they exist
|
10 years ago |
Con Kolivas
|
2865a0378f
|
Keep track of per process ckwqs in the ckpool structure
|
10 years ago |
Con Kolivas
|
d594f86520
|
Create generic workqueue function and message receiving and parsing helpers
|
10 years ago |
Con Kolivas
|
487e918ff7
|
Return value of send_proc is never used
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
416b7a02eb
|
Handle proxy failover correctly for remainder of upstream pools when a reconnect is issued and don't lose original pool details, demoting it to last instead
|
10 years ago |
Con Kolivas
|
9f07cc11e0
|
Export the char_entry_t type
|
10 years ago |
Con Kolivas
|
1432b90829
|
Remove code talking to local btcd in proxy mode since we won't be able to submit any realistic block solves locally
|
10 years ago |
Con Kolivas
|
6de132f0f0
|
Export json_get_int64 helper
|
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 |
ckolivas
|
8959cac620
|
Set to read only various constants in ckpool.c
|
10 years ago |
ckolivas
|
19ca4d0f8c
|
Silence unused warning
|
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 |
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
|
1df924e73d
|
Provide an option to daemonise ckpool
|
10 years ago |
Con Kolivas
|
00f9cf297d
|
Hand over multiple sockets if we can
|
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
|
61300493e7
|
Empty buffers of servers and proxy when killing them
|
10 years ago |
Con Kolivas
|
fe7f015ec6
|
Empty buffers of servers and proxy when killing them
|
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
|
fe15f9384d
|
Privatise all global variables within the generator to allow multiple ckpools in the future
|
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
|
6f77624613
|
Do not overlap writes to unix sockets
|
10 years ago |
ckolivas
|
620d613d1a
|
Add a maxclients directive that stops accepting clients when there are too many
|
10 years ago |
Con Kolivas
|
27ac4e23ef
|
Parse the difficultydefault entry returned from authorise
|
10 years ago |
Con Kolivas
|
3288b15622
|
Parse new auth command from ckdb
|
10 years ago |
Con Kolivas
|
255bab88fe
|
Add a maximum diff option
|
10 years ago |
Con Kolivas
|
55ff1389ee
|
Make ckpool built without ckdb support imply standalone and remove ckdb options when build support is disabled
|
10 years ago |
Con Kolivas
|
90f5936956
|
Add a helper function to detect when a ckmsgq is empty
|
10 years ago |
Con Kolivas
|
5c52cc65c7
|
Add an optional field notify per btcd that tells ckpool not to pool for block changes
|
10 years ago |