File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright (c) 2014-2024 , The Monero Project
1+ // Copyright (c) 2014-2026 , The Monero Project
22//
33// All rights reserved.
44//
2929// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
3030
3131#pragma once
32+
3233#include " cryptonote_basic/cryptonote_format_utils.h"
33- #include < boost/serialization/vector.hpp>
34- #include < boost/serialization/utility.hpp>
3534#include " ringct/rctOps.h"
3635
3736namespace cryptonote
@@ -151,29 +150,12 @@ namespace cryptonote
151150
152151}
153152
154- BOOST_CLASS_VERSION (cryptonote::tx_source_entry, 1 )
155153BOOST_CLASS_VERSION (cryptonote::tx_destination_entry, 2 )
156154
157155namespace boost
158156{
159157 namespace serialization
160158 {
161- template <class Archive >
162- inline void serialize (Archive &a, cryptonote::tx_source_entry &x, const boost::serialization::version_type ver)
163- {
164- a & x.outputs ;
165- a & x.real_output ;
166- a & x.real_out_tx_key ;
167- a & x.real_output_in_tx_index ;
168- a & x.amount ;
169- a & x.rct ;
170- a & x.mask ;
171- if (ver < 1 )
172- return ;
173- a & x.multisig_kLRki ;
174- a & x.real_out_additional_tx_keys ;
175- }
176-
177159 template <class Archive >
178160 inline void serialize (Archive& a, cryptonote::tx_destination_entry& x, const boost::serialization::version_type ver)
179161 {
You can’t perform that action at this time.
0 commit comments