CCash/include/transaction.h
2022-11-28 17:35:22 -08:00

15 lines
339 B
C++

#pragma once
#include <string>
#include <cstdint>
#include <ctime>
struct Transaction
{
std::string counterparty = "";
bool receiving = false;
uint32_t amount = 0;
time_t time = 0;
Transaction() noexcept;
Transaction(const std::string &counterparty_str, bool receiving, uint32_t amount, time_t time) noexcept;
};