122 Commits (c8268c3ef1763aadfeab3074b3f89b4daffa9205)

Author SHA1 Message Date
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