hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_TRANSACTIONS_HPP
7 #define IROHA_PROTO_GET_TRANSACTIONS_HPP
8 
10 
11 #include "cryptography/hash.hpp"
12 #include "queries.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
17  public:
18  explicit GetTransactions(iroha::protocol::Query &query);
19 
20  const TransactionHashesType &transactionHashes() const override;
21 
22  private:
23  // ------------------------------| fields |-------------------------------
24 
25  const iroha::protocol::GetTransactions &get_transactions_;
26 
27  const TransactionHashesType transaction_hashes_;
28  };
29 
30  } // namespace proto
31 } // namespace shared_model
32 
33 #endif // IROHA_PROTO_GET_TRANSACTIONS_HPP
GetTransactions(iroha::protocol::Query &query)
Definition: proto_get_transactions.cpp:13
Definition: get_transactions.hpp:14
std::vector< interface::types::HashType > TransactionHashesType
type of hashes collection
Definition: get_transactions.hpp:17
Definition: proto_get_transactions.hpp:16
Definition: command_executor.hpp:13
const TransactionHashesType & transactionHashes() const override
Definition: proto_get_transactions.cpp:22