Con Kolivas
|
11cf360d9b
|
Remove now unnecessary intermediate steps converting gbtbase to workbase by making them one.
|
8 years ago |
Con Kolivas
|
8a66c4811b
|
Call precious block on all submitted blocks.
|
8 years ago |
Con Kolivas
|
6700c0fae0
|
Make userproxy_recv take same precautions with hangups while reading as proxy_recv.
|
8 years ago |
Con Kolivas
|
12a134c66b
|
Check for !ret set before checking errno as it may not be set and cached from a previous error.
|
8 years ago |
Con Kolivas
|
d6a190b014
|
Set message to false after parsing.
|
8 years ago |
Con Kolivas
|
6587ac2817
|
Process all hangups after all messages in proxy_recv.
|
8 years ago |
Con Kolivas
|
58711dd729
|
Remove blockhash from submit_block message to generator.
|
8 years ago |
Con Kolivas
|
9d8c45930b
|
Check inconclusive block submits against their height hash to see if they were already submitted via other means.
|
8 years ago |
Con Kolivas
|
cd9762d875
|
Handle the response from generator block submit directly, avoiding the need for a complicated list lookup of block finds.
|
8 years ago |
Con Kolivas
|
039efd9266
|
Correctly initialise gbtbase to 0.
|
8 years ago |
Con Kolivas
|
07d57d683d
|
Prevent passthrough and node etc. failure in generator at startup due to proxy recruit change.
|
8 years ago |
Con Kolivas
|
7f19552ee6
|
When we cannot find a transaction to rebuild_txns, try to get the data from our bitcoind and if it's not available make a transaction request of the upstream or remote pool for it - response yet to be implemented.
|
8 years ago |
Con Kolivas
|
4cd432475d
|
Decrease the parent's recruit count after sending the stratifier the new subscribe so it can get an accurate headroom count before requesting more proxies.
|
8 years ago |
Con Kolivas
|
5faa21ffba
|
Remove use of send_recv_proc entirely between threads.
|
8 years ago |
Con Kolivas
|
0aebd0256f
|
Submit blocks and retrieve responses directly between stratifier and generator.
|
8 years ago |
Con Kolivas
|
72e2763594
|
Use a common start ping mechanism between threads.
|
8 years ago |
Con Kolivas
|
44af2dcbb7
|
There is no need to test for cs dereferencing since it cannot.
|
8 years ago |
Con Kolivas
|
00026e277a
|
Test address directly by calling generator from stratifier without messaging.
|
8 years ago |
Con Kolivas
|
6af2c10103
|
Call the generator directly from the stratifier for getbest calls instead of via messaging.
|
8 years ago |
Con Kolivas
|
5980b6d381
|
Make genbase calls to generator happen directly from stratifier instead of via unix sockets.
|
8 years ago |
Con Kolivas
|
3dfe179605
|
Deprecate send_proc by adding messages to other proc instances directly to their message queues for now.
|
8 years ago |
Con Kolivas
|
2201258b2b
|
Make sure we close sockets to subproxies when deleting them.
|
8 years ago |
Con Kolivas
|
2ec6736f99
|
Calculate hashrate in diff shares per second per proxy by the generator and return it with proxystats.
|
8 years ago |
Con Kolivas
|
510e130490
|
Handle epoll hangups in userproxy_recv even if epollin is set, but after reading any data available, and do not skip processing if proxy is not marked alive yet.
|
8 years ago |
Con Kolivas
|
8beeb27d94
|
Fix memory leaks in generator parsing of commands.
|
8 years ago |
Con Kolivas
|
9f31d21f5e
|
Fix memleak in parse_delproxy.
|
8 years ago |
Con Kolivas
|
411076fb96
|
Fix minor memleak in submit_share
|
8 years ago |
Con Kolivas
|
891faa0b93
|
Drop messages going to dead proxies.
|
8 years ago |
Con Kolivas
|
88d36209f3
|
Fix propagation of global proxy passwords
|
8 years ago |
Con Kolivas
|
a8688aece3
|
Don't hang up immediately on epollhup if we still have epollin events
|
8 years ago |
Con Kolivas
|
44d6029e54
|
Handle upstream pools sending messages and then closing sockets immediately afterwards (eg after a redirect.)
|
8 years ago |
Con Kolivas
|
ddd58fa778
|
Make nodes submit upstream transactions to the local btcd to speed up blocksolve processing
|
8 years ago |
Con Kolivas
|
ee17b24b9b
|
Differentiate a dead proxy from a deleted one
|
9 years ago |
Con Kolivas
|
a5cb533924
|
Fix crash with proxy that has no subproxies
|
9 years ago |
Con Kolivas
|
d2a8f02b92
|
Cope with NULL pass in add_userproxy
|
9 years ago |
Con Kolivas
|
e148e76d61
|
Name and detach server watchdog thread
|
9 years ago |
Con Kolivas
|
fd680659ee
|
Generator loop should never return
|
9 years ago |
Con Kolivas
|
31434bc0b9
|
Create unix receivers during child setup
|
9 years ago |
Con Kolivas
|
cec260e3fa
|
Submit upstream shares as json directly to generator
|
9 years ago |
Con Kolivas
|
0d8746249e
|
Pass the generator json structures avoiding duplicating codec
|
9 years ago |
Con Kolivas
|
3c965946e7
|
Replace unnecessary multiprocess model with simpler thread based model for each component for future removal of duplication of work when communicating between threads
|
9 years ago |
Con Kolivas
|
6c8f6bb93d
|
Move private data to different names
|
9 years ago |
Con Kolivas
|
fbbed17d7a
|
Roll back to M22
|
9 years ago |
Con Kolivas
|
26f1173e74
|
Change upstream submit to use bkeys, sending hash and data separately WIP
|
9 years ago |
ckolivas
|
e223264717
|
Include bkey header length in forward_passthrough_msg
|
9 years ago |
ckolivas
|
4805bb410c
|
Append bkeys in passthrough_recv messages
|
9 years ago |
Con Kolivas
|
6e70908b30
|
Set a bkey bool on connecting remote/node/passthroughs flagging them capable of receiving bkey data
|
9 years ago |
Con Kolivas
|
9f23616dfc
|
Generically set send/recv buffers larger on passthroughs
|
9 years ago |
Con Kolivas
|
e5348ad6f2
|
Improve block messages
|
9 years ago |
Con Kolivas
|
96e6f83d57
|
Allow non EOL data to be stored in read_socket_line
|
9 years ago |