#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 iroha::expected::Result< size_t, std::string > | countPeers ()=0 |
| Fetch domains stored in ledger. More... | |
| virtual iroha::expected::Result< size_t, std::string > | countDomains ()=0 |
| Fetch number of domains in ledger. More... | |
| virtual iroha::expected::Result< size_t, std::string > | countTransactions ()=0 |
| Fetch number of valid transactions in ledger. More... | |
| 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 number of domains in ledger.
Implemented in iroha::ametsuchi::RocksDBWsvQuery, and iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Fetch domains stored in ledger.
Implemented in iroha::ametsuchi::RocksDBWsvQuery, and iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Fetch number of valid transactions in ledger.
Implemented in iroha::ametsuchi::RocksDBWsvQuery, and iroha::ametsuchi::PostgresWsvQuery.
|
pure virtual |
Fetch peer with given public key from ledger
Implemented in iroha::ametsuchi::PostgresWsvQuery, and iroha::ametsuchi::RocksDBWsvQuery.
|
pure virtual |
Fetch peers stored in ledger
Implemented in iroha::ametsuchi::PostgresWsvQuery, and iroha::ametsuchi::RocksDBWsvQuery.

|
pure virtual |
Get signatories of account by user account_id
| account_id |
Implemented in iroha::ametsuchi::PostgresWsvQuery, and iroha::ametsuchi::RocksDBWsvQuery.
|
pure virtual |
Get top block info from ledger state.
Implemented in iroha::ametsuchi::PostgresWsvQuery, and iroha::ametsuchi::RocksDBWsvQuery.