Scorum
genesis_state.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace scorum {
6 namespace chain {
7 
9 {
10  virtual const fc::time_point_sec& get_lock_withdraw_sp_until_timestamp() const = 0;
11 };
12 
14 {
15  friend class dbservice_dbs_factory;
16 
17 protected:
18  explicit dbs_genesis_state(database& db);
19 
20 public:
21  const fc::time_point_sec& get_lock_withdraw_sp_until_timestamp() const override;
22 
23 private:
24  // TODO: tech dept: remove this dependency if possible
25  database& _db;
26 };
27 } // namespace chain
28 } // namespace scorum
tracks the blockchain state in an extensible manner
Definition: database.hpp:52
const fc::time_point_sec & get_lock_withdraw_sp_until_timestamp() const override
Definition: asset.cpp:15
virtual const fc::time_point_sec & get_lock_withdraw_sp_until_timestamp() const =0