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 
21  using Answer = boost::variant<CommitMessage, RejectMessage>;
22 
23  } // namespace yac
24  } // namespace consensus
25 } // namespace iroha
26 #endif // IROHA_STORAGE_RESULT_HPP
boost::variant< CommitMessage, RejectMessage > Answer
Definition: storage_result.hpp:21
Definition: block_query.hpp:16