Kagome
Polkadot Runtime Engine in C++17
kagome::network::OwnPeerInfo Struct Reference

#include <own_peer_info.hpp>

Inheritance diagram for kagome::network::OwnPeerInfo:
Collaboration diagram for kagome::network::OwnPeerInfo:

Public Member Functions

 OwnPeerInfo (libp2p::peer::PeerId peer_id, std::vector< libp2p::multi::Multiaddress > public_addrs, std::vector< libp2p::multi::Multiaddress > listen_addrs)
 
bool operator== (const OwnPeerInfo &other) const
 
bool operator!= (const OwnPeerInfo &other) const
 

Public Attributes

std::vector< libp2p::multi::Multiaddress > listen_addresses
 

Detailed Description

Definition at line 13 of file own_peer_info.hpp.

Constructor & Destructor Documentation

kagome::network::OwnPeerInfo::OwnPeerInfo ( libp2p::peer::PeerId  peer_id,
std::vector< libp2p::multi::Multiaddress >  public_addrs,
std::vector< libp2p::multi::Multiaddress >  listen_addrs 
)
inline

Definition at line 14 of file own_peer_info.hpp.

Member Function Documentation

bool kagome::network::OwnPeerInfo::operator!= ( const OwnPeerInfo other) const
inline

Definition at line 26 of file own_peer_info.hpp.

bool kagome::network::OwnPeerInfo::operator== ( const OwnPeerInfo other) const
inline

Definition at line 21 of file own_peer_info.hpp.

Member Data Documentation

std::vector<libp2p::multi::Multiaddress> kagome::network::OwnPeerInfo::listen_addresses

Definition at line 30 of file own_peer_info.hpp.


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