diff --git a/package.json b/package.json index d1ac82f..97cbc6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cryptoforknote-util", - "version": "15.0.1", + "version": "15.1.0", "main": "cryptoforknote-util", "author": { "name": "LucasJones", diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index e158b1d..0dcb228 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -35,4 +35,5 @@ enum BLOB_TYPE { BLOB_TYPE_CRYPTONOTE_XHV = 11, // Haven BLOB_TYPE_CRYPTONOTE_XTA = 12, // ITALO BLOB_TYPE_CRYPTONOTE_ZEPHYR = 13, // ZEPHYR + BLOB_TYPE_CRYPTONOTE_XLA = 14, // XLA }; diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h index f1d5852..fef4d7f 100644 --- a/src/cryptonote_core/cryptonote_basic.h +++ b/src/cryptonote_core/cryptonote_basic.h @@ -935,6 +935,7 @@ namespace cryptonote crypto::cycle cycle; crypto::cycle40 cycle40; crypto::cycle48 cycle48; + crypto::signature signature; BEGIN_SERIALIZE() VARINT_FIELD(major_version) @@ -957,6 +958,7 @@ namespace cryptonote if (blob_type == BLOB_TYPE_CRYPTONOTE_XTA) FIELD(cycle48) if (blob_type == BLOB_TYPE_CRYPTONOTE_XHV) FIELD(pricing_record) if (blob_type == BLOB_TYPE_CRYPTONOTE_ZEPHYR) FIELD_N("pricing_record", zephyr_pricing_record) + if (blob_type == BLOB_TYPE_CRYPTONOTE_XLA && major_version >= 13) FIELD(signature) END_SERIALIZE() };