Skip to content

Commit

Permalink
Comment added for tx queries
Browse files Browse the repository at this point in the history
  • Loading branch information
grimadas committed Jun 22, 2017
1 parent 2d871fc commit 4263a96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions irohad/ametsuchi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ target_link_libraries(storage PUBLIC
block_store
index
wsv
rxcpp
)
18 changes: 9 additions & 9 deletions irohad/ametsuchi/query_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,24 @@ namespace iroha {
virtual std::vector<iroha::dao::Asset> get_domain_assets(
std::string domain_full_name) = 0;
/**
*
* @param pub_key
* @return
* Get all transactions of an account.
* @param pub_key - account's first public key
* @return observable of DAO Transaction
*/
virtual rxcpp::observable<iroha::dao::Transaction>
get_account_transactions(iroha::crypto::ed25519::pubkey_t pub_key) = 0;

/**
*
* @param asset_full_name
* @return
* Get all transactions with a certain asset
* @param asset_full_name - full name of an asset, i.e. name#domain
* @return observable of DAO Transaction
*/
virtual rxcpp::observable<iroha::dao::Transaction> get_asset_transactions(
std::string asset_full_name) = 0;
/**
*
* @param wallet_id
* @return
* Get all transactions of a certain wallet
* @param wallet_id - unique wallet
* @return observable of DAO Transaction
*/
virtual rxcpp::observable<iroha::dao::Transaction>
get_wallet_transactions(std::string wallet_id) = 0;
Expand Down

0 comments on commit 4263a96

Please sign in to comment.