A Bitcoin Q&A with aantonop
Advanced Bitcoin Scripting -- Part 1: Transactions & Multisig
This is the first part of a more technical talk where Andreas explores Bitcoin script, with examples from the 2nd edition of Mastering Bitcoin, focusing on the use of conditional statements, flow control, guard clauses and time locks. The examples will include advanced multi-signature scripts, hash time lock contracts and asymmetric revocable commitments. Then he answers questions about Bitcoin's quirky bugs, where Bitcoin differs from Ethereum at a scripting level, how SegWit works, how consensus rules change, and whether Bitcoin is more than just a currency. This talk took place at the San Francisco Bitcoin Developer (@SFBitcoinDev) meetup on April 3rd, 2017: http://bit.ly/2iRu4R5 Review materials on the topics presented: Chpt. 7: http://bit.ly/2eto24i Chpt. 12: http://bit.ly/2iQGbOr The fundamentals of Bitcoin script 2:17 Bitcoin's operators 5:00 Creating transactions (P2PKH - Pay to Public Key Hash) 6:30 Public Key CheckSigs, security by obfuscating public keys 7:42 Redeeming the script 9:05 The RIPEMD160 hash operation 12:05 OP_EQUALVERIFY, OP_CHECKSIG, & the elliptic curve digital signature algorithm (ECDSA) 14:05 Summary 18:30 Illustrating scripts: Equal, EqualVerify, CheckSig, CheckVerify, CheckMultisig, CheckLockTimeVerify 19:45 Guard clauses 23:02 Script-based timelocks 24:53 Flow control statements, interactive artificial intelligence 26:50 If, Else, EndIf 28:35 Unlocking scripts, what conditional flows do in Bitcoin 33:55 1-of-2 multi-signature script 35:44 1-of-2 multi-signature script with guard clause 38:28 2-of-3 multi-signature script 41:30 2-of-3 multi-signature script with timelock guard clause 43:20 BIP-113, how time is referenced in Bitcoin 44:42 Backup clause & other nuances in multi-signature schemes 46:58 Game theory, complexity from simplicity 52:36 2-of-3 multi-signature script, unlocking 53:45 RELATED: Bitcoin: Where the Laws of Mathematics Prevail - https://youtu.be/HaJ1hvon0E0 The rules of Bitcoin (part 1) - https://youtu.be/VnQu4uylfOs The rules of Bitcoin (part 2) - https://youtu.be/vtIp0GP4w1E Forkology: A Study of Forks for Newbies - https://youtu.be/rpeceXY1QBM Irreversibility and consumer protection - https://youtu.be/R107YWu5XzU Andreas M. Antonopoulos is a technologist and serial entrepreneur who has become one of the most well-known and well-respected figures in bitcoin. Follow on Twitter: @aantonop https://twitter.com/aantonop Website: http://bit.ly/2nHQ2qV He is the author of two books: “Mastering Bitcoin,” published by O’Reilly Media and considered the best technical guide to bitcoin; “The Internet of Money,” a book about why bitcoin matters. THE INTERNET OF MONEY, v1: http://amzn.to/2mV8Ka4 MASTERING BITCOIN: http://amzn.to/2nHVDxD [NEW] MASTERING BITCOIN, 2nd Edition: http://amzn.to/2gsO380 Subscribe to the channel to learn more about Bitcoin & open blockchains! If you want early-access to talks and a chance to participate in a monthly LIVE Q&A with Andreas, become a patron: http://bit.ly/2wVk4N7 Music: "Unbounded" by Orfan (http://bit.ly/2mVihxN) Outro Graphics: Phneep (http://bit.ly/2nHZNpc) Outro Art: Rock Barcellos (http://bit.ly/2mV79Bi)
View on YouTube
This is the first part of a more technical talk where Andreas explores Bitcoin script, with examples from the 2nd edition of Mastering Bitcoin, focusing on the use of conditional statements, flow control, guard clauses and time locks. The examples will include advanced multi-signature scripts, hash time lock contracts and asymmetric revocable commitments. Then he answers questions about Bitcoin's quirky bugs, where Bitcoin differs from Ethereum at a scripting level, how SegWit works, how consensus rules change, and whether Bitcoin is more than just a currency. This talk took place at the San Francisco Bitcoin Developer (@SFBitcoinDev) meetup on April 3rd, 2017: http://bit.ly/2iRu4R5 Review materials on the topics presented: Chpt. 7: http://bit.ly/2eto24i Chpt. 12: http://bit.ly/2iQGbOr The fundamentals of Bitcoin script 2:17 Bitcoin's operators 5:00 Creating transactions (P2PKH - Pay to Public Key Hash) 6:30 Public Key CheckSigs, security by obfuscating public keys 7:42 Redeeming the script 9:05 The RIPEMD160 hash operation 12:05 OP_EQUALVERIFY, OP_CHECKSIG, & the elliptic curve digital signature algorithm (ECDSA) 14:05 Summary 18:30 Illustrating scripts: Equal, EqualVerify, CheckSig, CheckVerify, CheckMultisig, CheckLockTimeVerify 19:45 Guard clauses 23:02 Script-based timelocks 24:53 Flow control statements, interactive artificial intelligence 26:50 If, Else, EndIf 28:35 Unlocking scripts, what conditional flows do in Bitcoin 33:55 1-of-2 multi-signature script 35:44 1-of-2 multi-signature script with guard clause 38:28 2-of-3 multi-signature script 41:30 2-of-3 multi-signature script with timelock guard clause 43:20 BIP-113, how time is referenced in Bitcoin 44:42 Backup clause & other nuances in multi-signature schemes 46:58 Game theory, complexity from simplicity 52:36 2-of-3 multi-signature script, unlocking 53:45 RELATED: Bitcoin: Where the Laws of Mathematics Prevail - https://youtu.be/HaJ1hvon0E0 The rules of Bitcoin (part 1) - https://youtu.be/VnQu4uylfOs The rules of Bitcoin (part 2) - https://youtu.be/vtIp0GP4w1E Forkology: A Study of Forks for Newbies - https://youtu.be/rpeceXY1QBM Irreversibility and consumer protection - https://youtu.be/R107YWu5XzU Andreas M. Antonopoulos is a technologist and serial entrepreneur who has become one of the most well-known and well-respected figures in bitcoin. Follow on Twitter: @aantonop https://twitter.com/aantonop Website: http://bit.ly/2nHQ2qV He is the author of two books: “Mastering Bitcoin,” published by O’Reilly Media and considered the best technical guide to bitcoin; “The Internet of Money,” a book about why bitcoin matters. THE INTERNET OF MONEY, v1: http://amzn.to/2mV8Ka4 MASTERING BITCOIN: http://amzn.to/2nHVDxD [NEW] MASTERING BITCOIN, 2nd Edition: http://amzn.to/2gsO380 Subscribe to the channel to learn more about Bitcoin & open blockchains! If you want early-access to talks and a chance to participate in a monthly LIVE Q&A with Andreas, become a patron: http://bit.ly/2wVk4N7 Music: "Unbounded" by Orfan (http://bit.ly/2mVihxN) Outro Graphics: Phneep (http://bit.ly/2nHZNpc) Outro Art: Rock Barcellos (http://bit.ly/2mV79Bi)
View on YouTube
one year ago was really a tough year for me,my wife and my family . I have never been the type to believe in online platforms to make money, I have always believed in rendering services and adding apparent values to anything and then making money from it. But when COVID struck,my business had to shut down,then I was left with no choice but to think of other legit ways to make money . I was presented a lucrative offer in ‘FX INVEST OPTION’ since it was the only thing that was making sense as at the time I wanted to invest. All thanks to = GLOBALFXINVESTMENT2@GMAIL.COM, I cannot thank them enough,one of my business associates referred me to them when he heard of my situation after reaching out to loan some money from him ,I contacted them via their email,and related necessary information and requirements as requested by the specialist who asked for all the necessary details and in less than a week ,they were able to retrieve all I lost to this fake investors,It seemed like a dream to me because I had lost all hope. I told them I will tell the whole world about what they did for me,they literally restored me to life. If you’re seeking funds/Cryptocurrency from online scammers , contact them rightly away;- at GLOBALFXINVESTMENT2@GMAIL.COM and also his Telegram @FX_INVEST_OPTION
ReplyDeleteAlso contact him +1 (505) 317-3340…
Ich möchte DR. AKHERE für die wundervolle Arbeit danken, die er für mich und meine Familie geleistet hat. Ich hatte eine ernsthafte Trennung von meinem Ex, aber als ich ihn um Hilfe bat, brachte er ihn mit seinen historischen Kräften zu mir zurück und half mir auch dabei einen Job zu bekommen, da er mich verzaubert hat, hat es mir wirklich gut getan und seit ich ihn kenne, ist mein Mann mir treu geblieben Hilfe, wenn Sie mit einer Trennung oder einem Eheproblem konfrontiert sind, wenden Sie sich einfach an diesen Mann, um Hilfe zu erhalten. Er wird Ihnen helfen, alles mit seiner Macht zu regeln. Bitte kontaktieren Sie ihn über seine E-Mail: AKHERETEMPLE@gmail.com oder rufen Sie / whatsapp: +2349057261346 an Ihre Probleme werden gelöst.
ReplyDeleteIch möchte DR. AKHERE für die wundervolle Arbeit danken, die er für mich und meine Familie geleistet hat. Ich hatte eine ernsthafte Trennung von meinem Ex, aber als ich ihn um Hilfe bat, brachte er ihn mit seinen historischen Kräften zu mir zurück und half mir auch dabei einen Job zu bekommen, da er mich verzaubert hat, hat es mir wirklich gut getan und seit ich ihn kenne, ist mein Mann mir treu geblieben Hilfe, wenn Sie mit einer Trennung oder einem Eheproblem konfrontiert sind, wenden Sie sich einfach an diesen Mann, um Hilfe zu erhalten. Er wird Ihnen helfen, alles mit seiner Macht zu regeln. Bitte kontaktieren Sie ihn über seine E-Mail: AKHERETEMPLE@gmail.com oder rufen Sie / whatsapp: +2349057261346 an Ihre Probleme werden gelöst.