Get the canonical identifier of the network group for address.
Synopsis
Declared in <netgroup.h>
std::vector<unsigned char>
GetGroup(CNetAddr const& address) const;
Description
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.
|
Note
|
No two connections will be attempted to addresses with the same network group. |
Return Value
The network group identifier as a byte vector.
Parameters
Name |
Description |
address |
The address to compute the network group for. |
Created with MrDocs