Line data Source code
1 : /**
2 : * Copyright Soramitsu Co., Ltd. All Rights Reserved.
3 : * SPDX-License-Identifier: Apache-2.0
4 : */
5 :
6 : #ifndef IROHA_TRANSACTIONS_RESPONSE_HPP
7 : #define IROHA_TRANSACTIONS_RESPONSE_HPP
8 :
9 : #include <rxcpp/rx.hpp>
10 : #include "model/transaction.hpp"
11 :
12 : namespace iroha {
13 : namespace model {
14 :
15 : /**
16 : * Provide responded transactions
17 : */
18 : struct TransactionsResponse : public QueryResponse {
19 : /**
20 : * Observable contains transactions
21 : */
22 1 : rxcpp::observable<Transaction> transactions{};
23 : };
24 : } // namespace model
25 : } // namespace iroha
26 : #endif // IROHA_TRANSACTIONS_RESPONSE_HPP
|