koinos / koinos-p2p

The p2p microservice orchestrates the distribution of blocks and transactions between peers.
MIT License
6 stars 4 forks source link

Checkpointing #165

Closed mvandeberg closed 3 years ago

mvandeberg commented 3 years ago

When connecting to a new peer, also check the checkpoint against the peer. This is the same protocol as checking my head block is an ancestor of their head block. Rather, my head block should just be considered a mutable checkpoint during sync.