Con Kolivas
|
83eb0821ed
|
Send workinfo sharelog
|
11 years ago |
Con Kolivas
|
1debfd1f45
|
Send auth and share messages to ckdb
|
11 years ago |
Con Kolivas
|
73599ea10d
|
Add a function for sending a message to ckdb and getting its response
|
11 years ago |
Con Kolivas
|
5f5ef3c712
|
Parse and store the socket directory and name for ckdb
|
11 years ago |
kanoi
|
76e43f1130
|
ckdb - allow json real and string array
|
11 years ago |
Con Kolivas
|
c6c5c4f486
|
Add reward to the workinfo database dump
|
11 years ago |
Con Kolivas
|
73b25d8917
|
Fix parameters to match messages we will send to ckdb
|
11 years ago |
kanoi
|
de86a49dec
|
ckdb - handle auths/workers
|
11 years ago |
Con Kolivas
|
6f099e43af
|
Fix missing error code
|
11 years ago |
Con Kolivas
|
4119cfd21e
|
Prepare json fields for exporting stats to ckdb and convert existing temporary displayed logging to json
|
11 years ago |
kanoi
|
515923ead1
|
ckdb adjust initial id defaults and correct table sizes
|
11 years ago |
kanoi
|
561b18a63b
|
ckdb.c correct pgsql modification
|
11 years ago |
kanoi
|
906cf6fc09
|
ckdb table changes/additions
|
11 years ago |
Con Kolivas
|
be92057fa7
|
Write the errno to the share json
|
11 years ago |
Con Kolivas
|
7ff39bf07e
|
Use an enum for various errors and reject reasons for shares and put their strings in libckpool
|
11 years ago |
Con Kolivas
|
14f37c2e09
|
Avoid undefined error on share submission after error
|
11 years ago |
Con Kolivas
|
1ab6280eac
|
Don't try to empty a closed socket
|
11 years ago |
Con Kolivas
|
258c7b0b9c
|
Prepare share error json for database submission as well
|
11 years ago |
Con Kolivas
|
bb83f99a44
|
Convert workinfo id to int64_t to be compatible with database logging and add fields to the json that will be logged
|
11 years ago |
ckolivas
|
7034fc22cf
|
Add fields to share logging
|
11 years ago |
ckolivas
|
637f50aac7
|
Remove unused code commented out
|
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
|
50efbcba5f
|
Fix various warnings
|
11 years ago |
Con Kolivas
|
ebb932691a
|
Allow group id to be set for unix sockets with -g command line parameter
|
11 years ago |
Con Kolivas
|
94bff9c3ab
|
Fix build for ubuntu
|
11 years ago |
kanoi
|
762fe5ebaf
|
ckdb v0.0
|
11 years ago |
Con Kolivas
|
3cfe315b05
|
Fix locking error and remove entries from jp linked lists
|
11 years ago |
ckolivas
|
783f527795
|
Fix initial notify response
|
11 years ago |
Con Kolivas
|
7055f3b5d5
|
Create separate threads for processing share and authorisation submissions since they will be waiting for dtabase responses
|
11 years ago |
Con Kolivas
|
0ed07950e2
|
Create the basic authorise request keys we'll send to the database
|
11 years ago |
Con Kolivas
|
4907824168
|
id_val should be a duplicated json object
|
11 years ago |
Con Kolivas
|
fa8b0b0b6f
|
Unnecessary sleep now
|
11 years ago |
Con Kolivas
|
badfb12da2
|
Do not try to send messages from the main signal handler to the children processes since they'll detect main disappearing and do not try to pthread join a dead thread
|
11 years ago |
Con Kolivas
|
221825782b
|
Check for a dead main process in the generator loop
|
11 years ago |
Con Kolivas
|
8d4ac5fe55
|
Include more relevant information in the workinfo we'll be sending to ckdb
|
11 years ago |
Con Kolivas
|
5a8e63e7a4
|
Simplify createdate time to secs,nsecs
|
11 years ago |
Con Kolivas
|
1c452dcf5b
|
Use stackspace for the createdate hex string
|
11 years ago |
Con Kolivas
|
1007e20035
|
Create a json string based on parameters we'll be sending to the database on every work update to be submitted once it's hooked in
|
11 years ago |
Con Kolivas
|
82cd47ceaa
|
Store workbase generation time as a ts_t
|
11 years ago |
Con Kolivas
|
2b64025b4d
|
Split our generated coinbase1 into gbt supplied and our own generated substrings and add nanoseconds to it to make each coinbase1 likely unique for multiple pool instances
|
11 years ago |
Con Kolivas
|
68eff4d6a1
|
Don't unlink the unix sockets to make it easier for processes to determine they are not being listened on
|
11 years ago |
Con Kolivas
|
ca805e44f0
|
Provide a getfd function for getting the main connector file descriptor for seamless restarts
|
11 years ago |
Con Kolivas
|
6c4abba93c
|
Provide a way to send binary data over unix sockets
|
11 years ago |
Con Kolivas
|
20e056c4a1
|
Close sock in connector loop after we've finished using it
|
11 years ago |
Con Kolivas
|
4ae647b1dd
|
Empty the buffer on empty socket
|
11 years ago |
Con Kolivas
|
63ccad9105
|
Remove interrupted retry in connector
|
11 years ago |
Con Kolivas
|
76921ce29f
|
Fix end of message parsing logic fail
|
11 years ago |
Con Kolivas
|
a9c4c1690d
|
Allow select to modify the timeout instead of it being reset on each pass through the read loop
|
11 years ago |
Con Kolivas
|
dbffb29300
|
Append the null byte to the buffer before searching for the end of message marker
|
11 years ago |
Con Kolivas
|
cc358038dd
|
Don't allocate extra memory in case it generates a false end of message marker
|
11 years ago |