6 #ifndef IROHA_MST_TYPES_HPP 7 #define IROHA_MST_TYPES_HPP 15 class TransactionBatch;
23 using BatchPtr = std::shared_ptr<shared_model::interface::TransactionBatch>;
27 std::shared_ptr<shared_model::interface::TransactionResponse>;
49 std::shared_ptr<MstState> updated_state)
50 : completed_state_{std::move(completed_state)},
51 updated_state_{std::move(updated_state)} {}
57 #endif // IROHA_MST_TYPES_HPP ConstRefT< shared_model::interface::Peer > ConstRefPeer
Definition: mst_types.hpp:33
StateUpdateResult(std::shared_ptr< MstState > completed_state, std::shared_ptr< MstState > updated_state)
Definition: mst_types.hpp:48
std::shared_ptr< shared_model::interface::TransactionResponse > TxResponse
Definition: mst_types.hpp:27
ConstRefT< BatchPtr > ConstRefBatch
Definition: mst_types.hpp:32
Definition: mst_state.hpp:79
ConstRefT< TimeType > ConstRefTime
Definition: mst_types.hpp:34
const T & ConstRefT
Definition: mst_types.hpp:30
Definition: block_query.hpp:16
shared_model::interface::types::TimestampType TimeType
Definition: mst_types.hpp:25
std::shared_ptr< MstState > completed_state_
Definition: mst_types.hpp:52
Definition: mst_types.hpp:47
std::shared_ptr< MstState > updated_state_
Definition: mst_types.hpp:53
BatchPtr DataType
Definition: mst_types.hpp:40
Definition: command_executor.hpp:12
std::shared_ptr< shared_model::interface::TransactionBatch > BatchPtr
Definition: mst_types.hpp:23
ConstRefT< MstState > ConstRefState
Definition: mst_types.hpp:38
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:61