Get the canonical identifier of the network group for address.
Declared in <netgroup.h>
std::vector<unsigned char>
GetGroup(CNetAddr const& address) const;
The groups are assigned in a way where it should be costly for an attacker to obtain addresses with many different group identifiers, even if it is cheap to obtain addresses with the same identifier.
No two connections will be attempted to addresses with the same network group.
The network group identifier as a byte vector.
| Name | Description |
|---|---|
| address | The address to compute the network group for. |