Open nomaxg opened 10 months ago
POST /peers/register
(called by each validator when starting up, pass in port, server detects IP)GET /peers/list
(returns all registered peer IP and ports))GET /catchup/account/:address
~ https://github.com/EspressoSystems/espresso-sequencer/issues/959Making this a stretch goal for Cappuccino as it's not strictly needed for Decaf:
I just realized we may not actually need the orchestrator endpoints for fetching peer URLs for catchup (https://github.com/EspressoSystems/espresso-sequencer/issues/958). We are already configuring nodes with a list of peers for query service fetching. Why not do the same thing for state catchup? I think for permissioned decaf this is totally fine, longer term of course it would be more convenient to have some proper peer discovery. But longer term I don't think we should do that with the orchestrator anyways, it should be integrated with HotShot networking so that it works even over p2p.
TODO: flesh out