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

#include "postgres_wsv_query.hpp"

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

Public Member Functions

 PostgresWsvQuery (soci::session &sql, std::shared_ptr< shared_model::interface::CommonObjectsFactory > factory, logger::LoggerPtr log)
 
 PostgresWsvQuery (std::unique_ptr< soci::session > sql, std::shared_ptr< shared_model::interface::CommonObjectsFactory > factory, logger::LoggerPtr log)
 
boost::optional< std::vector< shared_model::interface::types::PubkeyType > > getSignatories (const shared_model::interface::types::AccountIdType &account_id) override
 
boost::optional< std::vector< std::shared_ptr< shared_model::interface::Peer > > > getPeers () override
 
- Public Member Functions inherited from iroha::ametsuchi::WsvQuery
virtual ~WsvQuery ()=default
 

Constructor & Destructor Documentation

iroha::ametsuchi::PostgresWsvQuery::PostgresWsvQuery ( soci::session &  sql,
std::shared_ptr< shared_model::interface::CommonObjectsFactory factory,
logger::LoggerPtr  log 
)
iroha::ametsuchi::PostgresWsvQuery::PostgresWsvQuery ( std::unique_ptr< soci::session >  sql,
std::shared_ptr< shared_model::interface::CommonObjectsFactory factory,
logger::LoggerPtr  log 
)

Here is the call graph for this function:

Member Function Documentation

boost::optional< std::vector< std::shared_ptr< shared_model::interface::Peer > > > iroha::ametsuchi::PostgresWsvQuery::getPeers ( )
overridevirtual
Returns

Implements iroha::ametsuchi::WsvQuery.

Here is the call graph for this function:

boost::optional< std::vector< PubkeyType > > iroha::ametsuchi::PostgresWsvQuery::getSignatories ( const shared_model::interface::types::AccountIdType account_id)
overridevirtual

Get signatories of account by user account_id

Parameters
account_id
Returns

Implements iroha::ametsuchi::WsvQuery.

Here is the call graph for this function:


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