Con Kolivas
|
e342f768ee
|
Add message on successful failover to backup bitcoind
|
10 years ago |
Con Kolivas
|
5a697b7c66
|
Add a command to validate addresses with the generator
|
10 years ago |
Con Kolivas
|
fd7c115431
|
Drop all clients and reject incoming connections when we fail to talk to the upstream pool in proxy mode
|
10 years ago |
Con Kolivas
|
cfa9824b08
|
Convert uses of json_pack to JSON_CPACK in the generator
|
10 years ago |
Con Kolivas
|
f26273f34f
|
Attempt failover when bitcoind socket is invalidated
|
10 years ago |
Con Kolivas
|
7661f4206b
|
Don't try to submit a block locally in proxy mode if we're missing transactions
|
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
|
f794f4afab
|
Add not no utf8 flag to json we know will only contain ascii
|
10 years ago |
Con Kolivas
|
00f08eed05
|
Make client id use the passthrough id as high bits of a 64bit version of the client id to determine the intrinsic stratum client versus the connected client
|
10 years ago |
Con Kolivas
|
b1ae420fd3
|
Pass through message to relevant processes with separate threads in passthrough mode
|
10 years ago |
Con Kolivas
|
6f12bd51a2
|
Process mining.passthrough as a subclass of proxy and set up handling of clients in preparation for passthrough routing
|
10 years ago |
Con Kolivas
|
c5eb3c75af
|
Allocate the gbt data from within live_server
|
10 years ago |
Con Kolivas
|
d15d19bf3a
|
si should only be dealloced on shutdown
|
10 years ago |
Con Kolivas
|
a40bbda19b
|
Don't leak memory on server reconnect
|
10 years ago |
Con Kolivas
|
ad75ab49d5
|
Avoid userpass deref
|
10 years ago |
Con Kolivas
|
fd45d582d4
|
Add messages for when each process is ready
|
10 years ago |
Con Kolivas
|
baacb6ed54
|
Convert the generator to use cmdmatch
|
10 years ago |
ckolivas
|
2edb2a074d
|
Don't check for EINTR in generator as well
|
11 years ago |
Con Kolivas
|
e40128a2da
|
Allow the loglevel to be changed on the fly
|
11 years ago |
Con Kolivas
|
72df09d650
|
Move the stratifier stratum send and receive queues to generic ckmsg queues
|
11 years ago |
Con Kolivas
|
d96b111653
|
Send a message from the generator to the connector to tell it when it can accept or should reject incoming connections
|
11 years ago |
Con Kolivas
|
221825782b
|
Check for a dead main process in the generator loop
|
11 years ago |
Con Kolivas
|
454d3aec0e
|
Break out of trying for a live proxy if main is dead
|
11 years ago |
Con Kolivas
|
91b3f2b1d9
|
memset the json err variable before use
|
11 years ago |
Con Kolivas
|
19c31ad0c3
|
Fix inappropriate json object stealing
|
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
|
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
|
c4f0d57ae8
|
Fix various memory leaks
|
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
|
601fb8cb34
|
Fix off-by-one error
|
11 years ago |
Con Kolivas
|
3931e7bee9
|
Avoid realloc being required in send_json_msg
|
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
|
ca176c8e1d
|
Fall over to the first working stratum proxy whenever we are disconnected
|
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
|
305165914d
|
Display a rudimentary pplns summary on solving a block to calculate payouts
|
11 years ago |
Con Kolivas
|
0471340fdd
|
Update notify when we have a new subscription and gracefully drop connections from the send process to be detected rapidly in the recv thread
|
11 years ago |
Con Kolivas
|
a50bb29d21
|
Free up old data in place if we are re-subscribing
|
11 years ago |
Con Kolivas
|
9983c96ca0
|
Fix uninitialised variable
|
11 years ago |
Con Kolivas
|
5b7af2f7ff
|
Avoid accessing notify instances outside of the notify lock and avoid leaking memory when we can't match the msgid in proxy_send
|
11 years ago |
Con Kolivas
|
c9f550207f
|
Send one on all process failure codes
|
11 years ago |
Con Kolivas
|
1ac5fec1ee
|
Timeout in 5 seconds on the stratum read socket allowing us to detect closed connections sooner
|
11 years ago |
Con Kolivas
|
acfa048991
|
Clear notifies completely including the ram and discard all notifies on reconnect
|
11 years ago |
Con Kolivas
|
b33e44c0fe
|
Drop all clients when we do an update_subscribe
|
11 years ago |
Con Kolivas
|
65a8b3d9fb
|
Drop proxy connections on failing to submit messages
|
11 years ago |
Con Kolivas
|
f2361b921b
|
Create a hashtable of shares we submit in proxy mode to compare responses for future logging
|
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
|
26cc00b013
|
Implement stratum show_message support
|
11 years ago |