From 7b5319757107675ad54f38dcd916d74d6aa87772 Mon Sep 17 00:00:00 2001 From: j-berman Date: Sun, 5 Oct 2025 17:56:57 -0700 Subject: Cleaner validation (faster and saner) --- src/cryptonote_core/blockchain.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/cryptonote_core/blockchain.cpp') diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 74c87b921..d38586cd4 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3009,21 +3009,6 @@ bool Blockchain::check_tx_outputs(const transaction& tx, tx_verification_context } } - // from v4, forbid invalid pubkeys - if (hf_version >= 4) { - for (const auto &o: tx.vout) { - crypto::public_key output_public_key; - if (!get_output_public_key(o, output_public_key)) { - tvc.m_invalid_output = true; - return false; - } - if (!crypto::check_key(output_public_key)) { - tvc.m_invalid_output = true; - return false; - } - } - } - // from v8, allow bulletproofs if (hf_version < 8) { if (tx.version >= 2) { -- cgit v1.2.3