#include "peer.hpp"

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 {} |
Peer is Model, which contains information about network participants
| using iroha::model::Peer::AddressType = decltype(address) |
| using iroha::model::Peer::KeyType = decltype(pubkey) |
|
default |

|
inline |
|
inline |

| std::string iroha::model::Peer::address {} |
IP address of peer for connection
| pubkey_t iroha::model::Peer::pubkey {} |
Public key of peer