danicoin/src/WalletLegacy/KeysStorage.h

29 lines
640 B
C
Raw Normal View History

// Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
2014-06-25 17:21:42 +00:00
#pragma once
#include "crypto/crypto.h"
#include <stdint.h>
2015-05-27 12:08:46 +00:00
namespace CryptoNote {
class ISerializer;
2015-07-30 15:22:07 +00:00
//This is DTO structure. Do not change it.
struct KeysStorage {
uint64_t creationTimestamp;
2015-07-30 15:22:07 +00:00
Crypto::PublicKey spendPublicKey;
Crypto::SecretKey spendSecretKey;
2015-07-30 15:22:07 +00:00
Crypto::PublicKey viewPublicKey;
Crypto::SecretKey viewSecretKey;
void serialize(ISerializer& serializer, const std::string& name);
2014-06-25 17:21:42 +00:00
};
2015-05-27 12:08:46 +00:00
} //namespace CryptoNote