Closed bonifacio123 closed 3 years ago
The stale shares are real, you can tell by the sequence of logs, new work was received after the share was submitted but before it was replied. That's just bad luck but high latency can increase stales. It was stale because it was an old job, note the job id.
The block solved issue is more complicated. The share diff is shown to be higher than the net diff but not by much. It could be a math precision issue. In stratum the 256 bit hash target is calculated from an encoded 32 bit value called nbits. This results in imprecise hash targets.
There's no way to verify without knowing the actual hash target used by the pool to calculate nbits for stratum then converted back to a hash target by the miner.
You can add -D to get more data including the actual share hash and the target used to verify it but I don't see a lot of value since we already know the target is imprecise.
With enough samples of blocks solved you can quantify the error.
The same issue can occur with simple shares. Imprecise targetting could result in false positives (low dif reject) or false negatives (valid share silently discarded). These can be audited by checking for low diff rejects and the lowest accepted share diff which should converge to the target diff over time.
Edit: The lost hash rate is because more shares were submitted than accepted during the sample period.
I suggest changing the title to something more specific. It will help for others searching the issues.
I'm making a change to how net diff is calculated to use long double (float80) instead of double (float64). This should reduce accumulated error from serial rounding. The FP unit uses 80 bits internallly but rounds to 64 bits for double. Using long double for all variables used in the calculation retains the full 80 bits with one rounding at the end. The net result is, hopefully, increased precision with the target calculation.
Thank you
I'm not sure it's a precision issue. I submitted a share in the same pool with a diff 0f .0006 with a net diff of .0004 that wasn't recognized as solving a block by the pool.
It could be a pool issue or specific to that algo. It' s going to be difficult to solve because it isn't easy to reproduce. I'm watching for any BLOCKS SOLVED to collect as much info as possible such as the share diff, block height, net_diff, and info from the pool about the block. Maybe a pattern will emerge in time. So far .0007 was accepted as a block. The net diff has gone up so that may make a difference also.
It's easy to spot from the miner, Anytime a block is solved it should be immediately followed by a new block. If not the pool didn't consider the block solved.
That share was way higher than the net diff, too much to be a precision error. I'm beginning to suspect something with the pool or coin. At Zergpool/XBTX the diff is often shown as zero, If you look at the coin history the diff of the solution doesn't look right. I noticed the zero diff at Zpool too so maybe its an issue with the coin.
I'm not going to get too excited about it unless it's reported with another coin.
Bitcoin Subsidium (scryptn2) | 0 XBTX | 25.228 | 1 266 245 | 1m ago | New | ||
---|---|---|---|---|---|---|---|
Bitcoin Subsidium (scryptn2) | 5 XBTX | 0 | 1 266 244 | 3m ago | Immature (1/110) | ||
Bitcoin Subsidium (scryptn2) | 5 XBTX | 0 | 1 266 243 | 5m ago | Immature (1/110) | ||
Bitcoin Subsidium (scryptn2) | 5 XBTX | 0 | 1 266 239 | 7m ago | party | Immature (1/110) | |
Bitcoin Subsidium (scryptn2) | 5 XBTX | 0 | 1 266 238 | 8m ago | party | Immature (1/110) | |
Bitcoin Subsidium (scryptn2) | 5 XBTX | 0 | 1 266 236 | 11m ago | Immature (1/110) | ||
Bitcoin Subsidium (scryptn2) | 5.001 XBTX | 0 | 1 266 235 | 12m ago | Immature (2/110) | ||
Bitcoin Subsidium (scryptn2) | 5 XBTX |
Bitcoin Subsidium (XBTX) | 2m ago | 1266245 | 25.228322 | 34.262528 | 3LhtD8Y... | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Bitcoin Subsidium (XBTX) | 4m ago | 1266244 | 5.00031049 | 226 % | Immature (1/110) | 0.000385717527 | 101.546072 | M8C1jQR... | 91441f79632faa4b325887ed861cbe7dab6edde46e71ef30b507bda0221b94b1 | ||
Bitcoin Subsidium (XBTX) | 6m ago | 1266243 | 5 | 353 % | Immature (1/110) | 0.000387084039 | 26.196269 | 17cUGVb... | 3d28949eb1c943f416d3ca17366d7da970da0135eecf4f061e8e9177d069372a | ||
Bitcoin Subsidium (XBTX) | 8m ago | 1266239 | 5 | party | 49 % | Immature (1/110) | 0.000385236915 | 54.178924 | 3DMhZ2X... | 497f01d8a60f514ce86ab68f5eb7178f4e11fa8719d3a59744f0162d8f1e0893 | |
Bitcoin Subsidium (XBTX) | 9m ago | 1266238 | 5 | party | 111 % | Immature (1/110) | 0.000381265992 | 344.571335 | bc1qttu... | c4e3c6cd842c27873989c22b936e711c6b28d36350e21523fd112f20923973a0 | |
Bitcoin Subsidium (XBTX) | 12m ago | 1266236 | 5 | 189 % | Immature (1/110) | 0.000378147042 | 51.997509 | ltc1qjx... | 507c5148fc6442d75b87723cc33fae406fec0aa043a9617e250d9ed60bbdbad7 | ||
Bitcoin Subsidium (XBTX) | 13m ago | 1266235 | 5.00092043 | 200 % | Immature (2/110) | 0.000380489641 | 30.844153 | bc1qqet... | 6bf7d7615486543417bb5333f79f43993ddf29ec943b05f003cf054c3ae9f0e6 |
The underlying question is whether miners are getting cheated for solved blocks. This can be tested by comparing the block TTF with the actual rate blocks are found. The longer the time the more statistically valid the result. If there is a negative bias we may be losing blocks.
Thanks for looking at this JayDDee - I will close this issue.
Hello, I'm not sure if this is a pool issue or something else. Running on an Intel i7-11700K. Seeing lots of stale shares and also seeing blocks solved that the pool isn't showing as solved.
Startup parameters
Here's an example of a resolved block that the pool didn't see. I don't see is a 6427 Submitted log entry:
An example of stale shares - is this a share from a previous block?
What might cause a loss of hash rate?
Thank you