Function merge_shard_states

Source
pub fn merge_shard_states(
    local_state: &mut HashMap<String, HashSet<PeerId>>,
    incoming_state: HashMap<String, HashSet<PeerId>>,
)
Expand description

Merge two shard network states.