hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
tx_cache_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_TX_CACHE_RESPONSE_HPP
7 #define IROHA_TX_CACHE_RESPONSE_HPP
8 
9 #include <boost/variant.hpp>
10 
11 #include "cryptography/hash.hpp"
12 
13 namespace iroha {
14  namespace ametsuchi {
15 
16  namespace tx_cache_response_details {
19 
25  struct HashContainer {
26  HashContainer() = default;
27  explicit HashContainer(const HashType &h) : hash(h) {}
28 
30  };
31  } // namespace tx_cache_response_details
32 
34  namespace tx_cache_status_responses {
41  };
42 
49  };
50 
57  };
58  } // namespace tx_cache_status_responses
59 
61  using TxCacheStatusType =
65 
66  } // namespace ametsuchi
67 } // namespace iroha
68 
69 #endif // IROHA_TX_CACHE_RESPONSE_HPP
Definition: hash.hpp:18
Definition: tx_cache_response.hpp:39
HashContainer(const HashType &h)
Definition: tx_cache_response.hpp:27
Definition: block_query.hpp:16
HashType hash
Definition: tx_cache_response.hpp:29
boost::variant< tx_cache_status_responses::Committed, tx_cache_status_responses::Rejected, tx_cache_status_responses::Missing > TxCacheStatusType
Sum type of all possible concrete responses from the tx cache.
Definition: tx_cache_response.hpp:64
Definition: tx_cache_response.hpp:55
Definition: tx_cache_response.hpp:47