LCOV - code coverage report
Current view: top level - irohad/model/queries/responses - transactions_response.hpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 1 1 100.0 %
Date: 2019-03-07 14:46:43 Functions: 6 7 85.7 %

          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

Generated by: LCOV version 1.13