Just want to update everyone on some pool updates that were mostly prompted by things I noticed after switching our XMR pool to supportxmr.com.
Error: Unauthenticated
If you've occasionally seen an "Unauthenticated" error in your miner, that's coming from supportxmr, and based on my observation, it appears that the XMR pool is forgetting about your miner, possibly because it hasn't submitted a share in a while. The problem is, when supportxmr forgets your miner, they still send new jobs and keep the connection open, so you keep mining away, wasting hash power because the next share you find doesn't get credited by either the XMR or BBP pool. The BBP pool still checks to see if solves a BBP block, but the shares won't get credited because we rely on share validation from the XMR pool.
To mitigate this, our pool now has a share timeout of around 7 minutes, so if it's been 7 minutes since we got a share from your miner, we'll disconnect it. XMRig should reconnect within seconds and resume mining. This seems to have eliminated 95%+ of the Unauthenticated errors. Supportxmr creates jobs with difficulty targeted to 1 share per minute, so this should happen only in periods of bad share luck, sudden decreases in hashrate, or slow miners that get less than 1 share per minute at the minimum diff of 50,000 (<800H/s).
Pool Error Messages
Speaking of error messages, our pool now sends error messages back to miners for things like invalid configurations and timeouts like the one mentioned above. Previously, the pool would just disconnect the miner, and you wouldn't know why.
IP Address currently banned
If you've seen the error message "IP Address currently banned for using an invalid mining protocol, please check your miner" come up randomly, this error is also coming from supportxmr. Your IP address is not banned; it's the pool's IP that's banned because all connections to supportxmr are coming from the BBP pool server. That means that any one of our miners can cause the pool IP to be banned.
Thankfully, supportxmr has multiple servers, and each miner that connects to our pool creates a new connection to a randomly assigned supportxmr pool server. When supportxmr bans our IP, it seems that it doesn't communicate the ban to their other servers (at least not right away), so they don't disconnect all of our miners. Also, after you get disconnected, your miner will retry until it gets a connection to a supportxmr server that doesn't have us banned.
I believe the bans get cleared after around 10 minutes, so they don't last long. Nevertheless, the disconnects and retries when this happens results in a noticeable reduction in mining efficiency. In our supportxmr stats, I saw dips of ~25% at times.
I finally had a chance to do some logging to investigate further, and the bans seem to be occurring after several "Duplicate share" errors reported by supportxmr. Because these bans from supportxmr affect all Hanalani pool miners, we now temporarily ban any IP that gets this duplicate share error from supportxmr.
If we have your IP currently banned, you'll see this error message: "IP address currently banned, please check your miner", which is slightly different from supportxmr's message. Feel free to post, PM, or email me if you are banned, and we can work together to figure out what's happening and try to fix it.
I'll be monitoring the logs closely over the next weeks/months and making adjustments as necessary.
Thank you for your continued support!
-Scott