Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateLayer Two Labs, drivechains for Bitcoin
BIP 12

OP_EVAL

Closed Closed Consensus (soft fork) Specification Assigned 2011-10-18

OP_EVAL, an opcode to run a script from the stack. Its own text records the objection that evaluating data as code adds complexity; P2SH (BIP 16) replaced it.

Plain-English summary by Bitcoin Takeover, based on the BIP text.
From the BIP’s abstract

This BIP describes a new opcode (OP_EVAL) for the Bitcoin scripting system, and a new 'standard' transaction type that uses it to enables the receiver of bitcoins to specify the transaction type needed to re-spend them.

Read BIP 12 on GitHubFind in explorer

Drama

The P2SH War — Competing code, competing coinbase votes and competing thresholds for the same feature — an early template for every activation fight that followed. OP_EVAL (BIP 12) had already been replaced over complexity concerns.

Authors

Gavin Andresen
Gavin Andresen12 BIPs · Wiki · X

In the Bitcoin Takeover Wiki

0:000:00