danicoin/src/WalletLegacy/KeysStorage.h
2016-01-18 15:33:29 +00:00

29 lines
640 B
C++

// 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.
#pragma once
#include "crypto/crypto.h"
#include <stdint.h>
namespace CryptoNote {
class ISerializer;
//This is DTO structure. Do not change it.
struct KeysStorage {
uint64_t creationTimestamp;
Crypto::PublicKey spendPublicKey;
Crypto::SecretKey spendSecretKey;
Crypto::PublicKey viewPublicKey;
Crypto::SecretKey viewSecretKey;
void serialize(ISerializer& serializer, const std::string& name);
};
} //namespace CryptoNote