Disconnect the peer(s) matching the given node string, returning whether any matched.
Declared in <net.h>
[[requires_capability(0x7f950f5ff6a8), requires_capability(0x7f950ed87ed8), requires_capability(0x7f950b490148), requires_capability(0x7f95034d2d68), requires_capability(0x7f950e210138), requires_capability(0x7f9527747dd8), requires_capability(0x7f950c324f68), requires_capability(0x7f950c240b98), requires_capability(0x7f95018ba348), requires_capability(0x7f950bd921f8), requires_capability(0x7f95065c98f8)]]
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. |