hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
commit_result.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_AMETSUCHI_COMMIT_RESULT_HPP
7 #define IROHA_AMETSUCHI_COMMIT_RESULT_HPP
8 
9 #include <memory>
10 #include <string>
11 
13 #include "common/result.hpp"
14 
15 namespace iroha {
16  namespace ametsuchi {
17 
18  using CommitResult =
19  iroha::expected::Result<std::shared_ptr<const iroha::LedgerState>,
20  std::string>;
21  }
22 } // namespace iroha
23 
24 #endif // IROHA_AMETSUCHI_COMMIT_RESULT_HPP
iroha::expected::Result< std::shared_ptr< const iroha::LedgerState >, std::string > CommitResult
Definition: commit_result.hpp:20
Definition: block_query.hpp:14