Disconnect the peer(s) matching the given node string, returning whether any matched.
Declared in <net.h>
bool
DisconnectNode(std::string_view node);
true if at least one peer was disconnected.
| Name | Description |
|---|---|
| node | the host string identifying the peer(s) to disconnect. |