// 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 "CryptoNoteCore/Account.h" #include "CryptoNoteBoostSerialization.h" //namespace CryptoNote { namespace boost { namespace serialization { template inline void serialize(Archive &a, CryptoNote::AccountKeys &x, const boost::serialization::version_type ver) { a & x.address; a & x.spendSecretKey; a & x.viewSecretKey; } template inline void serialize(Archive &a, CryptoNote::AccountPublicAddress &x, const boost::serialization::version_type ver) { a & x.spendPublicKey; a & x.viewPublicKey; } } }