Open metachris opened 1 year ago
Regarding possible extensions, I like the idea of having another query argument for missing entries; an empty list if everything is found. It seems like the most efficient way for operators to check a large group of validators at once.
Could be as simple as:
POST /relay/v1/data/validator_registration?missing
Semi-related, I think we should remove the timestamp
field from /relay/v1/builder/validators
response entries:
If the registrations are guaranteed to be active, that information isn't required.
Can you please open a new issue re builder/getValidators
? (fwiw I disagree because it also includes a signature, which can't be verified without the timestamp. should we also remove the signature?)
Ah that's a good point. I'll think about it some more, but yeah I'll open a new issue. Thanks.
Context: https://collective.flashbots.net/t/privacy-concerns-with-data-api/568
We'll update the API for getting validators (https://boost-relay.flashbots.net/relay/v1/data/validator_registration?pubkey=) to make it more private, and to allow bulk queries.
Changes:
pubkey
for the request, it will also requirefee_recipient
(and optionallygas_limit
). This is to maintain privacy for proposers (you can only query them if you know the fee_recipient).Single query:
Bulk query:
Response includes a list of found entries:
Possible extensions (please comment if you have a need for that, could be added now or in the future):
fee_recipient
andgas_limit
(enable this response format with another query arg?)Please comment with any remaining thoughts. Will start implementation soon 🙏