36 #include "serialization/keyvalue_serialization.h" 47 BEGIN_KV_SERIALIZE_MAP()
51 END_KV_SERIALIZE_MAP()
65 std::string get_public_address_str(
bool testnet)
const;
66 std::string get_public_integrated_address_str(
const crypto::hash8 &payment_id,
bool testnet)
const;
71 bool load(
const std::string& file_path);
72 bool store(
const std::string& file_path);
74 void forget_spend_key();
76 template <
class t_archive>
80 a & m_creation_timestamp;
83 BEGIN_KV_SERIALIZE_MAP()
85 KV_SERIALIZE(m_creation_timestamp)
86 END_KV_SERIALIZE_MAP()
91 uint64_t m_creation_timestamp;
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:225
void serialize(t_archive &a, const unsigned int)
Definition: account.h:77
void load(Archive &a, std::unordered_map< h_key, hval > &x, const boost::serialization::version_type ver)
Definition: unordered_containers_boost_serialization.h:55
void set_createtime(uint64_t val)
Definition: account.h:69
crypto::secret_key m_view_secret_key
Definition: account.h:45
account_public_address m_account_address
Definition: account.h:43
Definition: cryptonote_basic.h:421
POD_CLASS hash8
Definition: hash.h:49
POD_CLASS secret_key
Definition: crypto.h:69
crypto::secret_key m_spend_secret_key
Definition: account.h:44
string a
Definition: MakeCryptoOps.py:15
uint64_t get_createtime() const
Definition: account.h:68