We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d36ee99 + 3ff4a4c commit 1904334Copy full SHA for 1904334
bip-0119.mediawiki
@@ -167,6 +167,12 @@ specification for the semantics of OP_CHECKTEMPLATEVERIFY.
167
}
168
break;
169
170
+Where
171
+
172
+ bool CheckDefaultCheckTemplateVerifyHash(const std::vector<unsigned char>& hash) {
173
+ return GetDefaultCheckTemplateVerifyHash(current_tx, current_input_index) == uint256(hash);
174
+ }
175
176
The hash is computed as follows:
177
178
uint256 GetDefaultCheckTemplateVerifyHash(const CTransaction& tx, uint32_t input_index) {
0 commit comments