Mined block not accepted by monero node
Hi @notgiven688, I have been running a monero pool and also a webminerpool for serveral months, but I am not very sure if it is submitting blocks correctly.


And this is the structure of my system, I assumed problem happened at somewhere between client to webminepool.

> client (browser) > webminerpool > my pool > monero node



I got `mined block failed verification` error from monero node more than 10 times, and I found out it all submitted by webminer, so I make a logger to record every result submitted by webminer also the result accepted by pool side, and it seems the problem is related to webminer.

For example, I got this very weird result with plenty of "0" submitted to pool, and the same webminer client actually submit a lot of valid shares (actually almost all shares seems fine and valid) so the pool will not verify the share everytime, and no surprise it turns out not accepted by monero node.

> 2018/9/14 01:03:54.2508190 : {"id":"257026662674773","job_id":"957201424183490","nonce":"0fe0e06e","result":"f93c000000000000000000000000000000000000000000000000000000000000"}

after converting this result to share difficulty, it equals to 7418290040189390442922095266108521228347106455611542317858772759812488284, this is a much higher value than monero network diff, so it will be considered as a block, but obviously it is invalid, and all error results equal to that difficulty

My concern is I'm not sure if this problem is just a single invalid share or it happens every time when submitting a potential block. The interesting part is when I use the exact same settings and software to run webminepool and a test pool on monero testnet it actually submit block correctly, if you have some idea about this please make sure help me out, thanks a lot!

p.s. my operating system is Ubuntu 16.04 server with Mono 5.14.0 Stable