flashbots / flashbots/relay-specs

Add optimistic relaying and optimistic v2 endpoints to spec

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
31
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Currently many relays implement the [optimistic relaying functionality](https://github.com/michaelneuder/optimistic-relay-documentation/blob/main/proposal.md) which is not documented anywhere in the spec.

A [high performance rust implementation](https://github.com/gattaca-com/helix) of the boost relay has recently been open sourced which introduces two new endpoints `/relay/v1/builder/headers` and `/relay/v1/builder/blocks_optimistic_v2`. This separates the block submission process into two parts - the builder submits only a header first and then the rest of the payload to a separate endpoint to minimise network latency.

This endpoint should be standardised across relays implementing the optimistic v2 proposal which only parses the payload header and some other fields to construct the `getHeader` response.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.