pub fn detect_chain_fork( local_seq: u64, local_hash: &str, remote_seq: u64, remote_hash: &str, ) -> ChainForkStatus
Compare local and remote chain state to detect sync needs.