Skip to content

Fixed annminer bug/feature that would prevent announcements with lower height than previous batch from being sent to handler#60

Open
UCIS wants to merge 1 commit intocjdelisle:developfrom
pkt-world:fix-old-batch-submit
Open

Fixed annminer bug/feature that would prevent announcements with lower height than previous batch from being sent to handler#60
UCIS wants to merge 1 commit intocjdelisle:developfrom
pkt-world:fix-old-batch-submit

Conversation

@UCIS
Copy link
Copy Markdown
Contributor

@UCIS UCIS commented Feb 24, 2023

This patch removes an old feature in the announcement miner that would drop announcement batches with a height lower than the previous batch sent to that same handler. This feature prevents mining pools from dynamically altering the mineOld setting as a way to optimize their announcement set, possibly complicating recovery from a chain stall when insufficient mature announcements are available.

A quick test did not show side effects other than the intended behavior. Since all mining threads are halted for mining work changes, and the announcement are placed directly in a queue in the miner callback, there should be no reordering issues between miner threads, out-of-order announcements would only appear as a result of changed mining instructions from the pool.

…r height than previous batch from being sent to handler
@UCIS UCIS changed the base branch from master to develop February 24, 2023 00:32
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

Successfully merging this pull request may close these issues.

1 participant