5#ifndef BITCOIN_NETGROUP_H
6#define BITCOIN_NETGROUP_H
uint256 GetAsmapChecksum() const
Get a checksum identifying the asmap being used.
bool UsingASMap() const
Indicates whether ASMap is being used for clearnet bucketing.
const std::vector< bool > m_asmap
Compressed IP->ASN mapping, loaded from a file when a node starts.
void ASMapHealthCheck(const std::vector< CNetAddr > &clearnet_addrs) const
Analyze and log current health of ASMap based buckets.
std::vector< unsigned char > GetGroup(const CNetAddr &address) const
Get the canonical identifier of the network group for address.
uint32_t GetMappedAS(const CNetAddr &address) const
Get the autonomous system on the BGP path to address.
NetGroupManager(std::vector< bool > asmap)