5 #ifndef BITCOIN_NETGROUP_H
6 #define BITCOIN_NETGROUP_H
uint256 GetAsmapChecksum() const
Get a checksum identifying the asmap being used.
const std::vector< bool > m_asmap
Compressed IP->ASN mapping, loaded from a file when a node starts.
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)