From d6f95156bc7e5e025283abe491072697163595d5 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Thu, 19 Mar 2026 16:34:50 +0000 Subject: [PATCH] added 1.1.0-rc6 hashes; added consensus block on SAL* tokens --- salvium-v1.1.0-rc6-hashes.txt | 5 +++++ src/cryptonote_core/blockchain.cpp | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 salvium-v1.1.0-rc6-hashes.txt diff --git a/salvium-v1.1.0-rc6-hashes.txt b/salvium-v1.1.0-rc6-hashes.txt new file mode 100644 index 000000000..5380f209d --- /dev/null +++ b/salvium-v1.1.0-rc6-hashes.txt @@ -0,0 +1,5 @@ +b712adec8fa6bbcbe461b0748649e4c9e4fb61934fc1adb064779afed28c0758 salvium-v1.1.0-rc6-macos-aarch64.zip +8635955ff784f936a8b8de5be267e5dcdc0b55dfbf0b6f65ba24d098d8b8ab00 salvium-v1.1.0-rc6-macos-x86_64.zip +79b65ba9a074aeba87f03d83a07c3a6c51815d376049b3136a38c1a33260bfac salvium-v1.1.0-rc6-ubuntu22.04-linux-aarch64.zip +9031763ad60d1c8c572c76c5cb51a96b1680b9708c287264388f3d411bda464f salvium-v1.1.0-rc6-ubuntu22.04-linux-x86_64.zip +e3a8e53e092041ed9ed32c98d5d0ecf548f42232402748f862371ba21e1f1f9f salvium-v1.1.0-rc6-win64.zip diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 3c91f4a87..d7971abf3 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -4099,6 +4099,8 @@ bool Blockchain::check_tx_type_and_version(const transaction& tx, tx_verificatio } if (tx.type == cryptonote::transaction_type::CREATE_TOKEN) { + // Check that the ticker doesn't begin with the reserved chars `SAL` + CHECK_AND_ASSERT_MES(tx.token_metadata.asset_type.substr(0,3) != "SAL", false, "Invalid CREATE_TOKEN ticker - SAL* is reserved"); // Check that the specific asset_type being created isn't already in our list of tokens std::map mapTokens = m_db->get_tokens(); std::string asset_type = "sal" + tx.token_metadata.asset_type;