Repository navigation
Conversation
A pooled gateway used to treat any coinbaser answer, including an empty one, as finished and then publish the local one-output coinbase. While the pool link is up, a result under 2 outputs now waits 500ms and asks again. Solo, when the pool link is down, still publishes that one output.
datum.coinbaser_refetch controls the short-split re-ask. It defaults to true. Set it false to publish the one-output coinbase and stop asking until the next job. The pool link being down still publishes that one-output coinbase either way.
|
Seems like the pool just shouldn't send them? What's the goal here? |
|
If the pool has a split of the payment outputs, and the Gateway has not yet updated to match. The gateway will make a block that doesnt pay the pools coinbaser outputs. |
|
a note, i made the default true, it could be made false.. then nothing changes.. and would be the GW choice to use or not. |
|
this will not replace the job, a replace feature with clean_jobs=true is required for that, it only ensures that the GW has the split. True effectiveness requires both, but is not required, as this can still help on its own. |
|
If you answer coinbaser, it has the split... |
|
yes IF it answers, but... this just tells its ask again...and again until it gets an answer. |
|
Sounds like it should just act when it gets the answer it already asked for... |
|
except it ignores that answer, if it receives it after 5 seconds(this may also be be too long and played with lowering it as well), unit it rejects a new job. If the setting is default (then 40s) then an addition 35 can be spend working on a pool-only coinbaser payout. Despite the fact it received the new split at at 5.05 seconds.. Both of these setting maybe if we dont like wat change the default behaviour be turned into config options? This would allow a GW user to tune a more aggressive cycle, to avoid pool rejects of bad coinbaser split shares. As well as improve the GW's ability to produce less pool-only payout blocks. requiring the pool to custody rewards until a manual adjustment can be made. |
|
real life failure scenario (might require its on fix)
So another fix COULD be if no coinbase split, dont do the 40s work, just ask for new job after 5 seconds? |
A pooled gateway used to treat any coinbaser answer, including an empty one, as finished and then publish the local one-output coinbase. While the pool link is up, a result under 2 outputs now waits 500ms rather than 5000ms and asks again. Solo, when the pool link is down, still publishes that one output.