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 |