Question: Question No. 2. (CLO-2) Write a Bitcoin script that executes a transaction puzzle, such that, script takes 2 data values as input. The puzzle is

Question No. 2. (CLO-2) Write a Bitcoin script that executes a transaction puzzle, such that, script takes 2 data values as input. The puzzle is solved by hashing and data value twice and comparing it with first data value. If both are equal then 'l' is pushed to stack, otherwise 'O' is pushed to stack. Question No. 2. (CLO-2) Write a Bitcoin script that executes a transaction puzzle, such that, script takes 2 data values as input. The puzzle is solved by hashing and data value twice and comparing it with first data value. If both are equal then 'l' is pushed to stack, otherwise 'O' is pushed to stack
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
