ironfish: Many duplicate minig requests on own node solo mining

What happened?

I just installed my own v1.0.0 ironfish node on Linux to mine in solo on the main net with a test rig of 2 AMD 6500XT GPUs using TeamRedMiner v0.10.10 and noticed that my ironfish mining pool shows quite a lot of submitted duplicate mining requests. The TeamRedMiner itself on the mining rig does not show any issues and only has accepted shares so far.

Could this be a bug in the ironfish mining pool code?

Version

v1.0.0

Debug output

Iron Fish library               1.0.0 @ 79e7e05
Operating system                Linux x64
CPU model(s)                    AMD Ryzen 9 7950X 16-Core Processor
CPU threads                     32
RAM total                       30.50 GiB
Heap total                      3.99 GiB
Node version                    v18.16.0
ironfish in PATH                true
Garbage Collector Exposed       false
Telemetry enabled               false
Node name                       
Block graffiti

Relevant log output

Client 2 submitted a duplicate mining request: 139, ed09fdea00000009
Client 2 submitted a duplicate mining request: 139, ed09fdea00000009

Graffiti

No response

About this issue

Most upvoted comments

ironfish config:set poolDifficulty “150000000000”

You can change any parameter in your config with that. I just added a 0 to the default setting to get to the # above. Figured the miner was flooding the pool with requests based on the amount of shares.

https://ironfish.network/use/get-started/cli-commands

I could be wrong, but I believe the issue here is that the built-in Ironfish mining pool doesn’t support stratum v2 which is what the current miners and pools are using as some of the miners complain about errors such as Rigel.

@hofnars I now set my poolDifficulty to 150 GH as you mentioned and don’t see any duplicate mining request message anymore. TeamRedMiner reports the shares as being submitted as you can see below:

[2023-04-23 21:59:02] Pool 192.168.4.4 share submitted. (GPU0) (a:7 r:0) (diff 306.76 GH)
[2023-04-23 21:59:04] Pool 192.168.4.4 share submitted. (GPU1) (a:8 r:0) (diff 164.03 GH)

But I never see any messages about the share being accepted. Is this normal?

Same problem here. No accepted shares on my pool. Any solution for this?

It disappeared for me after increasing the poolDifficulty to something more reasonable than the default.