<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by John Light on Medium]]></title>
        <description><![CDATA[Stories by John Light on Medium]]></description>
        <link>https://medium.com/@lightcoin?source=rss-934f09f8ded3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*RkG4pfo957ifgxWcxvM0nQ.jpeg</url>
            <title>Stories by John Light on Medium</title>
            <link>https://medium.com/@lightcoin?source=rss-934f09f8ded3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 09:35:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lightcoin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Not your keys, not your coins]]></title>
            <link>https://medium.com/@lightcoin/not-your-keys-not-your-coins-219ce64d6a8a?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/219ce64d6a8a</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Wed, 03 Jan 2024 21:21:52 GMT</pubDate>
            <atom:updated>2024-07-23T11:31:37.902Z</atom:updated>
            <content:encoded><![CDATA[<p>Today is the 15th <a href="https://lightco.in/2017/01/03/happy-genesis-block-day/">Genesis Block Day</a>, the anniversary of the creation of bitcoin’s genesis block. With Genesis Block Day comes <a href="https://www.proofofkeys.com/">Proof of Keys</a>, a Genesis Block Day celebration <a href="https://twitter.com/lightcoin/status/1072711075114692613">started in 2018</a> by Trace Mayer to remind Bitcoiners about the importance of self-custody. Every Genesis Block Day, Bitcoiners can participate in the Proof of Keys celebration by withdrawing any BTC that they currently hold with third-party custodians to their own wallet. Bitcoin was created to eliminate the need for trusted third party control of electronic money. All Bitcoiners should take full advantage of this <a href="https://lightco.in/2022/11/24/thankful/">amazing gift</a> that Satoshi has given to the world!</p><p>Proof of Keys has two primary benefits. First, it reduces complacency among Bitcoiners by getting them in the habit of withdrawing to self-custody. Second, if enough people practice Proof of Keys, then we can reveal whether custodians actually have all of the BTC in custody that are supposed to match customer balances, or if they are secretly insolvent (as too many custodians have been in the past).</p><p>The strongest form of self-custody is when you use a wallet app that is backed by your own <a href="https://lightco.in/2020/12/20/bitcoin-full-nodes/">bitcoin full node</a>. This type of wallet will verify that the BTC that you receive has actually been confirmed in a valid block on the canonical bitcoin blockchain. No trusted third party required! Examples of this type of wallet include <a href="https://bitcoincore.org/">Bitcoin Core</a> and Electrum <a href="https://github.com/john-light/bitcoin/blob/master/eps.md">backed by an Electrum Personal Server</a>.</p><p>A weaker form of self-custody is using a wallet that relies on a trusted third party to tell you whether or not the BTC that you receive has been confirmed. Examples of this type of wallet include desktop wallets like <a href="https://electrum.org/">Electrum</a> and <a href="https://www.wasabiwallet.io/">Wasabi</a>, or mobile wallets like <a href="https://muun.com/">Muun</a> and <a href="https://phoenix.acinq.co/">Phoenix</a>. There are many wallet options to choose from depending on how you intend to use your BTC and other preferences you have. Check out <a href="https://bitcoin.org/en/choose-your-wallet">bitcoin.org</a> and <a href="https://walletscrutiny.com/">walletscrutiny.com</a> for more information about picking a good wallet.</p><p>In addition to considering which wallet app you want to use, you should also consider how you are going to secure the keys to your wallet. Remember that your keys are used to authorize transfers of your BTC, so it’s important to keep your keys safe from hackers and anyone else who might mishandle them. A hardware wallet can be an easy and secure way to protect your keys. <a href="https://www.ledger.com/">Ledger</a> and <a href="https://trezor.io/">Trezor</a> are the most established and widely-supported options, though newer hardware wallets such as the <a href="https://foundationdevices.com/">Passport</a> are also worth looking at.</p><p>The last big decision to make before you show your Proof of Keys is to decide how you are going to recover your BTC if anything happens to you or your wallet, for example if you get hit by a bus or you lose your wallet in some kind of accident (perhaps a boating accident). There are good options to consider here as well, including “collaborative custody” services such as <a href="https://casa.io/">Casa</a>, <a href="https://nunchuk.io/">Nunchuk</a>, and <a href="https://unchained.com/">Unchained</a>, as well as steel backup tools (too many to name — see extensive reviews <a href="https://jlopp.github.io/metal-bitcoin-storage-reviews/">here</a>). Again, what you choose largely depends on your own circumstances and preferences.</p><p>With all the options for a bitcoin self-custody setup, it can feel overwhelming to do Proof of Keys. So here is a quick step by step guide that explains a simple setup that should be secure and easy enough to follow for you to feel comfortable getting started. Taking some form of self-custody is the most important step, then you can optimize your setup from there as you acquire more knowledge, save up more BTC, have a change in life circumstances, or whatever the case may be. Feel free to <a href="https://lightco.in/contact/">send me a message</a> if you have any questions about this.</p><p><strong>How to do Proof of Keys</strong></p><p>Step 1. Buy a hardware wallet. Any of the ones mentioned above will work well enough.</p><p>Step 2. Buy one of the steel backup tools with a good rating from the previously mentioned <a href="https://jlopp.github.io/metal-bitcoin-storage-reviews/">list</a>.</p><p>Step 3. Set up the hardware wallet and back up your seed phrase (which is used to generate your keys) using the steel backup tool. Store the steel backup with your other valuables or important documents. Keep in mind that anyone who finds the backup will be able to access your wallet and transfer your BTC, so keep it away from prying eyes.</p><p>Step 4. Connect your hardware wallet to one of the wallet apps mentioned above and generate a new bitcoin address. You should be able to click “Confirm address” or something like that to verify the address on your hardware wallet screen, ensuring that the address really was generated by your hardware wallet.</p><p>Step 5. On the “Withdraw” section of your bitcoin custodian’s website, copy and paste the bitcoin address that you generated in Step 4 into the withdrawal address field. Click “Confirm” or whatever the button says to complete the withdrawal. After a few minutes (sometimes up to an hour or two later depending on network traffic and your custodian’s withdrawal processes) you should see the BTC appear in your wallet.</p><p>If you made it this far, congrats! You have demonstrated Proof of Keys and now have self-custody of your BTC.</p><p><em>Note: You could also follow the steps above, but skip buying a hardware wallet and steel backup, and use your wallet app to generate your keys on your computer and backup the seed phrase by writing it down on a piece of paper instead. Only do this for relatively small amounts of BTC and only if you are certain that your computer doesn’t have any viruses/malware on it.</em></p><p>Additional self-custody resources for further research:</p><p><a href="https://btcguide.github.io/">https://btcguide.github.io</a> <br><a href="https://www.smartcustody.com/">https://www.smartcustody.com</a> <br><a href="https://walletsrecovery.org/">https://walletsrecovery.org</a></p><p><em>Originally published at </em><a href="https://lightco.in/2024/01/03/nyknyc/"><em>https://lightco.in</em></a><em> on January 3, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=219ce64d6a8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparing the Lightning Network to validia chains and validity rollups]]></title>
            <link>https://medium.com/@lightcoin/comparing-the-lightning-network-to-validia-chains-and-validity-rollups-2262cd6a59ab?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2262cd6a59ab</guid>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Wed, 13 Dec 2023 19:02:11 GMT</pubDate>
            <atom:updated>2024-07-18T11:22:23.314Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Update 2023–12–15: In the feature comparison chart, I replaced “Can onboard directly to the protocol” with “Trust-minimized zero-conf onboarding”, to better convey the difference between Lightning and validity rollups/validia chains that I wanted to highlight. Thanks to </em><a href="https://twitter.com/roasbeef"><em>roasbeef</em></a><em> for asking questions that led to this update. I also added “Can send payments to an offline user” to the chart, because this is an important user experience difference that I forgot to include before.</em></p><p>One question I am often asked is “how does a validity rollup compare to the Lightning Network?” To give a complete answer to this question, I will include comparisons to both validity rollups and validia chains.</p><p>Recall that the main difference between a validity rollup and a validia chain is that a validity rollup stores its state data inside the blocks of its parent chain, while a validia chain stores its state data in a data availability system outside of its parent chain. A validia chain can therefore support arbitrarily high transaction throughput, while the throughput of a validity rollup is restricted by the block size limit of its parent chain. However, this “offchain DA” model also means that a validia chain is not as secure as a validity rollup because the transaction data is stored in a less-secure offchain data availability system.</p><p>The following diagram provides a simplified visualization of how the data availability model used by validity rollups and validia chains differ. The diagram shows how a validity rollup stores both a validity proof and state data inside of its parent chain’s block (in this case a bitcoin block), while a validia chain will only store a validity proof inside of its parent chain’s block (via validia script state update transaction co-signed by some defined threshold of data custodians) and store the actual state data offchain with the data custodians.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*d5VC9hZ1tNe3nztT" /></figure><p>For more information about exactly how validity rollups and validia chains work, see <a href="https://bitcoinrollups.org/#section-1-an-introduction-to-validity-rollups">Section 1</a> and <a href="https://bitcoinrollups.org/#appendix-c-increasing-throughput-with-offchain-data-availability">Appendix C</a> in my rollup report, respectively.</p><h3>User experience and features</h3><p>Like a validia chain, the Lightning Network also stores its state data outside of its parent chain. The main difference between the Lightning Network and a validia chain is that the Lightning Network uses a state channel architecture whereas a validia chain uses a blockchain architecture. Another way of saying this is that the Lightning Network uses a <em>local state</em> model whereas a validia chain uses a <em>global state</em> model. What this means in practical terms is that in the Lightning Network, only the individual users involved in a transaction need to store and validate the state updates, whereas with a validia chain, all users of the validia chain need to store and validate all state updates.</p><p>These architectural differences result in a high level feature comparison that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*MfPO2Y4qOOLwBOIa" /></figure><p>These features result in notable differences between the user experience of the Lightning Network and blockchains such as validity rollups or validia chains. For example, validity rollups and validia chains can be designed to provide users a guarantee that if the transaction they receive is double-spent, then the block producer who includes the double-spend will be penalized, making payments worth less than the penalty economically secure. This enables “trust-minimized zero-confirmation” payments, so users can immediately send and receive funds with low double-spending risk. In contrast, Lightning users must wait at least one onchain confirmation to be able to spend funds that have been pushed to them through a zeroconf channel.</p><p>There are also user experience differences when it comes to receiving payments. Lightning users must be online to receive a payment, while users of a validity rollup or validia chain can receive payments to their address even when they are offline. Additionally, Lightning users must monitor their channel balances to ensure they have enough liquidity to receive payments of a given amount and “rebalance” using a Lightning or onchain transaction if needed. In contrast, users are able to receive payments on a validity rollup or validia chain as soon as they generate a wallet address, and there is no inherent limit on the amount of funds they can receive at their address.</p><p>Another notable difference is in the different types of transactions that each protocol can support. The Lightning Network is limited to transactions no more expressive than what is possible on the mainchain e.g. p2p payments and <a href="https://medium.com/crypto-garage/dlc-on-lightning-cb5d191f6e64">discreet log contracts</a>. But with the right verifier contract on the parent chain, validity rollups and validia chains could support any kind of execution environment that could be built on a blockchain: new smart contract languages, strong privacy, next generation scaling protocols — they make any kind of blockchain transaction or protocol imaginable possible, <a href="https://lightco.in/2023/01/03/meta-problem/">without needing any additional changes</a> to bitcoin consensus rules.</p><p>These advantages of validity rollups and validia chains are not without their tradeoffs: as mentioned earlier, the throughput of a validity rollup is limited by the block size limit of its parent chain. And both validity rollups and validia chains require all users to validate the full state of the chain. In contrast, a Lightning node can support extremely high transaction throughput (in the thousands of tps) once a channel is open, and users only have to validate the transaction state of their local channels.</p><h3>Ownership security</h3><p>As described in my <a href="https://bitcoinrollups.org/">report</a>, smart contract-based validity rollups are trustless, meaning they introduce no new trust assumptions compared to holding and transacting BTC directly on the mainchain. Users can unilaterally exit a validity rollup at any time, as long as they can get their exit transaction confirmed on the parent chain. However, this trustless security model comes at a cost: every transaction made on the rollup results in some marginal amount of bytes being stored on the parent chain, so the user must pay the prevailing parent chain fee rate to get those bytes confirmed. See my report for <a href="https://bitcoinrollups.org/#section-4-scaling-improvements">estimates</a> on the number of onchain bytes required for different types of validity rollup transactions.</p><p>Validia chains and the Lightning Network both trust third parties (TTPs) with the security of funds owned in the system. With validia chains this refers to all funds owned by the user on the validia chain. With the Lightning Network this refers only to funds received by the user from their channel counterparty.</p><ul><li>The Lightning Network is vulnerable to hashpower majority collusion and flood and loot attacks, where the attackers can <strong>steal</strong> <strong>but not freeze</strong> the funds owed to their channel counterparties.</li><li>Validia chains are vulnerable to data withholding attacks, where the attackers can <strong>freeze but not steal</strong> user funds. Refer to my <a href="https://lightco.in/2022/11/03/validia-chains/">previous post</a> about validia chains for a description of different protocols designed to make this data withholding attack more difficult.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*QmfocJjnEdWsckGX" /></figure><p>Both the Lightning Network and validia chains enable users to <strong>unilaterally exit</strong> as long as the protocol has not been attacked and the user can afford the fee necessary to exit. In the case of the Lightning Network, this means that as long as their counterparty hasn’t stolen the funds owed to them, the user can confirm a transaction on the parent chain and get their funds out of the Lightning Network. In the case of a validia chain, this means that as long as the data custodians make the full state data of the chain available to users, the user will be able to create the validity proof and parent chain transaction needed to get their funds out of the validia chain.</p><h3>Complementary systems</h3><p>While there may end up being use cases where the Lightning Network can accurately be considered a mutually exclusive alternative to validity rollups and validia chains, it’s also possible that these technologies will end up being used in a complementary rather than competitive way more often than not.</p><p>Global-scale payment networks like Visa and Mastercard handle tens of thousands of transactions per second. Even the highest throughput validia chains are unlikely to achieve this level of throughput without a significant risk to security, since all of this transaction data still has to be stored securely in a way that users will be able to access if needed. There remain <a href="https://zfnd.org/oblivious-message-retrieval/">open</a> <a href="https://zecsec.com/posts/scalable-private-money-needs-scalable-private-messaging/">technical</a> <a href="https://zfnd.org/can-zcash-scale-to-a-million-users/">challenges</a> to supporting private blockchain-based payments at this scale as well.</p><p>The Lightning Network is of course by no means perfect. It still has its own security and privacy challenges to solve (when <a href="https://arxiv.org/abs/2208.09716">zkPCN</a>?). But by moving transaction data offchain and pushing it to the edges of the network, and routing payments only through specific nodes rather than requiring all nodes to download and verify everything, Lightning offers much better scalability than any blockchain could achieve. All of these different tradeoffs point at the different ways that these protocols can complement each other.</p><p>On one hand, the Lightning Network needs block space to open, close, and occasionally rebalance channels. Validity rollups offer a more efficient way to use available block space (relative to transacting directly on the bitcoin mainchain), and validia chains offer a straightforward and significant expansion of block space (with some security tradeoffs). And the ability to create new execution environments on validity rollups and validia chains opens up the possibility of evolving the Lightning Network in ways that can improve the security, privacy, and usability of the network.</p><p>On the other hand, validity rollups and validia chains need a trust-minimized way to quickly move funds between chains. We are already seeing the Lightning Network serving this purpose for bitcoin sidechains such as Liquid and Rootstock. Additionally, even the highest throughput examples of these rollups and validia chains won’t be able to reach the levels of scale currently supported by the fiat payment giants, all while remaining secure and decentralized. A payment channel network such as Lightning could be what is needed for these protocols reach global scale.</p><p>The Lightning Network, validity rollups, and validia chains complement each other well, playing off of each others’ strengths and weaknesses and giving users a broad range of options in the security/cost/usability tradeoff space.</p><p><em>Originally published at </em><a href="https://lightco.in/2023/12/13/lightning-validia-rollups/"><em>https://lightco.in</em></a><em> on December 13, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2262cd6a59ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Responding to Preston Pysh on drivechains]]></title>
            <link>https://medium.com/@lightcoin/responding-to-preston-pysh-on-drivechains-090e001cfbb4?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/090e001cfbb4</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[soft-fork]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[drivechain]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Fri, 11 Aug 2023 04:51:01 GMT</pubDate>
            <atom:updated>2024-07-16T10:57:02.443Z</atom:updated>
            <content:encoded><![CDATA[<p>RE: <a href="https://nostr.band/note12yse7ke6t6wcx79h2rzmwzqj2mmqyze3evdg0k2aa0xkkx79jtassf063z">https://nostr.band/note12yse7ke6t6wcx79h2rzmwzqj2mmqyze3evdg0k2aa0xkkx79jtassf063z</a></p><p>I appreciate feedback on the proposal, but there is a lot in this note that I think is just flat out not true. Given Preston’s large audience I felt compelled to set the record straight. There’s also more speculative or opinionated statements I disagree with and provide an alternative perspective on. Quotes are from Preston’s note unless stated otherwise.</p><blockquote><em>We don’t need the sound, pegged, money to move fast, we don’t need the money to do smart swoopty things, we just need it to be pegged, immutable, and digitally sailable to actually stop the madness of clown world.</em></blockquote><p>I disagree that this is all we need. Gold is basically a slow rock that just sits there and look what’s happened to its revolutionary potential. Completely neutered. Digitization alone wouldn’t change this. Bitcoin needs to be more than “digital gold” if we do not want it to meet the same fate.</p><p>People spend money, no one is going to wait 10 minutes for a block confirmation at the store, so we need fast and secure payments. It took a change to bitcoin called segwit to enable the Lightning Network of today, which is at least a step toward solving that problem.</p><p>And storing money in a SPOF address that can be robbed immediately once compromised is just not secure, so we need at least enough programmability to do “smart swoopty things” like decentralize custody and give ourselves a chance to recover if we notice a critical compromise. This implies the op codes needed for multisig and timelocks, ~ all modern multisig uses P2SH or segwit which were soft forks, and modern timelocks were made possible by the CLTV soft fork.</p><p>Additional programmability to move bitcoin finance out of custodial tradfi and into p2p markets is also, maybe not <em>needed</em>, but highly desirable, lest we commit the Cardinal Bitcoin Sin of giving up our coins to custodians for the simple goal of liquidity. At a minimum, this again implies multisig, or DLCs which require Schnorr signatures, both enabled by earlier soft forks.</p><p>This premature <a href="https://nostr.band/note1r0vke3qpsrugxmjy6v9wm7ynu3sk0akzd674s0k7vecp8mulncxqnd54l7">ossification</a> mentality is a privileged position that ignores the years of hard work it’s taken to get the changes into bitcoin that make it what it is today. Would Preston have been so gung-ho ossification 5–10 years ago? If not, why not? Why now?</p><p>The premature ossification mentality also ignores the technical need for changes to bitcoin. At the very least, we will need a hard fork before bitcoin <a href="https://twitter.com/pwuille/status/1259990906997858304">runs out of block numbers</a> and completely stops working. Additional maintenance changes will also be needed, and though not all of those changes will be consensus changes, consider the case of the <a href="https://en.bitcoin.it/wiki/BIP_0050">BerkeleyDB bug</a>. This database code wasn’t technically part of the consensus code but the bug still caused a chain split. Bitcoin’s code is going to <a href="https://www.lopp.net/media-archive/presentations/Bitcoin_Builders-The_Perils_of_Premature_Protocol_Ossification.mp4">continue changing out of necessity</a> to prevent issues like this, and general <a href="https://en.wikipedia.org/wiki/Software_rot">coderot</a> issues.</p><p>That said, Drivechain might not be a silver bullet for all of bitcoin’s problems but does have a lot of potential to improve upon existing techniques for programmability, privacy, and scaling. At the very least Drivechain allows devs and users to experiment with potential solutions in a trust minimized environment without having to making any additional changes to bitcoin. This is arguably a change that gets bitcoin closer to a state <em>approaching</em> ossification, since any new features people come up with could be implemented in a drivechain, lessening pressure to implement them on the base layer. This should be something cheered on by those who advocate ossification.</p><blockquote><em>By introducing a whole lot of technical complexity to the base layer</em></blockquote><p>BIP-300 and BIP-301 are not really that technically complex. We’ve done other soft forks (like segwit) that were much more complex, comparatively speaking.</p><blockquote><em>potentially screwing with the incentives</em></blockquote><p>Potentially…? I would prefer a more definitive claim and (logical or demonstrative) proof of this to justify blocking a proposal. Otherwise anyone can go around bandying the phrase “potentially screwing with the incentives” at any proposal and hold it up.</p><blockquote><em>all so we can connect to a bunch of centralized shitcoin projects</em></blockquote><p>This is a supreme misunderstanding of the purpose and functionality of drivechains. Have you read the original <a href="https://blockstream.com/sidechains.pdf">pegged sidechains paper</a>? That would be a good place to start. Here’s a relevant quote:</p><blockquote><em>The core observation is that “Bitcoin” the blockchain is conceptually independent from “bitcoin” the asset: if we had technology to support the movement of assets between blockchains, new systems could be developed which users could adopt by simply reusing the existing bitcoin currency.</em></blockquote><p>No “shitcoins” needed.</p><blockquote><em>A. Why the rush!?</em></blockquote><p>Look at the date on this blog post:</p><p><a href="https://www.truthcoin.info/blog/drivechain/">https://www.truthcoin.info/blog/drivechain/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*D8zo_WNEbmntINOa" /></figure><p>It’s been 8 years, Preston. 8 years!</p><blockquote><em>B. Why not just go use Monero</em></blockquote><p>I’m a Bitcoiner. I prefer to store my value and transact in BTC.</p><blockquote><em>C. Why risk the king without deep understanding and testing of the technical risk and potential change to incentives?</em></blockquote><p>afaict the person lacking deep understanding and testing experience is Preston. The first drivechain testnet I’m aware of was launched 4–5 years ago, and the community has been running various test versions ever since. You can run it and review it yourself, the software is available <a href="https://www.drivechain.info/releases/index.html">here</a>.</p><p>We’ve seen live “real money” tests of the same hashrate escrow incentive model on other chains with tens of thousands of BTC worth of value at stake and the results were positive overall, I would say: <a href="https://lightco.in/2022/06/15/miners-can-steal-2/">https://lightco.in/2022/06/15/miners-can-steal-2/</a></p><blockquote><em>I for one, have no use for drivechains (that doesn’t mean everyone is like me). And as a result, I will not be updating my node</em></blockquote><p>Sure, run whatever software you want. But just because you personally don’t have a use for drivechains doesn’t mean you need to block other people from using them. I’m sure there are lots of things people do with their BTC today that you have no use for. Would you block them too, if given the chance?</p><p><em>Originally published at </em><a href="https://lightco.in/2023/08/11/preston/"><em>https://lightco.in</em></a><em> on August 11, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=090e001cfbb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sovereign rollups on bitcoin]]></title>
            <link>https://medium.com/@lightcoin/sovereign-rollups-on-bitcoin-7acba8a5ea26?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7acba8a5ea26</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[rollup]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 22:56:12 GMT</pubDate>
            <atom:updated>2024-07-11T11:02:20.783Z</atom:updated>
            <content:encoded><![CDATA[<p>A few weeks ago Eric Wall gave a <a href="https://yewtu.be/watch?v=_hLvvZGST_E">talk</a> at StarkWare Sessions where he left the audience with an intriguing idea: what if we used the same technique that inscriptions use to embed data in bitcoin to build a sovereign rollup on bitcoin?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*5XuqB8Pquf9Xg8zW" /></figure><p>This idea of using bitcoin as a data availability layer for sovereign rollups was also hinted at last month by Sovereign Labs in their <a href="https://twitter.com/sovereign_labs/status/1620112158595100673">Sovereign SDK announcement</a>.</p><p>What is a sovereign rollup? Referencing Celestia’s conception of <a href="https://celestia.org/learn/modular-architectures/the-modular-stack/">the modular blockchain stack</a>, a sovereign rollup is a settlement (and maybe also execution) layer blockchain that uses another blockchain as its consensus and data availability layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FkmFCwq8drxU0MNX" /></figure><p>A sovereign rollup built on bitcoin can have its own execution environment supporting custom logic, while obtaining bitcoin-grade data availability and double-spend resistance. Note however that like a sidechain, and unlike a validity rollup, there is no trustless BTC bridge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*0y9Shlg4J2bKuniU" /></figure><p>The cost of obtaining bitcoin-grade data availability and double-spend resistance is an upper limit on throughput: a sovereign rollup can only support as many txs per block as it is able to fit into the available space in a bitcoin block (max 4 MB of data).</p><p>Validity proofs could still have a role to play in sovereign rollups, but for scaling rather than bridge security: a sovereign rollup could still include validity proofs in its block data, allowing <a href="https://bitcoinrollups.org/#table-2-comparing-how-many-transactions-can-fit-per-bitcoin-mainchain-block-based-on-a-given-transaction-type">many more transactions to fit into a block</a> than would otherwise be possible.</p><p>The idea here is that rollup block producers can still use the same data compression techniques that are possible with validity rollups, such as referring to accounts instead of addresses and only posting state diffs with validity proofs, saving a lot of space onchain. Rollup full nodes would then scan bitcoin blocks looking for transactions that contain block data relevant to them, and if the attached proof validates, then they will add that block to their chain, apply the state diff to the state, and proceed to the next block.</p><p>Regardless of whether validity proofs are used or not, the only way to re-org a sovereign rollup block is to re-org the bitcoin block that the sovereign rollup block was confirmed in. That gives sovereign rollups their bitcoin-grade data availability and double-spend resistance.</p><p>“But,” you might wonder, “there’s no trustless bridge! What is this sovereign rollup thing good for?” Yep, if you want to use BTC, you still need a trusted bridge to the rollup. The benefit is, once you have that, then the rollup has bitcoin-grade data availability and double-spend security.</p><p>With a sovereign rollup built on bitcoin, one rollup confirmation = one bitcoin confirmation. That is a real security improvement over the sidechains of today, which, due to their lower security budget, are much easier than bitcoin to re-org. Also, building a sovereign rollup on bitcoin can provide a nice testing ground for devs and users to get a feel for what a validity rollup on bitcoin would be like. Yeah, there’s no trustless BTC bridge, but everything else (data availability capacity, block time, etc) is ~the same.</p><p>At my local BitDevs meetup, someone asked: how is this sovereign rollup technique different than blockchains like Stacks that put a hash of their blocks into bitcoin transactions?</p><p>The first difference is that unlike a sovereign rollup, Stacks is able to re-org independently of bitcoin. Worth noting that, unlike bitcoin re-orgs, attempts to re-org Stacks have to be made public from the start. This is described in <a href="https://github.com/stacksgov/sips/blob/main/sips/sip-001/sip-001-burn-election.md#novel-properties-enabled-by-proof-of-burn">SIP-001</a>:</p><blockquote><em>Like all single-leader blockchains, the Stacks blockchain allows the existence of multiple blockchain forks. These can arise whenever a leader is selected but does not produce a block, or produces a block that is concurrent with another block. The design of the Stacks blockchain leverages the fact that all </em>attempts<em> to produce a block are known to all leaders in advance in order to detect and mitigate block-withholding attacks, including selfish mining. It does not prevent these attacks, but it makes them easier to detect and offers peers more tools to deal with them than are available in existing systems.</em></blockquote><p>The second difference is data availability. Because Stacks only stores a hash of its blocks in bitcoin transactions, not the full block data, Stacks has different data availability guarantees than bitcoin. We’ll come back to data availability and why it matters later.</p><p>There are other protocols that only put a hash of a blockchain into bitcoin transactions and yet <em>do</em> fully inherit bitcoin double-spend security. Commerce Block’s <a href="https://commerceblock.readthedocs.io/en/latest/mainstay/index.html">Mainstay</a> is one such protocol:</p><blockquote><em>Mainstay is a protocol that enables the creation of a cryptographic </em>proof<em> that a given system with changing state is </em>unique<em> and that the full </em>history<em> of that state is unique. This proof is generated from a linked sequence of irreversible and provably unique cryptographic commitments made to the Bitcoin blockchain which in turn derives its immutability and global objective state from the Proof-of-Work consensus algorithm. In this way, any independent system with </em>state<em> (and a unique history of state changes) can be proven to be as immutable as the Proof-of-Work blockchain it is secured by. The </em>proof of immutable state<em> (PoIS) generated by the Mainstay protocol is </em>trustless<em> and independently verifiable.</em></blockquote><p>Mainstay differs from sovereign rollups in two key ways. The first difference is Mainstay’s reliance on third parties to maintain forward progress. If the third party fails, then the Mainstay chain <a href="https://commerceblock.readthedocs.io/en/latest/mainstay-protocol/index.html#federated-protocol">will need to hard fork</a> to restart.</p><blockquote><em>An important property of the Mainstay protocol is that it does not require trust in any party, including the entity holding the staychain base private key ( </em><em>xpriv) to confirm that a given sidechain state is immutable. However trust is required in this entity to ensure that the mainstay is persistent, and that the system continues to operate (i.e. commitments continue to be generated). If the key was stolen then an attacker could steal the Bitcoin in the staychain tip output and prevent further confirmations. To remedy this, the sidechain would need to be hard-forked to reset the mainstay (i.e. to commit a new base transaction into the sidechain).</em></blockquote><p>The second difference between Mainstay and sovereign rollups is, as with Stacks, data availability. Like Stacks, a Mainstay chain only puts a hash of its blocks into bitcoin transactions, not the full block data, so Mainstay chains have different DA guarantees.</p><p>Bitcoin-grade data availability is perhaps most important for <a href="https://bitcoinrollups.org/#section-42-fractal-scaling-with-rollups">rollups built on top of sovereign rollups</a>. These rollups rely on the data availability guarantees of their parent chain (in this case, the sovereign rollup) so bitcoin-grade data availability is especially valuable.</p><p>I am looking forward to seeing any and all experiments that take advantage of this newfound use for bitcoin block space!</p><p><em>Originally published at </em><a href="https://lightco.in/2023/03/13/sovereign-rollups/"><em>https://lightco.in</em></a><em> on March 13, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7acba8a5ea26" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explaining Streamchain]]></title>
            <link>https://medium.com/@lightcoin/explaining-streamchain-ee4673a9798d?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee4673a9798d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[sidechains]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Sun, 15 Jan 2023 18:57:11 GMT</pubDate>
            <atom:updated>2024-07-08T11:46:39.962Z</atom:updated>
            <content:encoded><![CDATA[<p>Last last year I had the pleasure of attending The Atlanta Bitcoin Conference aka TABConf. While there I saw many old friends and met lots of interesting new people as well. One of the people I ran into was Matt Corallo, who I know through the San Francisco bitcoin scene. In addition to being a long-time bitcoin developer, Matt also has the distinction of being a co-author of the 2015 <a href="https://www.blockstream.com/sidechains.pdf">sidechains whitepaper</a>. During a discussion at TABConf about <a href="https://lightco.in/2022/10/21/validity-rollups/">validity rollups</a>, we began talking about how validity proofs could be used to secure sidechain bridges. Matt shared the details of a <a href="https://bitcoinrollups.org/#appendix-d-a-closer-look-at-validity-sidechains">validity sidechain</a> design that he said had been discussed internally at Blockstream but never published. I suggested Matt publish a long-form writeup about this validity sidechain design. He suggested I publish the writeup instead. So here it is!</p><p>According to Matt, this validity sidechain protocol was never given a distinct name by its inventors, so I have decided to call it “Streamchain” as an homage to its origins at Blockstream. Here is a high-level explanation of how Streamchain works:</p><p>The streamchain creator generates a streamchain script address on the bitcoin mainchain that is capable of accepting BTC deposits and releasing BTC back to a mainchain address upon the submission of a valid withdrawal transaction. The first deposits to the streamchain script address are then used to build the genesis block of the streamchain, making mainchain full nodes aware of the hash of the streamchain genesis block. The consensus mechanism of a streamchain is Proof of Work-based Nakamoto consensus i.e. streamchain full nodes follow the heaviest valid streamchain that builds on the genesis block.</p><p>Users can unilaterally withdraw their BTC back to the mainchain by submitting a withdrawal transaction to the mainchain. This withdrawal transaction will spend coins from the streamchain script on the mainchain to a specified withdrawal address and contain a validity proof that convinces mainchain full nodes that the user owns the amount of coins they want to withdraw in a chain that descends from the genesis block and the user is allowed to make the withdrawal according to the rules of the streamchain.</p><p>A problem arises if the streamchain experiences a <a href="https://lightco.in/2017/07/30/bitcoin-fork-split/">chain split</a>: users now own “BTC” on two different streamchains! If a user wants to withdraw their BTC from one of the streamchains, how does the mainchain know whether or not to honor the withdrawal? There isn’t enough BTC locked in the streamchain script address on the mainchain to honor withdrawals from both chains. And it’s not enough to say that the withdrawal has to be “part of the heaviest valid chain…” The mainchain doesn’t know which chain is the most difficult chain. To solve this problem, streamchains utilize a withdrawal challenge protocol.</p><p>Withdrawals from streamchains are not processed by the mainchain immediately. Instead withdrawal transactions first enter a challenge period, the duration of which is defined by the rules of the streamchain script. During this challenge period, anyone can submit a transaction to the streamchain script address on the mainchain with proof that shows that, for whatever reason, on a heavier valid chain, the user who submitted a pending withdrawal transaction is not actually allowed to make the withdrawal (e.g. the proof could show that the user spent the coins on the heavier valid chain and therefore no longer owns them at the time of the withdrawal). If a successful challenge is submitted, the pending withdrawal transaction is cancelled. If no successful challenge is submitted, then at the end of the challenge period, the withdrawal will be processed.</p><p>The implication of the Streamchain protocol design is that the mainchain hashpower majority (“MHM”) can double-spend coins that they previously owned at some earlier point in the streamchain’s history. The attack happens in several steps. To pull off the attack, the MHM must:</p><p>Step 1. Deposit some coins into the streamchain.</p><p>Step 2. Transfer the coins to other streamchain users in exchange for some irreversible value.</p><p>Step 3. Go “back in time” to split the chain right after the coins were first deposited into the streamchain, but before the coins were transferred to other users. At this earlier block height, the MHM still owns all of the coins that they deposited into the streamchain.</p><p>Step 4. Submit a withdrawal transaction to the mainchain that spends the amount of coins that the MHM owns on the split chain back to the MHM’s mainchain address(es). The validity proof attached to the withdrawal transaction will convince mainchain full nodes that the coins were owned by the MHM in a valid chain that descended from the genesis block.</p><p>Step 5. For the entire duration of the challenge period, censor any and all mainchain transactions that could successfully challenge the double-spent withdrawal transaction from Step 4.</p><p>Step 6. When the challenge period ends, the coins will be spent from the streamchain script to the MHM’s withdrawal address(es). Profit!</p><p>Under an “honest majority” scenario, a successful challenge transaction could block the MHM’s withdrawal transaction from Step 4 because the MHM is not withdrawing coins they currently own on the heaviest valid chain. However, because the MHM is censoring challenge transactions in Step 5, the withdrawal transaction is considered valid by the mainchain full nodes and at the end of the challenge period the withdrawal is processed and the coins are sent to the MHM’s mainchain address(es), completing the heist.</p><p>This attack leverages the MHM’s dominant hashpower to 51% censorship attack the mainchain. Instead of needing to re-organize the streamchain to double-spend coins, the MHM is able to simply go “back in time” to before they spent their coins and then convince the mainchain full nodes to let them withdraw those coins by censoring any proof of double-spending.</p><p>A similar kind of attack is possible on state channel protocols such as the Lightning Network as well. In the case of Lightning, the MHM (or someone they collude with) can open channels with a bunch of Lightning users, drain those channels by sending payments through them in exchange for some irreversible value, then at any point in time close the channels using the state prior to sending any payments. Under normal conditions, the channel counterparty or a “watchtower” that the counterparty delegates the task to would see that the state used for the channel closure transaction is out of date and submit a challenge transaction that, if confirmed, would cancel the pending invalid channel closure and seize the current balance of the attacker’s channel as a penalty for the attack. However, the MHM can censor the challenge transaction for the full duration of the challenge period, which once complete will net them the full proceeds of the attack.</p><p>Matt points out that the Streamchain security model could be strengthened further by giving the mainchain some kind of way of tracking the difficulty of the streamchain as it progresses, for example by requiring withdrawal transactions to include a “ <a href="https://nipopows.com/">proof of proof of work</a> “ that proves what the current weight of the streamchain is as measured in proof of work. Withdrawal validity proofs would then have to prove that not only does the user making the withdrawal own coins in a chain that descends from the streamchain genesis block, but that the coins are owned in a version of the chain that is at least as heavy as the heaviest known streamchain according to prior withdrawals.</p><p>With such a countermeasure in place, the MHM would need to re-organize the streamchain from the block that they went back in time to up to the current block, making the attack equivalent to a “traditional” 51% double-spend attack. Depending on the difficulty of mining the streamchain, this attack may not be as difficult as re-organizing the mainchain itself but the attack is still more difficult (maybe to the point of infeasibility) than it would be without proofs of proof of work.</p><p>Streamchains offer a security model and flexibility that could be considered for some use cases an improvement over alternatives such as state channels, optimistic rollups, drivechains, softchains, and statechains. Although streamchains are not as secure as validity rollups, their throughput is not limited by the mainchain block size limit in the same way that validity rollups are. Streamchains offer users yet another interesting option in the scalability/security tradeoff space of blockchain protocol design.</p><p><em>Originally published at </em><a href="https://lightco.in/2023/01/15/explaining-streamchain/"><em>https://lightco.in</em></a><em> on January 15, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee4673a9798d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The bitcoin meta-problem]]></title>
            <link>https://medium.com/@lightcoin/the-bitcoin-meta-problem-83e1cd954279?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/83e1cd954279</guid>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[zkrollup]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 17:00:28 GMT</pubDate>
            <atom:updated>2024-07-05T10:46:54.446Z</atom:updated>
            <content:encoded><![CDATA[<p>Today is the 14th anniversary of the creation of bitcoin’s <a href="https://lightco.in/2017/01/03/happy-genesis-block-day/">genesis block</a>. As I reflect on bitcoin’s progress over the past 14 years — which is by all measures amazing and something the contributor community can be deeply proud of — my mind soon drifts to the topic of what we have left to do. Time is limited, material resources are limited, and there’s a real possibility that bitcoin ossifies in the not-so-distant future and no more consensus changes can be made. I wonder: what is the most important unsolved problem in bitcoin?</p><p>My gut answer is “privacy”. Whenever I’m teaching newcoiners, I’m always bothered by how many caveats and instructions are required to teach them how to gain some semblance of privacy when using bitcoin. And even after that, I come away from the conversation both uncertain that the tools recommended will actually protect the newcoiner’s privacy in the long-run, and also quite certain that even if the tools did work, the newcoiner will make a mistake at some point that will undo the work they had done to protect their privacy up until that point. This is unacceptable and untenable. We need a solution that people can use to store and transfer coins in a self-custodial, p2p manner that offers privacy and ease-of-use as close to physical cash as possible. Bitcoin is too risky and inconvenient for most people to use otherwise.</p><p>Then I think, ok, if we somehow solved that, then what’s the next most important problem to solve? And the one after that? And after that? And so on. There will always be some new problem to solve, because human desire and creativity is neverending. And I realize that actually, perhaps the most important problem to solve is <em>giving bitcoin developers the ability to easily solve ~any problem within the domain of electronic cash</em>. I’m calling this “the bitcoin meta-problem”.</p><p>Currently, to solve some problem that users have, a bitcoin developer must either work within the limited confines of bitcoin’s existing scripting capabilities, or else propose consensus changes that require buy-in from the majority of miners and economic full nodes. If the developer can’t or doesn’t want to do either of those, then they have to convince the user to move their BTC into some (centralized/federated/collateralized) custodial system, sacrificing to some degree the core value propositions of bitcoin for some new functionality.</p><p>What is needed is a solution (a “meta-solution” to the “meta-problem”) that enables a bitcoin developer to build new functionality that solves their users’ problem without requiring the developer to either make consensus changes to bitcoin or convince their users to give up self-custody.</p><p>One meta-solution would be to directly add a <em>fully expressive</em> smart contract language to bitcoin, capable of supporting any kind of logic that developers would need to solve any kind of user problem. This is the approach pioneered by Ethereum. Bitcoin developers have so far rejected this approach because of the relatively heavy computational burden that it would place on bitcoin full nodes, and this consensus is unlikely to change. So we need to add one more requirement: the meta-solution can’t impose heavy computational costs on bitcoin full nodes.</p><p>Another meta-solution would be to add support for validity rollups to bitcoin. Validity rollups can enable developers to deploy new functionality without having to make consensus changes to bitcoin, convince users to give up self-custody, or put a heavy computational load on bitcoin full nodes. To support any kind of new functionality (new privacy protocols, new smart contracts, etc), bitcoin full nodes only have to verify a single cryptographic proof per rollup block.</p><p>Based on <a href="https://lightco.in/2022/10/21/validity-rollups/">my research</a>, I consider validity rollups to be the best meta-solution that has been invented so far. Validity rollups might even be the best meta-solution possible as a protocol that can check all of the relevant boxes: self-custodial (trustless), infinitely extensible, and easy for bitcoin full nodes to verify and stay in sync.</p><p>I look forward to seeing what progress we make toward solving the bitcoin meta-problem this year, 14 Anno Satoshi 😎</p><p><em>Originally published at </em><a href="https://lightco.in/2023/01/03/meta-problem/"><em>https://lightco.in</em></a><em> on January 3, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83e1cd954279" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thankful for bitcoin]]></title>
            <link>https://medium.com/@lightcoin/thankful-for-bitcoin-eacc8e517e2e?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/eacc8e517e2e</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Thu, 24 Nov 2022 19:06:14 GMT</pubDate>
            <atom:updated>2024-07-01T12:42:35.982Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s become cliche tradition for Bitcoiners to say something like “I’m thankful for bitcoin” or “I’m thankful for the bitcoin community” on Thanksgiving. This year, I’m joining the chorus of Bitcoiners giving thanks. But first, a story…</p><p>In the aftermath of the Great Financial Crisis, I did not have much hope. I was a teenager seeing “how the world really worked” for the first time, and I didn’t like what I saw. At all.</p><p>Big banks got bailed out and executives got golden parachutes, while my friends’ parents were losing their jobs and getting foreclosed on. On top of that, I was gaining an increased awareness about many other manmade disasters (war, poverty, mass imprisonment and surveillance, pollution, etc) and the immense challenges involved in fixing them.</p><p>The situation looked grim, and it was hard not to feel like these problems were insurmountable. I determined that the odds of significantly changing “the system” were very low, so I decided to opt-out to the greatest extent possible (without becoming a total recluse).</p><p>I was inspired by the Wobblies, who said: “Build the new world in the shell of the old”, and by Bucky Fuller, who said: “Create a new model that makes the old model obsolete”. So I began to look for alternatives that I could help support and create the world I wanted to live in.</p><p>Top priority for me was finding alternative money and financial systems. I understood the importance of money to humanity as well as to the power structures that I sought to replace.</p><p>There weren’t many options.</p><p>The best alternative money I could find at the time was precious metals like gold and silver, which were relatively easy to obtain and had a long history of use as “sound money”.</p><p>The main problems I encountered were that very few merchants accepted metals at the point of sale, and even when metals were accepted, they weren’t very convenient: it’s impractical to make small change with metals, and to spend metals online a trusted third-party is needed to custody the metals and facilitate remote transfers.</p><p>A quick skim of the <a href="https://en.wikipedia.org/wiki/E-gold#Prosecution_and_closure">history</a> of such services reveals a critical problem with metals as alternative money: the trusted third parties required to make commerce with metals practical are <a href="https://nakamotoinstitute.org/trusted-third-parties/">security holes</a>.</p><p>It was hard not to be depressed about the state of the world back then. Then I found bitcoin.</p><p>The first couple of times I heard about bitcoin, I didn’t have enough context, and overlooked it, thinking it was some kind of game currency like WoW Gold or Linden Dollars. But after hearing more about bitcoin on the <a href="https://archive.org/details/agorist-radio/Cypherpunkd/cypherpunkd-EP005.mp3">Cypherpunkd podcast</a> (RIP) I realized that bitcoin was different and decided to do more research. This led me to the <a href="https://en.bitcoin.it/wiki/Main_Page">bitcoin wiki</a>, where I quickly grasped the core concept that made bitcoin special: bitcoin was the first <em>decentralized</em> digital currency.</p><p>Knowing the history of previous money systems and how they all either failed or failed to scale due to the requirement for a centralized, trusted third party, I immediately understood the value of bitcoin as a decentralized alternative. The more I looked into bitcoin and its history, the more amazed I was at <a href="https://lightco.in/2022/01/03/focus-on-bitcoin/">how many details</a> its creator Satoshi Nakamoto got right. Bitcoin wasn’t perfect, but it was close enough. This was something that I could imagine replacing not just precious metals but all other forms of money. That possibility gave me a strong sense of hope that I had not felt before.</p><p>That hope is a feeling that has grown into real excitement that “it’s happening!” So many open source projects and businesses are building on and around bitcoin, I can’t keep up. We have <a href="https://twitter.com/lightcoin/status/1349489040769372163">hundreds of thousands of merchants</a> accepting bitcoin, <a href="https://twitter.com/lopp/status/1475800172433137666">tens of thousands of bitcoin ATMs</a>, hundreds of <a href="https://www.meetup.com/topics/bitcoin/">bitcoin meetups and p2p trading groups</a>, dozens of <a href="https://bitcoin.org/en/exchanges">exchanges and marketplaces</a>. Entire countries are <a href="https://en.wikipedia.org/wiki/Bitcoin_in_El_Salvador">bitcoinizing</a>!</p><p>Bitcoin is still not perfect but continues to amaze me every day that it continues working, even as adoption has grown to a scale I could only dream of back when I was first browsing the bitcoin wiki.</p><p>Today Bitcoin is more relevant and more important than ever. Governments are <a href="https://reason.com/2022/02/18/canadas-panicked-government-engages-in-undemocratic-theft/">abusing permissioned payment rails</a> to <a href="https://bitcoinmagazine.com/culture/nigerian-protest-group-finds-sovereign-lifeline-in-bitcoin">suppress dissent</a>, and <a href="https://www.cnbc.com/2022/11/05/-in-bankrupt-lebanon-locals-mine-bitcoin-and-buy-groceries-with-tether.html">inflating their fiat currencies</a> to <a href="https://www.washingtonpost.com/news/worldviews/wp/2016/11/27/venezuelas-currency-is-so-devalued-it-no-longer-fits-in-ordinary-wallets/">worthlessness</a>. The vision of CBDCs and a “cashless society” is a <a href="https://reclaimthenet.org/digital-euro-spending-saving-limits/">dystopian</a> <a href="https://www.reuters.com/article/us-china-credit-idUSKCN1GS10S">nightmare</a>. Every single person living in a modern society desperately needs peer-to-peer electronic cash — even if they don’t realize it yet. When the realization does hit, bitcoin will be there for them.</p><p>Every day, people and machines around the world sign transactions to transfer bitcoin from one address to another, peer to peer. Miners hash at speeds that push the physical limits of computer chip technology, churning out blocks once every ten minutes on average. A global community of thousands of supporters donate time and money to making the protocol and systems built around it ever better.</p><p>I am deeply and eternally thankful for bitcoin, for the bitcoin community, and for Satoshi Nakamoto, the selfless creator who gifted bitcoin to the world. Thank you all for making bitcoin the powerful tool for freedom that it is today 🙏</p><p><em>Originally published at </em><a href="https://lightco.in/2022/11/24/thankful/"><em>https://lightco.in</em></a><em> on November 24, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eacc8e517e2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How validia chains compare to sidechains and validity rollups]]></title>
            <link>https://medium.com/@lightcoin/how-validia-chains-compare-to-sidechains-and-validity-rollups-cb58699b7f4f?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb58699b7f4f</guid>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[sidechains]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 18:27:20 GMT</pubDate>
            <atom:updated>2024-06-27T11:02:36.840Z</atom:updated>
            <content:encoded><![CDATA[<p>One class of protocols that I mention in the appendices of <a href="https://bitcoinrollups.org/#appendix-c-increasing-throughput-with-offchain-data-availability">http://bitcoinrollups.org</a> are what I call “validia chains”. Validia chains share similarities with both sidechains and validity rollups, with interesting tradeoffs.</p><p>A validia chain is a blockchain that:</p><p>1) Fully inherits double-spend security from a parent chain,<br>2) Has its state transitions verified by the parent chain using validity proofs, and<br>3) Stores its state data outside of the parent blockchain, aka “offchain data availability” (DA)</p><p>Validia chains and sidechains both do offchain DA.</p><p>Validia chains and validity rollups both inherit double-spend security from a parent chain and have their state transitions verified by the parent chain using validity proofs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*RZtVsZj-Y12NqbZ4" /></figure><p>What are the implications of these features?</p><p>Validity rollups are trustless, meaning they introduce no new trust assumptions compared to holding/transacting on their parent chain.</p><p>Validia chains &amp; sidechains both trust 3rd parties (TTPs) with the security of funds transferred in from the parent chain, but the exact security model differs:</p><ul><li>TTPs in validia chains can <strong>freeze but not steal</strong> funds</li><li>TTPs in sidechains can <strong>both freeze <em>and</em> steal</strong> funds</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*Bas9NmI3KLQhzly-" /></figure><p>Several offchain DA models have been proposed for validia chains to reduce the risk of frozen funds:</p><ul><li>Validium: DA committee</li><li>Valutia: Collateralized DA (bonds are slashed if data is unavailable)</li><li>Adamantium: Data self-custody with onchain escape hatch if user goes offline</li></ul><p>There is also a DA model called a “Volition” where users can choose on a per-tx basis which DA model to use. If a user needs to send a high value tx, they can use expensive onchain DA rollup mode. If a user needs to send a low value tx, they can use cheap offchain DA validia chain mode.</p><p>Here’s the full lineup of offchain DA options:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*9yEJD0aDpIONf8zK" /></figure><p>With validia chains we can create layered networks that serve a diverse spectrum of user preferences. L3 validia chains with lower cost &amp; higher throughput can be built on L2 rollups that provide max security but limited throughput ( <a href="https://bitcoinrollups.org/#table-2-comparing-how-many-transactions-can-fit-per-bitcoin-mainchain-block-based-on-a-given-transaction-type">yet still higher throughput than L1</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/0*5d5pVX35OJ586onn" /></figure><p><em>Originally published at </em><a href="https://lightco.in/2022/11/03/validia-chains/"><em>https://lightco.in</em></a><em> on November 3, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb58699b7f4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validity rollups on bitcoin]]></title>
            <link>https://medium.com/@lightcoin/validity-rollups-34f7a345adee?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/34f7a345adee</guid>
            <category><![CDATA[rollup]]></category>
            <category><![CDATA[validity-rollup]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[sidechains]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Fri, 21 Oct 2022 23:27:46 GMT</pubDate>
            <atom:updated>2022-10-22T19:22:59.196Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P87g5GMIFnnM2Ukj" /></figure><p>This past March, Human Rights Foundation Chief Strategy Officer Alex Gladstein <a href="https://twitter.com/gladstein/status/1501655418153570305">announced</a> a new fellowship program called the <a href="https://hrf.org/zkrollups">ZK-Rollup Research Fellowship</a>. The research fellow would be given a grant of 1 BTC to do research for a period of four months and at the end of the four months produce a report about validity rollups (aka zk-rollups) on bitcoin, including how they work, what changes to bitcoin (if any) would be needed to support validity rollups, and the benefits/costs/risks that validity rollups would bring to bitcoin. A couple of weeks later, Alex <a href="https://twitter.com/gladstein/status/1507069251047215112">announced</a> that I had been chosen to be the research fellow 🥳</p><p>I started the fellowship in May. Due to my interest in <a href="https://lightco.in/2020/08/02/bitcoin-pegs/">cross-chain protocols</a>, as well as my work on <a href="https://forum.sovryn.app/t/zkrollup-vs-optimistic-rollup/339">Sovryn</a> and <a href="https://lightco.in/2018/01/23/new-year-new-job-2018-edition/">Aragon</a>, I already had several years of research on <a href="https://twitter.com/lightcoin/status/1209532059942838272">rollups </a>and <a href="https://twitter.com/lightcoin/status/608104764040048640">related protocols</a> under my belt. As a long-time Bitcoiner, I was also familiar with many of the intricacies involved in the discussions around <a href="https://lightco.in/2017/05/19/scaling-bitcoin/">scaling</a>, <a href="https://lightco.in/2018/12/05/cryptocurrency-privacy/">privacy</a>, and other new features that could be added to bitcoin, so I wasn’t starting from scratch. I quickly built up a <a href="https://github.com/john-light/validity-rollups/blob/main/library.md">research library</a> of foundational resources and began putting together the outline of the report.</p><p>Although I already had an existing base of knowledge about bitcoin and validity rollups, I didn’t have <em>all</em> of the relevant information. There were many unexplored questions about how these technologies could work together. I started scheduling interviews and shooting off emails with questions to engineers and researchers working on bitcoin and validity rollups.</p><blockquote><em>Side note: I want to give a special shoutout here to Trey Del Bonis, who, around the same time I was starting my research, published </em><a href="https://tr3y.io/articles/crypto/bitcoin-zk-rollups.html"><em>an article</em></a><em> explaining in some detail how a validity rollup could be built on bitcoin. Trey’s article provided a helpful point of reference when going deeper on that specific aspect of the research.</em></blockquote><p>After hundreds of hours of conducting interviews, emailing questions, reading the literature, watching presentations, listening to podcasts, getting distracted by <a href="https://lightco.in/2022/06/15/miners-can-steal-2/">side quests</a>, and finally writing down what I had learned, I finished the first draft of the report in time for the September deadline. After a few weeks of reviews and editing, I finalized the text and gave the report a title: “Validity Rollups on Bitcoin”.</p><p>Alex Li and Tony Malak at HRF helped me put together a webpage for the report, and on October 11th we <a href="https://twitter.com/lightcoin/status/1579856946781298688">released it</a> to the world:</p><p><a href="https://bitcoinrollups.org/">https://bitcoinrollups.org</a></p><p>I hope you enjoy the report as much as I enjoyed the process of putting it together! If you have any questions or feedback, you are welcome to leave a comment on this post or send a message through any of the channels listed on my <a href="https://lightco.in/contact/">contact page</a>.</p><p><em>Email is probably the most popular decentralized messaging protocol, and I expect it to be around for a while. </em><a href="https://lightco.in/email/"><em>Add yourself to my email contacts</em></a><em> if you would like to stay in touch! I will never sell, rent, or share your email address.</em></p><p><em>Originally published at </em><a href="https://lightco.in/2022/10/21/validity-rollups/"><em>https://lightco.in</em></a><em> on October 21, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34f7a345adee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Another response to the “miners can steal” critique of Drivechain]]></title>
            <link>https://medium.com/@lightcoin/another-response-to-the-miners-can-steal-critique-of-drivechain-e22c5eec52fc?source=rss-934f09f8ded3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22c5eec52fc</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[sidechains]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[drivechain]]></category>
            <dc:creator><![CDATA[John Light]]></dc:creator>
            <pubDate>Wed, 15 Jun 2022 21:49:38 GMT</pubDate>
            <atom:updated>2024-06-24T11:37:17.468Z</atom:updated>
            <content:encoded><![CDATA[<p>I have<a href="https://lightco.in/2021/06/21/miners-can-steal/"> written before on this blog</a> about the “miners can steal” critique of Paul Sztorc and CryptAxe’s BIP-300 hashrate escrow proposal. In my previous post I gave several examples of how miners can already steal, yet to this day have chosen not to. Still, the “miners can steal” critique persists. If only there were a way we could put this to the test, with real money on the line!</p><p>Well, we’re in luck. In this post I will present more empirical evidence supporting the argument that, given the capability, miners will not steal from hashrate escrows. If you are unfamiliar with BIP-300 and the “miners can steal” critique, go read <a href="https://lightco.in/2021/06/21/miners-can-steal/">my previous post in this series</a> first then come back here, or you might get confused reading this post.</p><p><strong>Reframing the debate</strong></p><p>Before going further, I want to clarify something about the “miners can steal” critique. I believe a better way to refer to this critique is by calling it the “miners will steal hypothesis” (MWSH, for short). The reason for the change of framing is that, as I pointed out before, it is already true that miners can steal, only in different ways than what is possible with hashrate escrows. And we can see in practice that under bitcoin’s current consensus rules, miners have not abused their ability to steal.</p><p>Even if stealing were a novel capability introduced by BIP-300, whether or not miners <em>can</em> steal is less interesting than being able to predict with a high degree of certainty whether or not they <em>will</em> steal. So what I really want to refute is not the idea that miners <em>can </em>steal from hashrate escrows (true, by design) but the hypothesis that hashrate escrows “mess with miner incentives” and as a result miners <em>will </em>steal from hashrate escrows (debatable).</p><p>In this blog post I will present empirical evidence showing that even with many thousands of BTC worth of value on the line, the MWSH does not accurately predict real-world miner behavior when presented with identical incentives to those created by hashrate escrows.</p><p><strong>An introduction to optimistic bridges</strong></p><p>To understand the empirical evidence I am about to present, it is first necessary to understand how optimistic bridges work.</p><p>An optimistic bridge is a protocol that “ <a href="https://medium.com/@deaneigenmann/optimistic-contracts-fb75efa7ca84">optimistically</a> “ bridges assets from one blockchain to another, relying on locked collateral and fault proofs to punish misbehavior after it has occurred. A simplified implementation of an optimistic bridge works like this:</p><ol><li>A smart contract is registered on two chains (Chain A and Chain B) defining the rules of the optimistic protocol and an interface for locking/minting/burning assets on each chain.</li><li>A user deposits their asset into the bridge contract on Chain A, locking it in place. An equivalent amount of the same asset is minted for the user on Chain B. Once the deposit has reached a given number of confirmations on Chain A, the user can freely transfer their asset on Chain B. To the user, it feels like they have “transferred” their asset from Chain A to Chain B. (Hence, the name “bridge” for this type of protocol.)</li><li>When a user (and this can be any user, even someone who has never interacted with the bridge contract before) wants to send their asset from Chain B back to Chain A, they will post collateral on the bridge contract and submit withdrawal transactions to the bridge contracts on both Chain A and Chain B. On Chain A, the withdrawal transaction will be confirmed <em>but not verified as either a valid or invalid withdrawal</em> by Chain A miners and full nodes.</li><li>Before the user can take full possession of the asset they want to withdraw from the bridge on Chain A, the withdrawal transaction that was confirmed on Chain A has to go through a challenge period. This challenge period typically lasts between several hours and several days.</li><li>During the challenge period anyone can submit a “fault proof” transaction to the bridge smart contract on Chain A asserting that the withdrawal is invalid. This fault proof should contain all of the data needed for the bridge smart contract on Chain A to be convinced that the user who made the withdrawal transaction did not really own the asset that they are trying to withdraw. If the fault proof is valid and confirmed on Chain A, the withdrawal will be cancelled and the user who initiated the invalid withdrawal on Chain A will have their collateral slashed i.e. deleted or redistributed.[1] If the challenge period passes and no valid fault proof is confirmed on Chain A proving that the withdrawal is invalid then the withdrawal will be processed and the user will receive their asset and their collateral back.</li></ol><p>What an astute observer will notice is that this optimistic bridge protocol is secure only if 1) no one attempts an invalid withdrawal, <strong>or</strong> 2) if an invalid withdrawal is attempted, there is at least one honest user who tries to submit a fault proof on Chain A <strong>and</strong> their fault proof transaction will not be censored by Chain A miners for the entire duration of the challenge period. An astute observer will further notice that this security model is identical to hashrate escrows: a malicious hashpower majority on Chain A can steal all the funds in an optimistic bridge — by creating an invalid withdrawal sending all of the funds in the bridge to themselves and censoring the fault proof transaction — just like a malicious hashpower majority can steal all the funds in a hashrate escrow.</p><p><strong>So will miners steal? Let’s look and see!</strong></p><p>Like bitcoin, Ethereum is a proof-of-work blockchain predominantly mined using ASIC hardware. Since 2020, there has been at least one optimistic bridge running on Ethereum, the first one to launch being Fuel v1. Today, the optimistic bridge with the most value locked is the <a href="https://near.org/blog/eth-near-rainbow-bridge/">Rainbow Bridge</a>, which bridges Ethereum and NEAR and has about 20,000 BTC (equivalent to about $600 million) worth of assets locked in it at the time of writing.[2]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*VlFidiCm7K3Uijaw" /></figure><p>Source: <a href="https://etherscan.io/dashboards/bridges">https://etherscan.io/dashboards/bridges</a></p><p>If the MWSH were true, then one would expect the miners to have stolen this value by now. After all, they have the capability to, and it is a very large amount of value. And yet so far, even with the capability of stealing a very large amount of value, miners have neither attempted nor succeeded at stealing it.[3] The evidence suggests that, at least in this scenario and others like it, the MWSH is false.</p><p><strong>Why won’t miners steal?</strong></p><p>To test the strength of the evidence disproving the MWSH in this context, it is worth pondering the question: why haven’t miners stolen from the Rainbow Bridge or any other optimistic bridge on Ethereum?</p><p>It’s impossible to know for sure what the exact reasons are for why miners behave the way they do. But we can make a few guesses about this, such as:</p><ul><li><strong>The reward for stealing isn’t large enough.</strong> Maybe the value of their mining equipment, operations, freedom (from lawsuits, prison, or worse), and the net present value of future block rewards are, all combined, worth more to the hashpower majority than 20,000 BTC worth of value. Given that the Ethereum community expects to transition to pure Proof of Stake some time this year, it’s possible that this calculus changes as they get closer to The Merge. We’ll have to wait and see how this plays out.</li><li><strong>Some of the stolen assets can be frozen.</strong> Much of the value locked in Rainbow Bridge is in the form of centralized assets like USDC and USDT, which have “freeze” functionality built into their token contracts. While there is also a not-insignificant amount of value that cannot be frozen by an issuer, like DAI and WETH, and the centralized asset issuers would only have 4 hours to make the freeze transaction based on current Rainbow Bridge parameters, the possibility of having so much of the loot frozen has to be factored into the cost-benefit analysis.</li><li><strong>‘Three may keep a secret, only if two are dead.’</strong> Secret conspiracies, especially among mutually distrustful parties such as cryptocurrency miners, are difficult to enforce, even when there’s a large monetary incentive to collude. Organizing an attack like this risks a leak, which risks backlash from Ethereum users, potentially crashing the ETH price, accelerating The Merge, etc. A smart contract could be set up using existing public data (such as the addresses miners already use to receive block rewards) to overcome the need to coordinate in secret. Such a smart contract would be inherently public, but could be deployed without implicating any particular miner as an organizer of the theft, since contract deployment can be done pseudonymously and censorship is a non-attributable fault. However once miners go to claim their bounty, which ones choose to participate in the theft by keeping the bounty rather than returning it would become public knowledge. And in any case, the theft would have obviously occurred by this point, which could result in all of the blowback I described earlier.</li><li><strong>The hashpower majority is intrinsically honest.</strong> A common observation is that most people are fundamentally good. It has been shown that most people, when presented with the opportunity to harm someone else,<a href="https://www.nytimes.com/2019/06/20/science/lost-wallet-what-to-do.html"> won’t take it</a>, even if they have something to gain and know they can get away with it (earlier experiments suggesting otherwise<a href="https://www.vox.com/2018/6/13/17449118/stanford-prison-experiment-fraud-psychology-replication"> have been debunked</a>). It’s possible that the group of miners who make up the hashpower majority are also fundamentally good and thus intrinsically honest, at least at this scale of responsibility (existing <a href="https://www.coindesk.com/miners-front-running-service-theft">MEV</a> notwithstanding). This is not a theory that should be relied on for the security of large amounts of value, of course!</li><li><strong>‘A bird in hand is worth two in the bush.’ </strong>Or as Satoshi wrote, “He ought to find it more profitable to play by the rules, such rules that favour him with more new coins than everyone else combined, than to undermine the system and the validity of his own wealth.” Granted, optimistic bridges change the game, and so the old rules may no longer apply. It’s possible that miners aren’t necessarily “honest”, at least not altruistically so, but that they simply prefer the certainty of earning block rewards by mining transactions that pay market-rate fees rather than the uncertainty of risking it all for a heist that may actually destroy the value of what it is they’re trying to steal.</li><li><strong>They just don’t know!</strong> It’s also possible that a sufficient quorum of malicious miners just don’t know that this opportunity to steal exists. Well, if they didn’t know before, now they do. #FullDisclosure</li></ul><p>Whatever their reasons for ignoring 20,000 BTC worth of value there for the taking, optimistic bridges such as Rainbow Bridge on Ethereum show us that so far, when presented with the opportunity, miners won’t steal.</p><p>[1] Not all optimistic bridges cancel the invalid withdrawal when a valid fault proof is submitted. Some, like Nomad, put the burden of reacting to prevent harm on users of the receiving chain.</p><p>[2] There are other protocols that call themselves “optimistic” but rather than completely relying on fault proofs for security, as the original optimistic design specifies, they are <a href="https://twitter.com/lightcoin/status/1527720228272189441">currently configured</a> to rely on a centralized entity (or trusted third parties designated by a centralized entity) to submit state root updates and/or block invalid state root updates. Credit to Eric Wall for pointing me to Rainbow Bridge as an example of a true “ <a href="https://twitter.com/kelvinfichter/status/1527052540633808896">Level 4</a> “ optimistic bridge with working fault proofs.</p><p>[3] Fun fact: Someone actually did try to steal from the Rainbow Bridge, but, ironically (predictably?) <a href="https://twitter.com/AlexAuroraDev/status/1520810591803293696">it was a miner who stopped the theft from happening</a>.</p><p><em>Thanks to </em><a href="https://mstdn.io/@taoeffect"><em>Greg Slepak</em></a><em>, </em><a href="https://twitter.com/SomsenRuben"><em>Ruben Somsen</em></a><em>, </em><a href="https://twitter.com/Truthcoin"><em>Paul Sztorc</em></a><em>, and </em><a href="https://twitter.com/ercwl"><em>Eric Wall</em></a><em> for their reviews and feedback on earlier drafts on this post. Any mistakes or inaccuracies that remain are my own.</em> <em>Email is probably the most popular decentralized messaging protocol, and I expect it to be around for a while. Add yourself to my email contacts if you would like to stay in touch! I will never sell, rent, or share your email address.</em></p><p><em>Originally published at </em><a href="https://lightco.in/2022/06/15/miners-can-steal-2/"><em>https://lightco.in</em></a><em> on June 15, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22c5eec52fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>