[#PeerManager-UnitTestMisbehaving] = xref:PeerManager.adoc[PeerManager]::UnitTestMisbehaving :relfileprefix: ../ :mrdocs: Apply misbehavior scoring to a peer directly. Public for unit testing. == Synopsis Declared in `<net_processing.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void UnitTestMisbehaving(xref:NodeId-08.adoc[NodeId] peer_id) = 0; ---- == Parameters [cols="1,4"] |=== | Name| Description | *peer_id* | The id of the peer to mark as misbehaving. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#