Con Kolivas
|
c8af7e3a91
|
Submit remotely found blocks locally at the master pool in addition to sending their details to ckdb.
|
8 years ago |
Con Kolivas
|
59bc62153d
|
Free log buffer as well.
|
8 years ago |
Con Kolivas
|
1ad50bb1d8
|
Make console logging use ckmsgq for logging to be a non-blocking function.
|
8 years ago |
Con Kolivas
|
b81db03ac7
|
Close stratifier umsg socket in single place.
|
8 years ago |
Con Kolivas
|
52fc524f07
|
Remove remaining users of send_procmsg from ckpool.c
|
8 years ago |
Con Kolivas
|
5faa21ffba
|
Remove use of send_recv_proc entirely between threads.
|
8 years ago |
Con Kolivas
|
7677ee71e2
|
Add message to console for known stale share being submitted as possible block solve.
|
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
|
854a5710fc
|
Remove now unused generator message priority.
|
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
|
97b83028ae
|
Use a single ckmsgq for all calls to update_base, avoiding recruiting threads for each call and guaranteeing serialised calls.
|
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
|
1688b4f5d7
|
Remove use of send_recv_proc internally from ckpool.c
|
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
|
c81213a2b8
|
Rename poolinstance to master pool on all remote messages.
|
8 years ago |
Con Kolivas
|
b7b2f1943e
|
Use the primary function name that calls generate_workinfo in the ckdb field.
|
8 years ago |
Con Kolivas
|
c3c288ed06
|
Rename pool instance in workerstats to match primary pool (for now?)
|
8 years ago |
Con Kolivas
|
e9f7074483
|
Upstream workerstats from remote trusted servers.
|
8 years ago |
Con Kolivas
|
22d54032c3
|
Remap workinfo ids on way in, not out of remotes.
|
8 years ago |
Con Kolivas
|
30c86b5c25
|
Make remote mode mandatory standalone.
|
8 years ago |
Con Kolivas
|
2066bf199d
|
Remove various unused variables.
|
8 years ago |
Con Kolivas
|
05a470a8d3
|
Remap workinfo id for remote submitted blocks as well.
|
8 years ago |
Con Kolivas
|
8d1ab74851
|
Only update sockaddr and port if they've changed. in extract_sockaddr
|
8 years ago |
Con Kolivas
|
347fb6b20e
|
Merge branch 'master' of bitbucket.org:ckolivas/ckpool
|
8 years ago |
Con Kolivas
|
c6812b67ec
|
Only give remote block message on console once.
|
8 years ago |
kanoi
|
011581457c
|
ckdb - allow json beakdown's last field to be an intransient number
|
8 years ago |
Con Kolivas
|
fb64b572b0
|
Upstream block submit before it's confirmed as well in remote trusted mode.
|
8 years ago |
Con Kolivas
|
512ed7543b
|
Use the same workinfo generation code for remote and local workinfos.
|
8 years ago |
Con Kolivas
|
6fd92bea69
|
Remove method from remote workinfo before submitting to ckdb.
|
8 years ago |
Con Kolivas
|
51ab4af26f
|
Send remote workinfos to ckdb.
|
8 years ago |
Con Kolivas
|
5a0c648b59
|
Upstream block solve information on remote trusted servers to be added to ckdb.
|
8 years ago |
Con Kolivas
|
aa121dbce2
|
Upstream, parse and send to ckdb trusted remote server share errors.
|
8 years ago |
Con Kolivas
|
1eb058a0e6
|
Use a separate hashlist and mapped id for remote workinfos and remap it when receiving a share, submitting it to ckdb.
|
8 years ago |
Con Kolivas
|
96a3283020
|
Submit remote parsed shares to ckdb.
|
8 years ago |
Con Kolivas
|
a5f6a8ca32
|
Reuse add_node_txn instead of a separate parse_remote_txn to avoid submitting transactions if we've already seen them.
|
8 years ago |
Con Kolivas
|
17d9c837d1
|
Parse and act upon upstream auth responses in trusted mode.
|
8 years ago |
Con Kolivas
|
eab4762c34
|
Rename remote trusted server's bool to trusted.
|
8 years ago |
Con Kolivas
|
718c2dcadf
|
Loop when getting EAI_AGAIN error with getaddrinfo.
|
8 years ago |
Con Kolivas
|
5bf2d387ec
|
Forward auths to upstream pool in remote trusted mode, with a view to checking responses and using that instead of local auth.
|
8 years ago |
Con Kolivas
|
05c1074d1b
|
Add console message when remote trusted server disconnects, displaying IP for disconnected passthroughs as well as id.
|
8 years ago |
Con Kolivas
|
e011d17321
|
Upstream messages directly from stratifier to connector in trusted mode.
|
8 years ago |
Con Kolivas
|
7bc07d6c07
|
Set ip and port to NULL in _btc_io to cope with reused free in extract_sockaddr
|
8 years ago |
Con Kolivas
|
d543888404
|
Send workinfos from remote trusted nodes upstream, giving them a new local id to maintain sequential workinfo ids for ckdb compatibility.
|
8 years ago |
Con Kolivas
|
d9e5cf03f1
|
Send transactions up and downstream in trusted mode to be submitted to the local btcd.
|
8 years ago |
Con Kolivas
|
2201258b2b
|
Make sure we close sockets to subproxies when deleting them.
|
8 years ago |
Con Kolivas
|
c7d8b774db
|
Avoid dereference crash on startup with instantly connecting miners.
|
8 years ago |
Con Kolivas
|
b98ac8a2f0
|
Change starting session id on each startup.
|
8 years ago |