NetGroupManager

Netgroup manager

Synopsis

Declared in <netgroup.h>

class NetGroupManager;

Member Functions

NameDescription
NetGroupManager [constructor]Constructors
operator= Assignment operators
ASMapHealthCheck Analyze and log current health of ASMap based buckets.
GetAsmapVersion Get the asmap version, a checksum identifying the asmap being used.
GetGroup Get the canonical identifier of the network group for address.
GetMappedAS Get the autonomous system on the BGP path to address.
UsingASMap Indicates whether ASMap is being used for clearnet bucketing.

Static Member Functions

NameDescription
NoAsmap Create a manager with no asmap, using default clearnet bucketing.
WithEmbeddedAsmap Create a manager using asmap data embedded in the binary.
WithLoadedAsmap Create a manager that takes ownership of asmap data loaded at runtime.

Non-Member Functions

NameDescription
LoadAddrmanLoads the address manager (peers.dat), creating a fresh one if needed.