Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::PeerQueryWsv Class Reference

#include "peer_query_wsv.hpp"

Inheritance diagram for iroha::ametsuchi::PeerQueryWsv:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::PeerQueryWsv:
Collaboration graph

Public Member Functions

 PeerQueryWsv (std::shared_ptr< WsvQuery > wsv)
boost::optional< std::vector< wPeer > > getLedgerPeers () override
- Public Member Functions inherited from iroha::ametsuchi::PeerQuery
virtual ~PeerQuery ()=default

Additional Inherited Members

- Protected Types inherited from iroha::ametsuchi::PeerQuery
using wPeer = std::shared_ptr< shared_model::interface::Peer >

Detailed Description

Implementation of PeerQuery interface based on WsvQuery fetching

Constructor & Destructor Documentation

iroha::ametsuchi::PeerQueryWsv::PeerQueryWsv ( std::shared_ptr< WsvQuery wsv)

Member Function Documentation

boost::optional< std::vector< PeerQuery::wPeer > > iroha::ametsuchi::PeerQueryWsv::getLedgerPeers ( )

Fetch peers stored in ledger

list of peers in insertion to ledger order

Implements iroha::ametsuchi::PeerQuery.

The documentation for this class was generated from the following files: