Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Bug in "submission not accepted" error message #11

Open
paulpoco opened this issue Oct 28, 2021 · 1 comment
Open

Possible Bug in "submission not accepted" error message #11

paulpoco opened this issue Oct 28, 2021 · 1 comment

Comments

@paulpoco
Copy link

paulpoco commented Oct 28, 2021

Possible Bug in "submission not accepted" error message.

To recreate:
submit_only_best: false
target_deadline: 2000000

In this case it looks like the real reason the deadline wasn't accepted was because a new block was starting 1 sec later, so it was actually rejected for wrong round and not "message: {"result":"Deadline exceeds maximum allowed deadline"}"

Since when does 266,630 exceed 2,000,000?

Now I am doing the max target deadline at 2,000,000 and send all to catch short blocks but not send super high deadlines that would happen if it was send all from the very beginning using the target_deadline=1,000,000,000. If it was target_deadline=1,000,000,000 and send all and a super short block, it would cause my EC to usually cut in half because the miner didn't get a chance to read all the plots and the chain/pool thinks you are way smaller.

How did I pick target_deadline: 2000000? I used the pool API and my address to get my deadlines, and only a few out of about 119 were larger like:
1812641
1193214
1520451
1635704
1102099
1480708
1238251
1439041
1563917
1032434
So I figured 2,000,000 would catch everything.

image

@jjos2372
Copy link

This can happen when the pool is already on another block and so the nonce sent (for the wrong block) will very likely exceed the maximum allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants