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 |
Con Kolivas
|
b57ffe23d6
|
Use one buffer for connsok line receives without relying on MSG_PEEK and abort appropriately when recv() returns 0
|
11 years ago |
Con Kolivas
|
6a3a333031
|
connsock_t is a ckpool only struct
|
11 years ago |
Con Kolivas
|
b77e481c7e
|
Use a weak logmsg function within libckpool allowing it to be included standalone without touching ckpool code
|
11 years ago |
Con Kolivas
|
bc78acceca
|
Move the functions that require ckpool specific variable types out of libckpool
|
11 years ago |
Con Kolivas
|
86e70edfbc
|
Make all child processes ping the parent process at regular intervals and then die if it has disappeared. Do not attempt to send unix messages to dead processes and abort instantly on socket EINTR
|
11 years ago |
Con Kolivas
|
8073936b46
|
Check for incorrect return value on asprintf
|
11 years ago |
Con Kolivas
|
d90b4ffddd
|
Check return value of asprintf
|
11 years ago |
Con Kolivas
|
bfec616da3
|
Create new proxy entries on the fly with the client reconnect command and switch to it
|
11 years ago |
Con Kolivas
|
e959ba39a4
|
Iterate over the configured btcds, finding the first working one; failover to be added later
|
11 years ago |
Con Kolivas
|
40807602c9
|
Fix macro variable name clashing and crash on logging prior to logfile being set
|
11 years ago |
Con Kolivas
|
b4e6aef470
|
Log all output to a logfile, display all warnings, and use locking to prevent overlapped messages
|
11 years ago |
Con Kolivas
|
f48558d2b5
|
Detach child processes from the tty leaving only the main process to talk to it and exit all processes in a consistent way with more information on termination
|
11 years ago |
Con Kolivas
|
7c98ab5c1d
|
Store structures for all possible upstream servers to allow us to choose an alive one for now with a view to enable switching
|
11 years ago |
Con Kolivas
|
0256ad517b
|
Accept an array of entries for bitcoinds and take initial values for proxying
|
11 years ago |
Con Kolivas
|
78c1b2dfda
|
Make process instances an array within the ckpool struct allowing us to enable only those we need when we add more modules to future code
|
11 years ago |
Con Kolivas
|
78fbb4e91d
|
Make logging directory configurable, and store share logs by height/workid and totals for the pool as well
|
11 years ago |
Con Kolivas
|
55045434f1
|
Make the start and minimum diff configurable and set them to 42 and 1 by default
|
11 years ago |
Con Kolivas
|
be746b1795
|
Build fix
|
11 years ago |
Con Kolivas
|
d8bb3380ae
|
Add option to kill off old instance
|
11 years ago |
Con Kolivas
|
ad5afbe6bb
|
Add datestamp to logging
|
11 years ago |
Con Kolivas
|
c274457caa
|
Add loglevel support with default of notice level, configurable on command line
|
11 years ago |
Con Kolivas
|
fd2c51bed3
|
Restructure includes to only have ckpool instance and proc instance in ckpool.h
|
11 years ago |
Con Kolivas
|
f864e1176c
|
Install signal handlers and store the originals in the ckpool_t
|
11 years ago |
Con Kolivas
|
9544d280e3
|
Launch generator process and abstract out more of the per process files created
|
11 years ago |
Con Kolivas
|
8a23b0bb28
|
Write the pid to a temporary file
|
11 years ago |
Con Kolivas
|
41bc9865c9
|
Begin basic main function parsing parameters, create a directory for sockets and create a listener thread
|
11 years ago |
Con Kolivas
|
e349ec2435
|
Add a slew of timer helper functions to libckpool
|
11 years ago |