Disconnect all peers within the given subnet, returning whether any matched.
Synopsis
Declared in <net.h>
[[requires_capability(0x7f2e2b749de8), requires_capability(0x7f2e28942af8), requires_capability(0x7f2e234d1cd8), requires_capability(0x7f2e2737e478), requires_capability(0x7f2e235efb08), requires_capability(0x7f2e2a34bbf8), requires_capability(0x7f2e219f89c8), requires_capability(0x7f2e21c83888), requires_capability(0x7f2e1aa363e8), requires_capability(0x7f2e376b84c8), requires_capability(0x7f2e433ce058)]]
bool
DisconnectNode(CSubNet const& subnet);
Return Value
true if at least one peer was disconnected.
Parameters
Name |
Description |
subnet |
the subnet whose peers should be disconnected. |
Created with MrDocs