|
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action) |
| |
| void | Init () |
| |
| | CAddrInfo (const CAddress &addrIn, const CNetAddr &addrSource) |
| |
| | CAddrInfo () |
| |
| int | GetTriedBucket (const uint256 &nKey) const |
| | Calculate in which "tried" bucket this entry belongs. More...
|
| |
| int | GetNewBucket (const uint256 &nKey, const CNetAddr &src) const |
| | Calculate in which "new" bucket this entry belongs, given a certain source. More...
|
| |
| int | GetNewBucket (const uint256 &nKey) const |
| | Calculate in which "new" bucket this entry belongs, using its default source. More...
|
| |
| int | GetBucketPosition (const uint256 &nKey, bool fNew, int nBucket) const |
| | Calculate in which position of a bucket to store this entry. More...
|
| |
| bool | IsTerrible (int64_t nNow=GetAdjustedTime()) const |
| | Determine whether the statistics about this entry are bad enough so that it can just be deleted. More...
|
| |
| double | GetChance (int64_t nNow=GetAdjustedTime()) const |
| | Calculate the relative chance this entry should be given when selecting nodes to connect to. More...
|
| |
| | CAddress () |
| |
| | CAddress (CService ipIn, ServiceFlags nServicesIn) |
| |
| void | Init () |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action) |
| |
| | CService () |
| |
| | CService (const CNetAddr &ip, unsigned short port) |
| |
| | CService (const struct in_addr &ipv4Addr, unsigned short port) |
| |
| | CService (const struct sockaddr_in &addr) |
| |
| unsigned short | GetPort () const |
| |
| bool | GetSockAddr (struct sockaddr *paddr, socklen_t *addrlen) const |
| |
| bool | SetSockAddr (const struct sockaddr *paddr) |
| |
| std::vector< unsigned char > | GetKey () const |
| |
| std::string | ToString () const |
| |
| std::string | ToStringPort () const |
| |
| std::string | ToStringIPPort () const |
| |
| | CService (const struct in6_addr &ipv6Addr, unsigned short port) |
| |
| | CService (const struct sockaddr_in6 &addr) |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action) |
| |
| | CNetAddr () |
| |
| | CNetAddr (const struct in_addr &ipv4Addr) |
| |
| void | SetIP (const CNetAddr &ip) |
| |
| bool | SetInternal (const std::string &name) |
| | Transform an arbitrary string into a non-routable ipv6 address. More...
|
| |
| bool | SetSpecial (const std::string &strName) |
| |
| bool | IsIPv4 () const |
| |
| bool | IsIPv6 () const |
| |
| bool | IsRFC1918 () const |
| |
| bool | IsRFC2544 () const |
| |
| bool | IsRFC6598 () const |
| |
| bool | IsRFC5737 () const |
| |
| bool | IsRFC3849 () const |
| |
| bool | IsRFC3927 () const |
| |
| bool | IsRFC3964 () const |
| |
| bool | IsRFC4193 () const |
| |
| bool | IsRFC4380 () const |
| |
| bool | IsRFC4843 () const |
| |
| bool | IsRFC4862 () const |
| |
| bool | IsRFC6052 () const |
| |
| bool | IsRFC6145 () const |
| |
| bool | IsTor () const |
| |
| bool | IsLocal () const |
| |
| bool | IsRoutable () const |
| |
| bool | IsInternal () const |
| |
| bool | IsValid () const |
| |
| enum Network | GetNetwork () const |
| |
| std::string | ToString () const |
| |
| std::string | ToStringIP () const |
| |
| unsigned int | GetByte (int n) const |
| |
| uint64_t | GetHash () const |
| |
| bool | GetInAddr (struct in_addr *pipv4Addr) const |
| |
| std::vector< unsigned char > | GetGroup () const |
| |
| int | GetReachabilityFrom (const CNetAddr *paddrPartner=nullptr) const |
| | Calculates a metric for how reachable (*this) is from a given partner. More...
|
| |
| | CNetAddr (const struct in6_addr &pipv6Addr, const uint32_t scope=0) |
| |
| bool | GetIn6Addr (struct in6_addr *pipv6Addr) const |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action) |
| |
Extended statistics about a CAddress.
Definition at line 24 of file addrman.h.