When a network partition splits a blockchain, isolated nodes build rival histories. Here is how the protocol reconciles them ...
How fork choice rules let blockchain nodes agree on one valid chain when forks appear, and how PoW and PoS pick the winner.