Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 33051b5bee | |||
| e79da7f582 | |||
| 39fa08d769 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cryptoforknote-util",
|
"name": "cryptoforknote-util",
|
||||||
"version": "15.8.1",
|
"version": "15.8.4",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "LucasJones",
|
"name": "LucasJones",
|
||||||
"email": "lucasjonesdev@hotmail.co.uk"
|
"email": "lucasjonesdev@hotmail.co.uk"
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ namespace cryptonote
|
|||||||
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_to_tagged_key> txout_target_v;
|
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_to_tagged_key> txout_target_v;
|
||||||
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_offshore, txout_xasset, txout_haven_key, txout_haven_tagged_key> txout_xhv_target_v;
|
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_offshore, txout_xasset, txout_haven_key, txout_haven_tagged_key> txout_xhv_target_v;
|
||||||
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_salvium_key, txout_salvium_tagged_key> txout_salvium_target_v;
|
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_salvium_key, txout_salvium_tagged_key> txout_salvium_target_v;
|
||||||
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_to_tagged_key, txout_to_carrot_v1> txout_carrot_target_v;
|
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_salvium_key, txout_salvium_tagged_key, txout_to_carrot_v1> txout_carrot_target_v;
|
||||||
|
|
||||||
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_zephyr_tagged_key> txout_stablero_target_v;
|
typedef boost::variant<txout_to_script, txout_to_scripthash, txout_zephyr_tagged_key> txout_stablero_target_v;
|
||||||
|
|
||||||
@@ -761,7 +761,7 @@ namespace cryptonote
|
|||||||
} else if (blob_type == BLOB_TYPE_CRYPTONOTE_SALVIUM) {
|
} else if (blob_type == BLOB_TYPE_CRYPTONOTE_SALVIUM) {
|
||||||
|
|
||||||
VARINT_FIELD(version)
|
VARINT_FIELD(version)
|
||||||
//if(version == 0 || CURRENT_TRANSACTION_VERSION < version) return false;
|
if(version == 0 || 4 < version) return false;
|
||||||
VARINT_FIELD(unlock_time)
|
VARINT_FIELD(unlock_time)
|
||||||
FIELD(vin_salvium)
|
FIELD(vin_salvium)
|
||||||
FIELD(vout_salvium)
|
FIELD(vout_salvium)
|
||||||
@@ -770,11 +770,11 @@ namespace cryptonote
|
|||||||
if (sal_tx_type != cryptonote::salvium_transaction_type::UNSET && sal_tx_type != cryptonote::salvium_transaction_type::PROTOCOL) {
|
if (sal_tx_type != cryptonote::salvium_transaction_type::UNSET && sal_tx_type != cryptonote::salvium_transaction_type::PROTOCOL) {
|
||||||
VARINT_FIELD(amount_burnt)
|
VARINT_FIELD(amount_burnt)
|
||||||
if (sal_tx_type != cryptonote::salvium_transaction_type::MINER) {
|
if (sal_tx_type != cryptonote::salvium_transaction_type::MINER) {
|
||||||
if (type == cryptonote::salvium_transaction_type::TRANSFER && version >= TRANSACTION_VERSION_N_OUTS) {
|
if (sal_tx_type == cryptonote::salvium_transaction_type::TRANSFER && version >= TRANSACTION_VERSION_N_OUTS) {
|
||||||
FIELD(return_address_list)
|
FIELD(return_address_list)
|
||||||
FIELD(return_address_change_mask)
|
FIELD(return_address_change_mask)
|
||||||
} else {
|
} else {
|
||||||
if (type == cryptonote::salvium_transaction_type::STAKE &&
|
if (sal_tx_type == cryptonote::salvium_transaction_type::STAKE &&
|
||||||
version >= TRANSACTION_VERSION_CARROT)
|
version >= TRANSACTION_VERSION_CARROT)
|
||||||
{
|
{
|
||||||
FIELD(protocol_tx_data)
|
FIELD(protocol_tx_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user