Episode 74: P2SH
Ep. 74

Episode 74: P2SH

•

Episode description

In this episode of Bitcoin, Explained, Aaron and Sjors explain pay-to-script-hash (P2SH), which allows bitcoin to be sent to and from the hash of a script. Besides (the current implementation of) P2SH itself, Aaron and Sjors also discuss some alternatives that were proposed around the time that P2SH was adopted in 2012.

For further reading on the history of P2SH, also see “The Battle for P2SH: The Untold History of Bitcoin’s First War“

Chapters

00:00:00 Introduction and listener boost
00:04:22 How pay-to-script-hash works
00:10:53 OP_EVAL: the first proposal
00:16:11 Why OP_EVAL raised recursion risks
00:23:43 P2SH script templates and soft forks
00:28:16 CheckHashVerify: the alternative proposal
00:33:58 Choosing P2SH: miner signaling and developer review
00:38:28 Deployment mishaps and upgrading Bitcoin

Episode Sponsor: https://voltage.cloud/

Sjors New Book: https://www.amazon.com/Bitcoin-Technical-innovations-Sjors-Provoost/dp/9090360425

0:00Introduction and listener boost
4:22How pay-to-script-hash works
10:53OP_EVAL: the first proposal
16:11Why OP_EVAL raised recursion risks
23:43P2SH script templates and soft forks
28:16CheckHashVerify: the alternative proposal
33:58Choosing P2SH: miner signaling and developer review
38:28Deployment mishaps and upgrading Bitcoin