79 Commits (7b452b361f12a6c3aa9e6e8220254d640b3e37a0)

Author SHA1 Message Date
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" 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
Con Kolivas 22ef55be05 Update donation address and encode default 0.5% donation into coinbase 10 years ago
Con Kolivas 5f6b5e0abb Allow a btcd to be used to submit blocks to locally in proxy mode to help perpetuate block solves more rapidly 10 years ago
Con Kolivas a95c259839 Clamp optimal diff after all calculations are made and store min and start diff as long integers 10 years ago
Con Kolivas c4fae526fd Make share logging optional and off by default 10 years ago
Con Kolivas c11b2c11f3 Log ckdb messages before adding them to the queue of messages to send to it to ensure messages continue to be logged as generated even if they're queued to be sent to ckdb 10 years ago
Con Kolivas c371f9da91 Add command line parameter to set passthrough mode 10 years ago
Con Kolivas 92c67ab289 Provide a restart command which does a handover to an new binary with the same arguments 10 years ago
Con Kolivas 61bc8628f3 Implement a handover option which allows ckpool to inherit the socket from a running instance before shutting it down keeping miners talking to the existing connection 10 years ago
Con Kolivas a832b64006 Fix getfd function to really send a full struct msghdr returning a new fd to copy sockets across processes 10 years ago
Con Kolivas fc1d956f37 Make a per-process logger allowing logging to be line buffered yet asynchronous 10 years ago
Con Kolivas dd056cd030 Provide an option to run ckpool standalone without ckdb 10 years ago
ckolivas e8c47e29fa Move generic ckmsgq functions to ckpool.c to allow ckp to be included 11 years ago
Con Kolivas 645b94c949 Log all ckdb requests to the rotating ckdb log 11 years ago
Con Kolivas 333d05fb3a Create a json sending wrapper for ckdb and fix int64 usage in packed json 11 years ago
Con Kolivas 1debfd1f45 Send auth and share messages to ckdb 11 years ago
Con Kolivas 73599ea10d Add a function for sending a message to ckdb and getting its response 11 years ago
Con Kolivas 5f5ef3c712 Parse and store the socket directory and name for ckdb 11 years ago
Con Kolivas ebb932691a Allow group id to be set for unix sockets with -g command line parameter 11 years ago