#pragma once #include #include #include struct Transaction { std::string from = "", to = ""; uint32_t amount = 0; time_t time = 0; Transaction() noexcept; Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount, time_t time) noexcept; Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount) noexcept; };