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 |
Con Kolivas
|
a11d64f120
|
Parse the send_version request an return package/version
|
11 years ago |
Con Kolivas
|
e36e5ce010
|
Submit the actual shares sent to the proxy upstream
|
11 years ago |
Con Kolivas
|
d265e51664
|
Create a send processing queue in the proxy generator and receive shares that meet the parent pool target
|
11 years ago |
Con Kolivas
|
6d11b8b546
|
Keep track of the most current stratum notification and age notifications older than 10 mins old
|
11 years ago |
Con Kolivas
|
72e6026052
|
Fix various coinbase assembly issues
|
11 years ago |
Con Kolivas
|
db1b2b45a4
|
Parse the mining difficulty when proxying and store it in the stratifier as the current workbase diff. Update notify and diff in stratifier when a change is deteced.
|
11 years ago |
Con Kolivas
|
faf87ceeee
|
Store the proxy base subscribe details in a struct protected by the workbase lock
|
11 years ago |
Con Kolivas
|
860abc7903
|
Fail in proxy mode if the nonce2 length is too small to successfully proxy
|
11 years ago |
Con Kolivas
|
fae9983fd7
|
Inform the stratifier process of the data in subscribe and notify from the generator proxy
|
11 years ago |
Con Kolivas
|
54883b37fd
|
Make read_socket_line accept a timeout in seconds
|
11 years ago |
Con Kolivas
|
dacb261ad5
|
Store the proxy method results in a unique struct and add it to a hashtable of notifications
|
11 years ago |
Con Kolivas
|
a879f43f7a
|
Parse stratum proxy responses till we get the authorisation response
|
11 years ago |
Con Kolivas
|
0f4dff3144
|
Parse a proxy subscribe response as flexibly as possible
|
11 years ago |
Con Kolivas
|
6ac33e57ac
|
Create initial stratum proxy connection
|
11 years ago |
Con Kolivas
|
8af64746bf
|
Change config format to take url auth and pass for both btcd and proxy and choose which to use in the generator based on proxy bool
|
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
|
8631f33809
|
Accept ping requests on the various unix sockets
|
11 years ago |
Con Kolivas
|
7ab22aa1ec
|
Consider other modes of generator failure terminal and shut down
|
11 years ago |
Con Kolivas
|
a615b56d76
|
Install signal handlers which push the signal to the top process which will try to gracefully shut down each child process
|
11 years ago |
Con Kolivas
|
6a753c149d
|
Clean up block solve notification and messages, sending a work restart immediately
|
11 years ago |
Con Kolivas
|
0b08bbb43e
|
Add submission of blocksolves
|
11 years ago |
Con Kolivas
|
91854f81ec
|
Cope with failure to get a single block template more gracefully
|
11 years ago |
Con Kolivas
|
9db3db3b8b
|
Enable keepalive and nodelay for remote clients and remove mistaken setting of noblock, and add reuseaddr option to sockets
|
11 years ago |
Con Kolivas
|
4ab9120e61
|
Handle failed generator startup as a fatal startup, sending listener a shutdown message and adding shutdown parsing
|
11 years ago |
Con Kolivas
|
2b1f9510cf
|
Add a block update thread that polls bitcoind regularly for the latest hash and handle failed json requests as closed sockets
|
11 years ago |
Con Kolivas
|
8f0958bbfb
|
Add some default parameters to make polling intervals configurable
|
11 years ago |
Con Kolivas
|
3cd82a5dd1
|
Validate pool address on starting generator
|
11 years ago |
Con Kolivas
|
945c730447
|
Add and test a getbase function of the generator process
|
11 years ago |
Con Kolivas
|
6f679e1cf4
|
Create the main read parse loop for the generator and send it a test message
|
11 years ago |
Con Kolivas
|
0da6336602
|
Fix gbt base generation, be more flexible with reading lines from socket, and add gbtbase clearing function
|
11 years ago |
Con Kolivas
|
4c4246c8d4
|
Create basic connsock data and connect to socket in generator
|
11 years ago |
Con Kolivas
|
194c8e42f3
|
Begin parsing of a config file, storing btcd url, auth and pass
|
11 years ago |
Con Kolivas
|
10c2b48b4f
|
Rename processes and change generator function to suit pi model
|
11 years ago |
Con Kolivas
|
9544d280e3
|
Launch generator process and abstract out more of the per process files created
|
11 years ago |