text: /*
   * Copyright (c) 2018-2019, The Aonecoin Developers.
   * Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
   *
   * This file is part of Aonecoin.
   *
   * This file is subject to the terms and conditions defined in the
   * file 'LICENSE', which is part of this source code package.
   */
  
  #include <CryptoNoteCore/CryptoNoteSerialization.h>
  #include <CryptoNoteCore/CryptoNoteTools.h>
  #include <CryptoNoteCore/DatabaseCacheData.h>
  #include <Serialization/SerializationOverloads.h>
  
  namespace CryptoNote {
  
  void ExtendedTransactionInfo::serialize(CryptoNote::ISerializer& s) {
    s(static_cast<CachedTransactionInfo&>(*this), "cached_transaction");
    s(amountToKeyIndexes, "key_indexes");
  }
  
  void KeyOutputInfo::serialize(ISerializer& s) {
    s(publicKey, "public_key");
    s(transactionHash, "transaction_hash");
    s(unlockTime, "unlock_time");
    s(outputIndex, "output_index");
  }
  
  }
  