bumped version for consensus rules hard fork
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Salvium Zero v0.7.0
|
# Salvium Zero v0.7.1
|
||||||
|
|
||||||
Copyright (c) 2023-2024, Salvium
|
Copyright (c) 2023-2024, Salvium
|
||||||
Portions Copyright (c) 2014-2023, The Monero Project
|
Portions Copyright (c) 2014-2023, The Monero Project
|
||||||
|
|||||||
@@ -220,6 +220,8 @@
|
|||||||
|
|
||||||
#define HF_VERSION_FULL_PROOFS 3
|
#define HF_VERSION_FULL_PROOFS 3
|
||||||
|
|
||||||
|
#define HF_VERSION_ENFORCE_FULL_PROOFS 4
|
||||||
|
|
||||||
#define HF_VERSION_REQUIRE_VIEW_TAGS 255
|
#define HF_VERSION_REQUIRE_VIEW_TAGS 255
|
||||||
#define HF_VERSION_ENABLE_CONVERT 255
|
#define HF_VERSION_ENABLE_CONVERT 255
|
||||||
#define HF_VERSION_ENABLE_ORACLE 255
|
#define HF_VERSION_ENABLE_ORACLE 255
|
||||||
|
|||||||
@@ -923,6 +923,16 @@ namespace cryptonote
|
|||||||
if (tx_info[n].tx->version < 2)
|
if (tx_info[n].tx->version < 2)
|
||||||
continue;
|
continue;
|
||||||
const rct::rctSig &rv = tx_info[n].tx->rct_signatures;
|
const rct::rctSig &rv = tx_info[n].tx->rct_signatures;
|
||||||
|
const uint8_t hf_version = m_blockchain_storage.get_current_hard_fork_version();
|
||||||
|
if (hf_version >= HF_VERSION_ENFORCE_FULL_PROOFS) {
|
||||||
|
if (rv.type != rct::RCTTypeNull && rv.type != rct::RCTTypeFullProofs) {
|
||||||
|
MERROR_VER("Invalid RCT type provided");
|
||||||
|
set_semantics_failed(tx_info[n].tx_hash);
|
||||||
|
tx_info[n].tvc.m_verifivation_failed = true;
|
||||||
|
tx_info[n].result = false;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
switch (rv.type) {
|
switch (rv.type) {
|
||||||
case rct::RCTTypeNull:
|
case rct::RCTTypeNull:
|
||||||
// coinbase should not come here, so we reject for all other types
|
// coinbase should not come here, so we reject for all other types
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ const hardfork_t mainnet_hard_forks[] = {
|
|||||||
|
|
||||||
// version 3 starts from block 121100, which is on or around the 19th of December, 2024. Fork time finalised on 2024-12-18. No fork voting occurs for the v3 fork.
|
// version 3 starts from block 121100, which is on or around the 19th of December, 2024. Fork time finalised on 2024-12-18. No fork voting occurs for the v3 fork.
|
||||||
{ 3, 121100, 0, 1734516900 },
|
{ 3, 121100, 0, 1734516900 },
|
||||||
|
|
||||||
|
// version 4 starts from block 121100, which is on or around the 20th of December, 2024. Fork time finalised on 2024-12-19. No fork voting occurs for the v4 fork.
|
||||||
|
{ 4, 121800, 0, 1734607000 },
|
||||||
};
|
};
|
||||||
const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]);
|
const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]);
|
||||||
const uint64_t mainnet_hard_fork_version_1_till = ((uint64_t)-1);
|
const uint64_t mainnet_hard_fork_version_1_till = ((uint64_t)-1);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#define DEF_SALVIUM_VERSION_TAG "@VERSIONTAG@"
|
#define DEF_SALVIUM_VERSION_TAG "@VERSIONTAG@"
|
||||||
#define DEF_SALVIUM_VERSION "0.7.0"
|
#define DEF_SALVIUM_VERSION "0.7.1"
|
||||||
#define DEF_MONERO_VERSION_TAG "release"
|
#define DEF_MONERO_VERSION_TAG "release"
|
||||||
#define DEF_MONERO_VERSION "0.18.3.3"
|
#define DEF_MONERO_VERSION "0.18.3.3"
|
||||||
#define DEF_MONERO_RELEASE_NAME "Zero"
|
#define DEF_MONERO_RELEASE_NAME "Zero"
|
||||||
|
|||||||
Reference in New Issue
Block a user