Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
AddressPosition Struct Reference

Location information for an address in AddrMan. More...

#include <addrman.h>

Public Member Functions

bool operator== (AddressPosition other)
 AddressPosition (bool tried_in, int multiplicity_in, int bucket_in, int position_in)

Public Attributes

const bool tried
const int multiplicity
const int bucket
const int position

Detailed Description

Location information for an address in AddrMan.

Definition at line 34 of file addrman.h.

Constructor & Destructor Documentation

◆ AddressPosition()

AddressPosition::AddressPosition ( bool  tried_in,
int  multiplicity_in,
int  bucket_in,
int  position_in 

Definition at line 54 of file addrman.h.

Member Function Documentation

◆ operator==()

bool AddressPosition::operator== ( AddressPosition  other)

Definition at line 50 of file addrman.h.

Member Data Documentation

◆ bucket

const int AddressPosition::bucket

Definition at line 47 of file addrman.h.

◆ multiplicity

const int AddressPosition::multiplicity

Definition at line 41 of file addrman.h.

◆ position

const int AddressPosition::position

Definition at line 48 of file addrman.h.

◆ tried

const bool AddressPosition::tried

Definition at line 36 of file addrman.h.

The documentation for this struct was generated from the following file: