43 : address(address), pubkey(pubkey) {}
56 #endif // IROHA_PEER_H std::size_t operator()(const iroha::model::Peer &obj) const
Definition: peer.hpp:51
pubkey_t pubkey
Definition: peer.hpp:28
bool operator==(const Peer &obj) const
Definition: peer.hpp:32
std::string to_string() const noexcept
Definition: blob.hpp:50
Definition: block_query.hpp:15
std::string address
Definition: peer.hpp:21
hash256_t hash(const T &pb)
Definition: pb_common.hpp:43
decltype(pubkey) KeyType
Definition: peer.hpp:30
Peer(const AddressType &address, const KeyType &pubkey)
Definition: peer.hpp:42
decltype(address) AddressType
Definition: peer.hpp:23