Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
client/finality-grandpa/communication: Add doc comment for PeerReport (
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden authored and gavofyork committed Jan 20, 2020
1 parent a90c72e commit a083572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/finality-grandpa/src/communication/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,7 @@ impl<Block: BlockT> sc_network_gossip::Validator<Block> for GossipValidator<Bloc
}
}

/// Report specifying a reputation change for a given peer.
pub(super) struct PeerReport {
pub who: PeerId,
pub cost_benefit: ReputationChange,
Expand Down

0 comments on commit a083572

Please sign in to comment.