Skip to content
Snippets Groups Projects
Commit 35b84ae8 authored by Pierre Krieger's avatar Pierre Krieger Committed by Gavin Wood
Browse files

Remove NetworkService::report_handle (#2462)

parent 747df1f3
No related merge requests found
......@@ -274,11 +274,6 @@ impl<B: BlockT + 'static, S: NetworkSpecialization<B>> Service<B, S> {
));
}
/// Return a cloneable handle for reporting peers' benefits or misbehavior.
pub fn report_handle(&self) -> ReportHandle {
ReportHandle { inner: self.peerset.clone() }
}
/// Report a given peer as either beneficial (+) or costly (-) according to the
/// given scalar.
pub fn report_peer(&self, who: PeerId, cost_benefit: i32) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment