Con Kolivas
|
5a697b7c66
|
Add a command to validate addresses with the generator
|
11 years ago |
Con Kolivas
|
fd7c115431
|
Drop all clients and reject incoming connections when we fail to talk to the upstream pool in proxy mode
|
11 years ago |
Con Kolivas
|
97b03d016f
|
Make all file opens close on exec to prevent leaving files open on existing and possible future execves
|
11 years ago |
Con Kolivas
|
8ca6d871e8
|
The secondary user id is unique only per user instance so move field there and reuse, fixing preauth scenario
|
11 years ago |
Con Kolivas
|
159a6b2e7c
|
Convert uses of json_pack in the stratifier to the JSON_CPACK helper
|
11 years ago |
Con Kolivas
|
3a66955ae6
|
Add a preauth field for authorisations
|
11 years ago |
Con Kolivas
|
7661f4206b
|
Don't try to submit a block locally in proxy mode if we're missing transactions
|
11 years ago |
Con Kolivas
|
5f6b5e0abb
|
Allow a btcd to be used to submit blocks to locally in proxy mode to help perpetuate block solves more rapidly
|
11 years ago |
Con Kolivas
|
2a03942cbc
|
Automatically authorise clients if a client with the same username has already been authorised while ckdb is offline and queue the auth message to be sent when ckdb comes back online
|
11 years ago |
Con Kolivas
|
f794f4afab
|
Add not no utf8 flag to json we know will only contain ascii
|
11 years ago |
Con Kolivas
|
31221dd0b4
|
Clamp max diff in proxy mode to the current upstream pool's diff
|
11 years ago |
Con Kolivas
|
5ef0829c74
|
Don't bother counting share diff until it matches the client set diff and don't reproduce the diff change job id test already performed when determining diff in parse_submit
|
11 years ago |
Con Kolivas
|
03ba50a3e2
|
Workbase_id should be updated even in proxy mode or diff will only change once
|
11 years ago |
Con Kolivas
|
a95c259839
|
Clamp optimal diff after all calculations are made and store min and start diff as long integers
|
11 years ago |
Con Kolivas
|
90782542f8
|
Change attempted block submission to 99%+ only
|
11 years ago |
Con Kolivas
|
55f8d2d2dd
|
Use int64_t lookups in uthash and fix some cosmetic errors with integers
|
11 years ago |
Con Kolivas
|
c4fae526fd
|
Make share logging optional and off by default
|
11 years ago |
Con Kolivas
|
00f08eed05
|
Make client id use the passthrough id as high bits of a 64bit version of the client id to determine the intrinsic stratum client versus the connected client
|
11 years ago |
Con Kolivas
|
6f12bd51a2
|
Process mining.passthrough as a subclass of proxy and set up handling of clients in preparation for passthrough routing
|
11 years ago |
Con Kolivas
|
1bc8c20ef7
|
Give a more descriptive authorisation error message to miners when the database is offline
|
11 years ago |
Con Kolivas
|
c11b2c11f3
|
Log ckdb messages before adding them to the queue of messages to send to it to ensure messages continue to be logged as generated even if they're queued to be sent to ckdb
|
11 years ago |
Con Kolivas
|
6d99f89416
|
Allow workernames with either . or _ separators
|
11 years ago |
Con Kolivas
|
63a8de475c
|
Sleep before starting stats to avoid divide by zero
|
11 years ago |
Con Kolivas
|
cc38bb51df
|
Show the blockhash in test_blocksolve in the same format as the prevhash returned by getblocktemplate
|
11 years ago |
Con Kolivas
|
713509823f
|
Rate limit the throbber to one update per second
|
11 years ago |
Con Kolivas
|
83d2da1d70
|
Use a deep copy for stratum notify of the merkle array
|
11 years ago |
Con Kolivas
|
d5be610d40
|
Fix harmless valgrind warning
|
11 years ago |
Con Kolivas
|
d253a97e79
|
Fix null txn hashes being passed to ckdb in proxy mode
|
11 years ago |
Con Kolivas
|
eff11a1024
|
Avoid trying to send a message to ckdb if it's invalid json and identify where it came from
|
11 years ago |
Con Kolivas
|
5fc1aa28a1
|
Add a throbber to the stratifier to show activity
|
11 years ago |
Con Kolivas
|
fd45d582d4
|
Add messages for when each process is ready
|
11 years ago |
Con Kolivas
|
973571c70c
|
Only show queueing message to ckdb once and display resumed message
|
11 years ago |
Con Kolivas
|
1e0c1b4e34
|
Don't use safecmp for blockupdate since a null buf can be passed on
|
11 years ago |
Con Kolivas
|
772315e417
|
Use the cmdmatch function for commands in the stratifier
|
11 years ago |
Con Kolivas
|
82313ce227
|
Use the safecmp function in the stratifier
|
11 years ago |
Con Kolivas
|
cf51e5c14a
|
Don't parse shares from now unauthorised clients
|
11 years ago |
Con Kolivas
|
81b20d1376
|
Deauthorise clients when disconnecting them
|
11 years ago |
Con Kolivas
|
dae310117f
|
Use the serverurl for the createinet value to ckdb when it is set
|
11 years ago |
Con Kolivas
|
a8eb9357ee
|
Only update stats on authorised clients
|
11 years ago |
Con Kolivas
|
200b9bfbc1
|
Fix user count logic
|
11 years ago |
Con Kolivas
|
0831e07555
|
Fix incorrect interval being passed to hashmeter stats
|
11 years ago |
Con Kolivas
|
16e4eb5f83
|
Don't attempt to generate stats for clients that are not yet authorised
|
11 years ago |
Con Kolivas
|
af0acbeb6a
|
Set useragent to blank string when no array fields are filled in for stratum
|
11 years ago |
Con Kolivas
|
1f381420ce
|
Implement the standalone mode, removing now excessive per-user sharelog
|
11 years ago |
Con Kolivas
|
de5c5e4a39
|
Set the last diff change variable to the time of the first received share
|
11 years ago |
Con Kolivas
|
1a4b3ca2a1
|
Remove duplicated wrong 5 min hashrate code in add_submit
|
11 years ago |
Con Kolivas
|
a140a8edeb
|
Set useragent to a zero length string if none is detected
|
11 years ago |
ckolivas
|
a9e33c354a
|
Pass the connector IP address to the stratifier to be stored in the client data and passed to ckdb on auth
|
11 years ago |
ckolivas
|
0fadee1520
|
Send idle status of workers once to ckdb with userstats and then stop sending their stats
|
11 years ago |
ckolivas
|
cd63124613
|
Send ageworkinfo message to ckdb when we remove them from our list
|
11 years ago |