hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
mst_time_provider.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_MST_TIME_PROVIDER_HPP
7 #define IROHA_MST_TIME_PROVIDER_HPP
8 
10 
11 namespace iroha {
12 
17  public:
18  virtual ~MstTimeProvider() = default;
23  virtual TimeType getCurrentTime() const = 0;
24  };
25 } // namespace iroha
26 
27 #endif // IROHA_MST_TIME_PROVIDER_HPP
Definition: mst_time_provider.hpp:16
virtual TimeType getCurrentTime() const =0
Definition: block_query.hpp:16
shared_model::interface::types::TimestampType TimeType
Definition: mst_types.hpp:25
virtual ~MstTimeProvider()=default