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

Feature: add Date-Millisecond http header to builder bid / relay header request #292

Open
alextes opened this issue Feb 7, 2025 · 1 comment

Comments

@alextes
Copy link

alextes commented Feb 7, 2025

i think vouch refers to these as builder bids. the builder spec calls them "headers".
either way, the request is to add a HTTP header on those requests indicating the timestamp the request was sent.

relays would use this to measure proposer latency, which helps them return the response in time.

details in: ethereum/builder-specs#106

spec: https://github.com/ethereum/builder-specs/blob/1bbe1e299aa174aa6b7ec7a84c59c678b4e1b063/apis/builder/header.yaml#L35

the relevant bit is:

- name: Date-Milliseconds
  in: header
  required: false
  description: |
    Optional header containing a Unix timestamp in milliseconds representing
    the point-in-time the request was sent. This header can be used to measure
    latency.
  schema:
    type: integer
    format: int64
    example: 1710338135000
@mcdee
Copy link
Contributor

mcdee commented Feb 8, 2025

This has been added in attestantio/go-builder-client@c4a8631 and will make its way into Vouch for the next release. I'll keep this open until the relevant dependency is updated.

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