Disconnect the peer with the given id, returning whether it was found.
Synopsis
Declared in <net.h>
[[requires_capability(0x7ff36f7827c8), requires_capability(0x7ff36f469038), requires_capability(0x7ff37f4085f8), requires_capability(0x7ff3775653c8), requires_capability(0x7ff37b6a08c8), requires_capability(0x7ff37e1c84f8), requires_capability(0x7ff379a7ea48), requires_capability(0x7ff36f4a5a88), requires_capability(0x7ff37bc166e8), requires_capability(0x7ff3814a66b8), requires_capability(0x7ff3666cd738)]]
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