Con Kolivas
|
96fbfa56bf
|
Make new logdirs mod 750
|
11 years ago |
Con Kolivas
|
4e86d66a5b
|
Leave enough room in the allocated ram for logdir for the null byte
|
11 years ago |
Con Kolivas
|
82e7306da4
|
Diff is a double in shares
|
11 years ago |
Con Kolivas
|
31195128f6
|
Fix one uninitialised variable
|
11 years ago |
Con Kolivas
|
ddf7703e92
|
Add workaround for fast connecting miners
|
11 years ago |
Con Kolivas
|
f6c4e49f16
|
Send userstats to ckdb in a staggered fashion every 10 minutes
|
11 years ago |
Con Kolivas
|
7cee5962c7
|
Rationalise pool stats to only show active workers and users accurately
|
11 years ago |
Con Kolivas
|
14b965c67a
|
Change authentication response check from added to ok
|
11 years ago |
Con Kolivas
|
91e2b3c942
|
Remove the method from the command we send to ckdb and put it at the beginning of the message
|
11 years ago |
Con Kolivas
|
645b94c949
|
Log all ckdb requests to the rotating ckdb log
|
11 years ago |
Con Kolivas
|
09f0586243
|
Add all messages that we don't need to wait for the ckdb response to a separate thread message queue and cache them if ckdb is unresponsive
|
11 years ago |
Con Kolivas
|
8798f08622
|
Make an array for the different ids we send to ckdb
|
11 years ago |
Con Kolivas
|
9d099060d3
|
Clean up auth response handling and drop regular ckdb responses to verbose logging
|
11 years ago |
Con Kolivas
|
1682d8e0f3
|
Cope with empty transactions in json encoding
|
11 years ago |
Con Kolivas
|
1af6eda2b1
|
Remove all concept of accepted/rejected shares per user from stratifier
|
11 years ago |
Con Kolivas
|
7d16041dd1
|
Remove any concept of round shares or pplns from stratifier
|
11 years ago |
Con Kolivas
|
0ce603c9e5
|
Change message to ckdb to id.
|
11 years ago |
Con Kolivas
|
333d05fb3a
|
Create a json sending wrapper for ckdb and fix int64 usage in packed json
|
11 years ago |
Con Kolivas
|
62f9f7b300
|
Do basic authorisation, duplicating the required 2nd UID
|
11 years ago |
Con Kolivas
|
9111c4fdf9
|
Send stats to ckdb
|
11 years ago |
Con Kolivas
|
83eb0821ed
|
Send workinfo sharelog
|
11 years ago |
Con Kolivas
|
1debfd1f45
|
Send auth and share messages to ckdb
|
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 |
Con Kolivas
|
4119cfd21e
|
Prepare json fields for exporting stats to ckdb and convert existing temporary displayed logging to json
|
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
|
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
|
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
|
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
|
942bbe2e6c
|
Fix max sized coinbase that leads to stack corruption with large coinbase2
|
11 years ago |
Con Kolivas
|
cad9282c22
|
Avoid one htobe conversion using hex2bin
|
11 years ago |
Con Kolivas
|
19c31ad0c3
|
Fix inappropriate json object stealing
|
11 years ago |
Con Kolivas
|
f62e344ff8
|
Add a sanity check for tdiffs to prevent negative values
|
11 years ago |
Con Kolivas
|
0623410889
|
Ping main on looking for the generator response in the stratifier to know if we've died before ever starting
|
11 years ago |