#include "wsv_query.hpp"


Public Member Functions | |
| virtual | ~WsvQuery ()=default |
| virtual boost::optional< std::vector< std::string > > | getSignatories (const shared_model::interface::types::AccountIdType &account_id)=0 |
| virtual boost::optional< std::vector< std::shared_ptr< shared_model::interface::Peer > > > | getPeers ()=0 |
| virtual boost::optional< std::shared_ptr< shared_model::interface::Peer > > | getPeerByPublicKey (shared_model::interface::types::PublicKeyHexStringView public_key)=0 |
| virtual iroha::expected::Result< iroha::TopBlockInfo, std::string > | getTopBlockInfo () const =0 |
| Get top block info from ledger state. More... | |
Public interface for world state view queries
|
virtualdefault |
|
pure virtual |
Fetch peer with given public key from ledger
Implemented in iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Fetch peers stored in ledger
Implemented in iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Get signatories of account by user account_id
| account_id |
Implemented in iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Get top block info from ledger state.
Implemented in iroha::ametsuchi::PostgresWsvQuery.