forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Feb 19, 2022, 06:11 am

Title: Liquid tapscript opcodes
Post by: Bitcoin on Feb 19, 2022, 06:11 am
Liquid tapscript opcodes

Related question: What opcodes are supported on Liquid but not yet on Bitcoin?


I had seen few opcodes in the slides shared by notgrubles on Twitter


liquid-opcodes


Opcodes:


OP_INSPECTCURRENTINPUT
OP_INSPECTINPUT
OP_INSPECTOUTPUT
OP_TAPTWEAK
OP_MUL64
OP_DIV64
OP_SCALARADD
OP_SCALARMUL

Couldn't find any of these in Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/90f6a623b394e65a34a1918ec67420c899c52bf4/src/script/script.h#L64


So I am assuming they will only be used by Liquid.


Question: What does each of these opcodes do and are OP_MUL64 OP_DIV64 same as OP_MUL OP_DIV?


Source: Liquid tapscript opcodes (https://bitcoin.stackexchange.com/questions/109766/liquid-tapscript-opcodes)