Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::Peer Struct Reference

#include "peer.hpp"

Collaboration diagram for iroha::model::Peer:
Collaboration graph

Public Types

using AddressType = decltype(address)
using KeyType = decltype(pubkey)

Public Member Functions

bool operator== (const Peer &obj) const
 Peer ()=default
 Peer (const AddressType &address, const KeyType &pubkey)

Public Attributes

std::string address {}
pubkey_t pubkey {}

Detailed Description

Peer is Model, which contains information about network participants

Member Typedef Documentation

Constructor & Destructor Documentation

iroha::model::Peer::Peer ( )

Here is the caller graph for this function:

iroha::model::Peer::Peer ( const AddressType address,
const KeyType pubkey 

Member Function Documentation

bool iroha::model::Peer::operator== ( const Peer obj) const

Here is the call graph for this function:

Member Data Documentation

std::string iroha::model::Peer::address {}

IP address of peer for connection

pubkey_t iroha::model::Peer::pubkey {}

Public key of peer

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