Disconnect all peers within the given subnet, returning whether any matched.

Synopsis

Declared in <net.h>

[[requires_capability(0x7ff36f782548), requires_capability(0x7ff36f468db8), requires_capability(0x7ff37f408378), requires_capability(0x7ff377565148), requires_capability(0x7ff37b6a0648), requires_capability(0x7ff37e1c8278), requires_capability(0x7ff379a7e7c8), requires_capability(0x7ff36f4a5808), requires_capability(0x7ff37bc16468), requires_capability(0x7ff3814a6438), requires_capability(0x7ff3666cd4b8)]]
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