diff --git a/qa/rpc-tests/test_framework/script.py b/qa/rpc-tests/test_framework/script.py index ad64d7c84a8..6287588c246 100644 --- a/qa/rpc-tests/test_framework/script.py +++ b/qa/rpc-tests/test_framework/script.py @@ -235,7 +235,7 @@ def __new__(cls, n): OP_NOP1 = CScriptOp(0xb0) OP_CHECKLOCKTIMEVERIFY = CScriptOp(0xb1) OP_CHECKSEQUENCEVERIFY = CScriptOp(0xb2) -OP_CHECKGROTH16VERIFY = CScriptOp(0xb3) +OP_CHECKZKPVERIFY = CScriptOp(0xb3) OP_NOP5 = CScriptOp(0xb4) OP_NOP6 = CScriptOp(0xb5) OP_NOP7 = CScriptOp(0xb6) @@ -362,7 +362,7 @@ def __new__(cls, n): OP_NOP1, OP_CHECKLOCKTIMEVERIFY, OP_CHECKSEQUENCEVERIFY, - OP_CHECKGROTH16VERIFY, + OP_CHECKZKPVERIFY, OP_NOP5, OP_NOP6, OP_NOP7, @@ -481,7 +481,7 @@ def __new__(cls, n): OP_NOP1 : 'OP_NOP1', OP_CHECKLOCKTIMEVERIFY : 'OP_CHECKLOCKTIMEVERIFY', OP_CHECKSEQUENCEVERIFY : 'OP_CHECKSEQUENCEVERIFY', - OP_CHECKGROTH16VERIFY : 'OP_CHECKGROTH16VERIFY', + OP_CHECKZKPVERIFY : 'OP_CHECKZKPVERIFY', OP_NOP5 : 'OP_NOP5', OP_NOP6 : 'OP_NOP6', OP_NOP7 : 'OP_NOP7', @@ -600,7 +600,7 @@ def __new__(cls, n): 'OP_NOP1' : OP_NOP1, 'OP_CHECKLOCKTIMEVERIFY' : OP_CHECKLOCKTIMEVERIFY, 'OP_CHECKSEQUENCEVERIFY' : OP_CHECKSEQUENCEVERIFY, - 'OP_CHECKGROTH16VERIFY' : OP_CHECKGROTH16VERIFY, + 'OP_CHECKZKPVERIFY' : OP_CHECKZKPVERIFY, 'OP_NOP5' : OP_NOP5, 'OP_NOP6' : OP_NOP6, 'OP_NOP7' : OP_NOP7, diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index c3fa9013253..7fe0eb8be01 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -1025,7 +1025,7 @@ bool EvalScript(vector >& stack, const CScript& script, un } } break; - case OP_CHECKGROTH16VERIFY: + case OP_CHECKZKPVERIFY: { // Ensure stack has enough elements for the groth16 proof verification if (stack.size() < 12) diff --git a/src/script/script.cpp b/src/script/script.cpp index ff43a686fd1..76974510329 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -133,7 +133,7 @@ const char* GetOpName(opcodetype opcode) case OP_NOP1 : return "OP_NOP1"; case OP_CHECKLOCKTIMEVERIFY : return "OP_CHECKLOCKTIMEVERIFY"; case OP_CHECKSEQUENCEVERIFY : return "OP_CHECKSEQUENCEVERIFY"; - case OP_CHECKGROTH16VERIFY : return "OP_CHECKGROTH16VERIFY"; + case OP_CHECKZKPVERIFY : return "OP_CHECKZKPVERIFY"; case OP_NOP5 : return "OP_NOP5"; case OP_NOP6 : return "OP_NOP6"; case OP_NOP7 : return "OP_NOP7"; diff --git a/src/script/script.h b/src/script/script.h index c43907e6327..d75012e5b2b 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -169,7 +169,7 @@ enum opcodetype OP_NOP2 = OP_CHECKLOCKTIMEVERIFY, OP_CHECKSEQUENCEVERIFY = 0xb2, OP_NOP3 = OP_CHECKSEQUENCEVERIFY, - OP_CHECKGROTH16VERIFY = 0xb3, + OP_CHECKZKPVERIFY = 0xb3, OP_NOP5 = 0xb4, OP_NOP6 = 0xb5, OP_NOP7 = 0xb6,