Con Kolivas
|
352792758c
|
Send SIGTERM to the parent process on a failure to send a message to a sub process
|
11 years ago |
Con Kolivas
|
007afe7ac8
|
Cancel and join proxy send and receive threads on shutdown to avoid deref after removing their memory
|
11 years ago |
Con Kolivas
|
f62e344ff8
|
Add a sanity check for tdiffs to prevent negative values
|
11 years ago |
Con Kolivas
|
0623410889
|
Ping main on looking for the generator response in the stratifier to know if we've died before ever starting
|
11 years ago |
Con Kolivas
|
251ac7e7fe
|
Be more generous with socket connect timeouts
|
11 years ago |
Con Kolivas
|
aa70f0db5e
|
Default unspecified port for proxy to 3334
|
11 years ago |
Con Kolivas
|
7eb4e018b6
|
Allow arbitrary length coinbase2 for proxying to work properly
|
11 years ago |
Con Kolivas
|
93735544ca
|
Add debugging to hex2bin to know where it failed from
|
11 years ago |
Con Kolivas
|
4121560bad
|
Use MSG_WAITALL on reads to more reliably detect closed unix sockets
|
11 years ago |
Con Kolivas
|
b297a35632
|
Remove unused buffer ram in send_client and demote messages to info level only
|
11 years ago |
Con Kolivas
|
d66fde2185
|
Make the main listener socket always return a response and create a message input/sending loop in ckpmsg
|
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
|
ed341c9502
|
Create the beginnings of a separate tool to talk to ckpool sockets
|
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
|
10a4b36f31
|
Make displayed stats based on round shares
|
11 years ago |
Con Kolivas
|
d8b023350f
|
Don't remove the ram from dead client instances to prevent a dereference
|
11 years ago |
Con Kolivas
|
c4f0d57ae8
|
Fix various memory leaks
|
11 years ago |
Con Kolivas
|
8073936b46
|
Check for incorrect return value on asprintf
|
11 years ago |
Con Kolivas
|
164745af2e
|
Clean up unnecessary jansson build components
|
11 years ago |
Con Kolivas
|
d90b4ffddd
|
Check return value of asprintf
|
11 years ago |
Con Kolivas
|
77f09c2858
|
Use local jansson in build
|
11 years ago |
Con Kolivas
|
74db5bcfb8
|
Import jansson 2.6 locally
|
11 years ago |
Con Kolivas
|
56d6649646
|
Fix jobid being wrong on proxy reconnect
|
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
|
601fb8cb34
|
Fix off-by-one error
|
11 years ago |
Con Kolivas
|
d4e6668865
|
Fix minor uninitialised ram and leak issues
|
11 years ago |
Con Kolivas
|
3931e7bee9
|
Avoid realloc being required in send_json_msg
|
11 years ago |
Con Kolivas
|
a3a586ee6e
|
Use the retry on EINTR only on unix sockets
|
11 years ago |
Con Kolivas
|
306392950f
|
Zero the read buffer fully in read_socket_line and handle closed sockets gracefully
|
11 years ago |
Con Kolivas
|
67fefd2675
|
Fall over to another bitcoind if any of our calls fail
|
11 years ago |
Con Kolivas
|
0b4c6c7821
|
Make the gbtbase data the private data per server instance
|
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
|
82fe18554f
|
Add total shares from each user to pool accounted diff shares
|
11 years ago |
Con Kolivas
|
ca176c8e1d
|
Fall over to the first working stratum proxy whenever we are disconnected
|
11 years ago |
Con Kolivas
|
3c70130ae2
|
Only show user share summary on block solve if they had any
|
11 years ago |
Con Kolivas
|
9b95920ab5
|
Remove redundant comment and there is no point capping shares to 5xdiff
|
11 years ago |
Con Kolivas
|
d1e0072efd
|
Load user stats on startup to ensure we don't miss clients that don't reconnect on a pool restart
|
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
|
7fabe1f14f
|
With sigpipe masked, interrupted send calls are likely fatal
|
11 years ago |
Con Kolivas
|
01d5b71bef
|
Broadcast to miners a message when the pool has solved a block
|
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 |
ckolivas
|
ed270c92fc
|
PPLNS window should just be network diff
|
11 years ago |
ckolivas
|
2358d03037
|
Add pplns shares from reconnected users to the pool's total
|
11 years ago |
ckolivas
|
d19a682d92
|
Set the maximum pplns window to 5xdiff
|
11 years ago |
ckolivas
|
d86b6833ef
|
Retain a proportion of shares across block solves when total shares is greater than the 1/5th window
|
11 years ago |
Con Kolivas
|
8e099c8dd1
|
Make the pplns window 1/5 of difficulty
|
11 years ago |
Con Kolivas
|
3102379119
|
Limit client diff drops to halving to prevent idle periods invalidating the calculations
|
11 years ago |
Con Kolivas
|
305165914d
|
Display a rudimentary pplns summary on solving a block to calculate payouts
|
11 years ago |