Function polkadot_node_subsystem_util::reputation::add_reputation
source · pub fn add_reputation(
acc: &mut HashMap<PeerId, i32>,
peer_id: PeerId,
rep: UnifiedReputationChange,
)
Expand description
Add a reputation change to an existing collection.