hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
storage_result.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_STORAGE_RESULT_HPP
7 #define IROHA_STORAGE_RESULT_HPP
8 
9 #include <boost/variant.hpp>
10 
11 namespace iroha {
12  namespace consensus {
13  namespace yac {
14 
15  struct CommitMessage;
16  struct RejectMessage;
17  struct FutureMessage;
18 
22  using Answer =
23  boost::variant<CommitMessage, RejectMessage, FutureMessage>;
24 
25  } // namespace yac
26  } // namespace consensus
27 } // namespace iroha
28 #endif // IROHA_STORAGE_RESULT_HPP
Definition: block_query.hpp:15
boost::variant< CommitMessage, RejectMessage, FutureMessage > Answer
Definition: storage_result.hpp:23