Skip to main content

detect_chain_fork

Function detect_chain_fork 

Source
pub fn detect_chain_fork(
    local_seq: u64,
    local_hash: &str,
    remote_seq: u64,
    remote_hash: &str,
) -> ChainForkStatus
Expand description

Compare local and remote chain state to detect sync needs.