koinos / koinos-p2p

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

Track highest block height instead of just head #246

Closed mvandeberg closed 1 year ago

mvandeberg commented 1 year ago

Brief description

With the PoB Node Comparator, it is possible that the head block is not the highest block. If that happens and one of the blocks higher than head is built on, the block will get stuck in the applicator. This change allows that block to be applied and progress to be made.

Checklist

Demonstration