Disconnect the peer with the given id, returning whether it was found.

Synopsis

Declared in <net.h>

bool
DisconnectNode(NodeId id);

Return Value

true if the peer was found and disconnected.

Parameters

Name

Description

id

the id of the peer to disconnect.

Created with MrDocs