hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transaction_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_TRANSACTION_RESPONSE_HPP
7 #define IROHA_TRANSACTION_RESPONSE_HPP
8 
9 #include "model/client.hpp"
10 #include "model/transaction.hpp"
11 
12 namespace iroha {
13  namespace model {
14 
22  std::string tx_hash{};
23 
24  enum Status {
39  };
40 
42 
43  virtual ~TransactionResponse() = default;
44 
45  TransactionResponse(std::string tx_hash, Status status)
46  : tx_hash(tx_hash), current_status(status) {}
47  };
48  } // namespace model
49 } // namespace iroha
50 #endif // IROHA_TRANSACTION_RESPONSE_HPP
TransactionResponse(std::string tx_hash, Status status)
Definition: transaction_response.hpp:45
std::string tx_hash
Definition: transaction_response.hpp:22
tx is expired in mst validation
Definition: transaction_response.hpp:36
Status current_status
Definition: transaction_response.hpp:41
tx pipeline succeeded, tx is committed
Definition: transaction_response.hpp:34
stateless validation failed
Definition: transaction_response.hpp:26
stateful validation passed
Definition: transaction_response.hpp:32
stateless validation passed
Definition: transaction_response.hpp:28
Definition: block_query.hpp:14
transaction is not in handler map
Definition: transaction_response.hpp:38
virtual ~TransactionResponse()=default
stateful validation failed
Definition: transaction_response.hpp:30
Status
Definition: transaction_response.hpp:24
Definition: transaction_response.hpp:18