From fb4ed298344c418526a4e7ee2fcc8e1864058a75 Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 13 Feb 2024 11:14:05 +0100 Subject: [PATCH] struct asset_operation_ownership_proof added --- src/currency_core/currency_basic.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/currency_core/currency_basic.h b/src/currency_core/currency_basic.h index 874f80b3..52eb71b1 100644 --- a/src/currency_core/currency_basic.h +++ b/src/currency_core/currency_basic.h @@ -819,6 +819,21 @@ namespace currency }; + struct asset_operation_ownership_proof + { + crypto::generic_schnorr_sig_s gss; + uint8_t version = 0; + + BEGIN_VERSIONED_SERIALIZE(0, version) + FIELD(gss) + END_SERIALIZE() + + BEGIN_BOOST_SERIALIZATION() + BOOST_SERIALIZE(gss) + BOOST_END_VERSION_UNDER(1) + BOOST_SERIALIZE(version) + END_BOOST_SERIALIZATION() + }; struct extra_padding @@ -924,7 +939,7 @@ namespace currency typedef boost::variant signature_v; - typedef boost::variant proof_v; + typedef boost::variant proof_v; //include backward compatibility defintions