Skip to content

Moves latest_only handling to the merge builder - #577

Merged
0w3n-d merged 1 commit into
developfrom
od/fix_last_only_handling
Sep 4, 2026
Merged

Moves latest_only handling to the merge builder#577
0w3n-d merged 1 commit into
developfrom
od/fix_last_only_handling

Conversation

@0w3n-d

@0w3n-d 0w3n-d commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Currently the relay tracks which orders are marked as latest_only and when it no longer in a builders blocks a revoke request is sent to the merges builder to remove it from the order pool.

There can be pending blocks in the merge builder. If the revoke arrives before they are processed they can re insert the revoked order.

This PR replaces this needlessly complex revoke process with a simple mechanism in the order pool that excludes latest_only orders when the builder drops them.

Currently the relay tracks which orders are marked as latest_only and
when it no longer in a builders blocks a revoke request is sent to the
merges builder to remove it from the order pool.

There can be pending blocks in the merge builder. If the revoke arrives
before they are processed they can re insert the revoked order.

This PR replaces this needlessly complex revoke process with a simple
mechanism in the order pool that excludes latest_only orders when the
builder drops them.
@0w3n-d
0w3n-d merged commit f5dfa65 into develop Sep 4, 2026
2 checks passed
@0w3n-d
0w3n-d deleted the od/fix_last_only_handling branch September 4, 2026 16:42
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.

2 participants