flashbots / optimism

The Optimism monorepo
https://optimism.io
MIT License
2 stars 3 forks source link

Use conductor API to bypass p2p syncing of unsafe head #6

Open jinmel opened 3 months ago

jinmel commented 3 months ago

P2P gossip channel has undetermined latency for broadcasting unsafe head to the builders. Conductor API has an admin method to receive unsafe head via http request.

dmarzzz commented 3 months ago

on auth: "jwt auth, from what i recall there is not but should not be hard to add. if you dont want to modify the code there, you can think to wrap/unwrap via a simple reverse proxy. otoh its not hard to had there as well, just add the middleware and protect only that rpc method example. honestly id go with the nginx+sidecar approach."