Open
Description
✨ Feature
The controlplane should allow agents to upload and download checkpoints from eachother
Motivation
With the features provided by #182, #183, and #181, would allow agents to rewind based on checkpoints provided by alternative locations (agent-to-agent, cdn-to-agent, controlplane-to-agent)
- User finds a checkpoint on an agent for a given height
- Controlplane requests agent to upload the checkpoint (Or the user uploads a controlplane)
- Another agent (or user) can download the checkpoint from the controlplane
Implementation
Could be implemented in one of these ways:
- The controlplane is a relay or CDN and stores the checkpoints
- The agents P2P download checkpoints from eachother using the controlplane as a wireguard or STUN/TURN/libp2p relay