This pull request adds the MERKLEBRANCHVERIFY opcode, nearly as specified in BIP116. Unlike BIP116, this implementation of MPV drops its first 3 arguments. This is only compatible with use in a new script version, and is targeted for inclusion into segwit script.
This code got a pretty solid review when it was proposed for bitcoin, and hasn't changed significantly since then.
This pull request adds the
MERKLEBRANCHVERIFY
opcode, nearly as specified in BIP116. Unlike BIP116, this implementation of MPV drops its first 3 arguments. This is only compatible with use in a new script version, and is targeted for inclusion into segwit script.This code got a pretty solid review when it was proposed for bitcoin, and hasn't changed significantly since then.