juno icon indicating copy to clipboard operation
juno copied to clipboard

Juno P2P sync - design & implement initial sync

Open stranger80 opened this issue 2 years ago • 1 comments

  • Initial Juno sync process:
    • Implement the ability for Juno node to run in one of two modes:
    1. "bootstrap node" sync - syncing from from Feeder gateway,
    • ...while it already participates in p2p communication
      • ...it serves/gossips information
      • ...it does not pull information from other p2p nodes (ie. it only syncs from Feeder gateway)
    1. "normal node" sync - syncing from other nodes, incl. the bootstrap node
    • "Block sync" design & implement logic to request information from other peers
      • make sure to validate the signatures on the received messages
    • Add telemetry metrics (eg. number of p2p peers known? ping times for peers?)

stranger80 avatar Oct 09 '23 10:10 stranger80

There isn't a separate milestone like "getting to sync from a single peer first" We will always sync from all the peers that we are connected to.

omerfirmak avatar Oct 10 '23 11:10 omerfirmak

This issue was already implemented

kirugan avatar Jul 17 '24 17:07 kirugan