34 #include <boost/serialization/vector.hpp> 35 #include <boost/serialization/utility.hpp> 36 #include <boost/serialization/variant.hpp> 37 #include <boost/serialization/set.hpp> 38 #include <boost/serialization/map.hpp> 39 #include <boost/serialization/is_bitwise_serializable.hpp> 40 #include <boost/archive/binary_iarchive.hpp> 57 template <
class Archive>
62 template <
class Archive>
67 template <
class Archive>
72 template <
class Archive>
78 template <
class Archive>
84 template <
class Archive>
89 template <
class Archive>
95 template <
class Archive>
103 template <
class Archive>
109 template <
class Archive>
116 template <
class Archive>
123 template <
class Archive>
129 template <
class Archive>
135 template <
class Archive>
143 template <
class Archive>
152 template <
class Archive>
160 template <
class Archive>
168 template <
class Archive>
176 template <
class Archive>
186 template <
class Archive>
206 template <
class Archive>
219 template <
class Archive>
222 a &
reinterpret_cast<char (&)[sizeof(
rct::key)]
>(x);
225 template <
class Archive>
232 template <
class Archive>
239 template <
class Archive>
256 template <
class Archive>
264 template <
class Archive>
272 template <
class Archive>
279 template <
class Archive>
288 template <
class Archive>
294 template <
class Archive>
295 inline typename std::enable_if<Archive::is_loading::value, void>::type
serializeOutPk(Archive &
a,
rct::ctkeyV &outPk_,
const boost::serialization::version_type ver)
299 outPk_.resize(outPk.size());
300 for (
size_t n = 0; n < outPk_.size(); ++n)
303 outPk_[n].mask = outPk[n];
307 template <
class Archive>
308 inline typename std::enable_if<Archive::is_saving::value, void>::type
serializeOutPk(Archive &
a,
rct::ctkeyV &outPk_,
const boost::serialization::version_type ver)
311 for (
size_t n = 0; n < outPk_.size(); ++n)
312 outPk[n] = outPk_[n].mask;
316 template <
class Archive>
323 throw boost::archive::archive_exception(boost::archive::archive_exception::other_exception,
"Unsupported rct type");
333 template <
class Archive>
344 template <
class Archive>
351 throw boost::archive::archive_exception(boost::archive::archive_exception::other_exception,
"Unsupported rct type");
368 template <
class Archive>
375 template <
class Archive>
396 x_ = x & 0xffffffffffffffff;
std::vector< crypto::hash > tx_hashes
void serialize(Archive &a, std::unordered_map< h_key, hval > &x, const boost::serialization::version_type ver)
std::vector< rangeSig > rangeSigs
std::enable_if< Archive::is_loading::value, void >::type serializeOutPk(Archive &a, rct::ctkeyV &outPk_, const boost::serialization::version_type ver)
cryptonote::account_public_address address
std::vector< uint64_t > key_offsets
std::vector< uint8_t > extra
std::vector< ecdhTuple > ecdhInfo
std::vector< tx_out > vout
std::vector< txin_v > vin
crypto::public_key m_spend_public_key
std::vector< uint8_t > script
crypto::public_key m_view_public_key
rct::rctSig rct_signatures
std::vector< ctkey > ctkeyV
unsigned __int64 uint64_t
std::vector< std::vector< crypto::signature > > signatures
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
std::vector< uint8_t > sigset
boost::multiprecision::uint128_t difficulty_type
const GenericPointer< typename T::ValueType > T2 value
std::vector< uint8_t > sigset
crypto::key_image k_image
uint64_t m_address_prefix
std::vector< crypto::public_key > keys
RangeProofType range_proof_type
std::vector< Bulletproof > bulletproofs