New answers tagged

0

On that wiki link you posted it states: If any opcode marked as disabled is present in a script, it must abort and fail. An attempted UTXO spend with a failed script will not be relayed between nodes running Bitcoin Core (and other major implementations) and certainly won't be included in a mined block. The mainnet coinbase transaction you link to includes ...


4

The secret is that it is being interpreted as an opcode. Opcodes 0x01 through 0x4b (decimal 1 to 75) are opcodes that specify the length of the data being pushed after them, as their own numerical value. That is to say, 0x01 means it is followed by 1 byte of data, 0x02 means 2 bytes, and so on. This lets you push up to 75 bytes of data using a single op code ...


2

To construct the script you could use Pieter Wuille's Miniscript site. If you go to the Policy to Miniscript compiler section there is an example in Policy for a 2-of-2 multisig that turns into a 1-of-2 multisig after 90 days. and(pk(key_user),or(99@pk(key_service),older(12960))) You would need to adjust it for your desired example. A Policy that fits your ...


Top 50 recent answers are included