6 #ifndef IROHA_PEER_QUERY_HPP 7 #define IROHA_PEER_QUERY_HPP 12 #include <boost/optional.hpp> 30 using wPeer = std::shared_ptr<shared_model::interface::Peer>;
39 virtual boost::optional<std::vector<wPeer>> getLedgerPeers() = 0;
45 virtual boost::optional<PeerQuery::wPeer> getLedgerPeerByPublicKey(
46 shared_model::interface::types::PublicKeyHexStringView public_key)
54 #endif // IROHA_PEER_QUERY_HPP Definition: block_query.hpp:17
Definition: peer_query.hpp:28
Definition: block_query.hpp:15
std::shared_ptr< shared_model::interface::Peer > wPeer
Definition: peer_query.hpp:30
Definition: command_executor.hpp:13