XLA fork support
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cryptoforknote-util",
|
||||
"version": "15.0.1",
|
||||
"version": "15.1.0",
|
||||
"main": "cryptoforknote-util",
|
||||
"author": {
|
||||
"name": "LucasJones",
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user