Mastering the Lightning Network by Andreas M. Antonopoulos & Olaoluwa Osuntokun & Rene Pickhardt
Author:Andreas M. Antonopoulos & Olaoluwa Osuntokun & Rene Pickhardt
Language: eng
Format: epub, mobi
Published: 2021-12-22T16:31:38+00:00
Figure 35. Alice cheating
As you can see, Aliceâs old commitment has two outputs, one paying herself 70,000 satoshis (to_local output) and one paying Bob 70,000 satoshis. Alice canât yet spend her 70,000 to_local output because it has a 432 block (3 day) timelock. She is now hoping that Bob doesnât notice for three days.
Unfortunately for Alice, Bobâs node is diligently monitoring the Bitcoin blockchain and sees an old commitment transaction broadcast and (eventually) confirmed on-chain.
Bobâs node will immediately broadcast a penalty transaction. Since this old commitment was revoked by Alice, Bob has the per_commitment_secret that Alice sent him. He uses that secret to construct a signature for the revocation_pubkey. While Alice has to wait for 432 blocks, Bob can spend both outputs immediately. He can spend the to_remote output with his private keys because it was meant to pay him anyway. He can also spend the output meant for Alice with a signature from the revocation key. His node broadcasts the penalty transaction shown in Cheating and penalty.
Download
Mastering the Lightning Network by Andreas M. Antonopoulos & Olaoluwa Osuntokun & Rene Pickhardt.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Zero to IPO: Over $1 Trillion of Actionable Advice from the World's Most Successful Entrepreneurs by Frederic Kerrest(4048)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3618)
Harry Potter and the Goblet Of Fire by J.K. Rowling(3608)
Never by Ken Follett(3523)
Ogilvy on Advertising by David Ogilvy(3327)
Shadow of Night by Deborah Harkness(3173)
The Man Who Died Twice by Richard Osman(2807)
Book of Life by Deborah Harkness(2717)
My Brilliant Friend by Elena Ferrante(2698)
How Proust Can Change Your Life by Alain De Botton(2613)
0041152001443424520 .pdf by Unknown(2592)
Will by Will Smith(2577)
The Tipping Point by Malcolm Gladwell(2556)
How to Pay Zero Taxes, 2018 by Jeff A. Schnepper(2499)
Purple Hibiscus by Chimamanda Ngozi Adichie(2481)
Hooked: A Dark, Contemporary Romance (Never After Series) by Emily McIntire(2416)
Rationality by Steven Pinker(2148)
Borders by unknow(2116)
Daughter of Smoke and Bone by Laini Taylor(2077)
