hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::WsvQuery Class Referenceabstract

#include "wsv_query.hpp"

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

Public Member Functions

virtual ~WsvQuery ()=default
 
virtual boost::optional< std::vector< shared_model::interface::types::PubkeyType > > getSignatories (const shared_model::interface::types::AccountIdType &account_id)=0
 
virtual boost::optional< std::vector< std::shared_ptr< shared_model::interface::Peer > > > getPeers ()=0
 

Detailed Description

Public interface for world state view queries

Constructor & Destructor Documentation

virtual iroha::ametsuchi::WsvQuery::~WsvQuery ( )
virtualdefault

Member Function Documentation

virtual boost::optional< std::vector<std::shared_ptr<shared_model::interface::Peer> > > iroha::ametsuchi::WsvQuery::getPeers ( )
pure virtual
Returns

Implemented in iroha::ametsuchi::PostgresWsvQuery.

virtual boost::optional< std::vector<shared_model::interface::types::PubkeyType> > iroha::ametsuchi::WsvQuery::getSignatories ( const shared_model::interface::types::AccountIdType account_id)
pure virtual

Get signatories of account by user account_id

Parameters
account_id
Returns

Implemented in iroha::ametsuchi::PostgresWsvQuery.


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