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

Test-only struct, capturing info about 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

Test-only struct, capturing info about an address in AddrMan.

Definition at line 33 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 53 of file addrman.h.

Member Function Documentation

◆ operator==()

bool AddressPosition::operator== ( AddressPosition  other)

Definition at line 49 of file addrman.h.

Member Data Documentation

◆ bucket

const int AddressPosition::bucket

Definition at line 46 of file addrman.h.

◆ multiplicity

const int AddressPosition::multiplicity

Definition at line 40 of file addrman.h.

◆ position

const int AddressPosition::position

Definition at line 47 of file addrman.h.

◆ tried

const bool AddressPosition::tried

Definition at line 35 of file addrman.h.

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