#pragma once #include // to be removed later #include #include #include "consts.hpp" #include "change_flag.h" #include "transaction.h" struct Log { private: ChangeFlag log_flag; Json::Value log_snapshot; public: const Json::Value &GetLog(); std::vector data; void AddTrans(Transaction &&t); Json::Value Serialize() const; // to be removed later };