Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. New peer joins the validator network and needs to get the whole blockchain.
  2. The peer lost several commit messages due to poor internet connection and needs to get the latest blocks.
  3. The peer was stopped and restarted after some time and needs to get the latest blocks.
  4. ...

Design

Gossip

For the peers to discover that they do not have latest blocks, peers send their latest block hashes to all other peers in the network every N seconds. If a peer discovers that it has a different latest block hash, it will request the missing blocks from other peers.

...