Con Kolivas
|
e3fef890a0
|
Provide helpers for writing/selecting on a socket
|
11 years ago |
Con Kolivas
|
5e15e80327
|
Provide helpers for waiting on and reading a certain amount on a socket
|
11 years ago |
Con Kolivas
|
a864914b93
|
Remove all yields from unlocking functions since we'll always be running on multicore machines
|
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
|
457f1c17ee
|
Create a separate thread for sending messages to clients, not blocking on any clients not ready for reads
|
11 years ago |
Con Kolivas
|
d1805df4e0
|
Fix limited size of http requests to fit any size block submissions
|
11 years ago |
Con Kolivas
|
1a5aa1874d
|
Be far more generous when waiting on read_socket_line
|
11 years ago |
Con Kolivas
|
7d97ead8aa
|
Return the correct failure type in recv_unix_msg
|
11 years ago |
Con Kolivas
|
fefe13e929
|
Check for no response in the listener thread and allow 1 minute timeouts for receiving messages
|
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
|
e946665023
|
Create stratum receive/send threads that will use their own hashtables and conditionals to do work
|
11 years ago |
Con Kolivas
|
55b8e8424a
|
Add connector process which will process all remote communications
|
11 years ago |
Con Kolivas
|
9e92be3f5e
|
Use a longer timeout for reading a socket line, along with a select timeout on each loop through the read function to increase reliability over network connections
|
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
|
b65c555d87
|
Decode the generator response and store the variables in the stratifier
|
11 years ago |
Con Kolivas
|
1953cd2935
|
Add helper functions for sending/receiving to a process instance
|
11 years ago |
Con Kolivas
|
945c730447
|
Add and test a getbase function of the generator process
|
11 years ago |
Con Kolivas
|
eb041c331f
|
Use a consistent method for sending/receiving messages across unix sockets
|
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
|
8a23b0bb28
|
Write the pid to a temporary file
|
11 years ago |
Con Kolivas
|
4e99e282b9
|
Pass correct size for bind and connect
|
11 years ago |
Con Kolivas
|
4aa122edce
|
Add helper function for opening unix client sockets and cleanly closing and unlinking unix server sockets
|
11 years ago |
Con Kolivas
|
9fdcefc06d
|
Show errno whenever it exists in LOGERR or quit
|
11 years ago |
Con Kolivas
|
2a3e55ec4d
|
Add a helper function for opening a listening unix socket
|
11 years ago |
Con Kolivas
|
1335dade26
|
Use this opportunity to avoid signed warnings with chars by taking void for hex2bin
|
11 years ago |
Con Kolivas
|
a34efdb221
|
Implement base gbt structure storing from bitcoind
|
11 years ago |
Con Kolivas
|
76495c07fc
|
Create helper functions for aligning all memory allocations and checking their return values and make dealloc take a pointer as a macro
|
11 years ago |
Con Kolivas
|
de0a616250
|
Begin gbt parsing file with a validate address function
|
11 years ago |
Con Kolivas
|
0cfe5606e8
|
Http requests will always be small so use the stack array only
|
11 years ago |
Con Kolivas
|
ef456f6cc7
|
Provide a json_rpc_call function for requesting and receiving a json response
|
11 years ago |
Con Kolivas
|
1ee3a8a8a5
|
Create a helper struct connsock for reading data
|
11 years ago |
Con Kolivas
|
2a78efc3ef
|
Minor char and void changes
|
11 years ago |
Con Kolivas
|
6b495a036f
|
Provide a read socket line helper function
|
11 years ago |
Con Kolivas
|
8222166257
|
Provide a write socket function
|
11 years ago |
Con Kolivas
|
3dd6e6bcb5
|
Provide a dealloc function
|
11 years ago |
Con Kolivas
|
724f7ab745
|
Provide a realloc_strcat function
|
11 years ago |
Con Kolivas
|
e9e62442e7
|
Add a generic socket connect function from url and port paramters
|
11 years ago |
Con Kolivas
|
1427ac71ca
|
Add extract sockaddr helper function
|
11 years ago |
Con Kolivas
|
14cda04725
|
Add basic logging warnings to libckpool functions
|
11 years ago |
Con Kolivas
|
e06c72e483
|
Add a helper function for encoding into mime base64
|
11 years ago |
Con Kolivas
|
74d59a6ec3
|
Add various difficulty manipulating helpers to libckpool
|
11 years ago |
Con Kolivas
|
6d87b83701
|
Add locking functions and quitfrom
|
11 years ago |
Con Kolivas
|
484fe86355
|
Add socket tests to libckpool
|
11 years ago |
Con Kolivas
|
e349ec2435
|
Add a slew of timer helper functions to libckpool
|
11 years ago |
Con Kolivas
|
c657764f8f
|
Add various helper functions to libckpool
|
11 years ago |
Con Kolivas
|
b2a333e373
|
Add more defines and begin libckpool with sock_keepalive
|
11 years ago |
Con Kolivas
|
2f961cc489
|
Add basic library creation rules
|
11 years ago |