From 8b05f397139c21ff579f95c185693e67cddb4fdb Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 02:06:43 +0200 Subject: [PATCH] disable OP_KEVA_DELETE index --- src/index.php | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/index.php b/src/index.php index b83455c..0a1ff55 100644 --- a/src/index.php +++ b/src/index.php @@ -311,31 +311,6 @@ for ($block = $state; $block <= $blocks; $block++) break; - case 'OP_KEVA_DELETE': - - if (empty($asm[1]) || empty($asm[2])) - { - exit( - sprintf( - _('Undefined namespace or key of transaction "%s" in block "%d"!'), - $transaction, - $block - ) - ); - } - - $namespace = \Kvazar\Crypto\Base58::encode( - $asm[1], false, 0, false - ); - - $key = \Kvazar\Crypto\Kevacoin::decode( - $asm[2] - ); - - $value = ''; - - break; - case 'OP_KEVA_NAMESPACE': if (empty($asm[1]) || empty($asm[2])) @@ -362,6 +337,7 @@ for ($block = $state; $block <= $blocks; $block++) break; // @TODO not in use at this moment + case 'OP_KEVA_DELETE': case 'OP_HASH160': case 'OP_RETURN': case 'OP_DUP':