CNode::HasPermission

Return whether this peer has been granted the given permission flag.

Synopsis

Declared in <net.h>

bool
HasPermission(NetPermissionFlags permission) const;

Return Value

true if the peer holds that permission.

Parameters

NameDescription
permissionthe permission flag to test for.