This week’s newsletter features regular sections like Bitcoin Stack Exchange Q&A and the latest column about preparing for Taproot.
The Bitcoin Optech newsletter provides readers with a top-level summary of the most important technical news happening in Bitcoin, along with resources that help them learn more. To help our readers stay up-to-date with Bitcoin, we’re republishing the latest issue of this newsletter below. Remember to subscribe to receive this content straight to your inbox.
This week’s newsletter includes our regular sections with the best questions and answers of the past month from the Bitcoin Stack Exchange, our latest column about preparing for taproot, a list of new software releases and release candidates, and descriptions of notable changes to popular Bitcoin infrastructure software.
News
No significant news this week.
Selected Q&A from Bitcoin Stack Exchange
Bitcoin Stack Exchange is one of the first places Optech contributors look for answers to their questions—or when we have a few spare moments to help curious or confused users. In this monthly feature, we highlight some of the top-voted questions and answers posted since our last update.
What is this unusual transaction in the Bitcoin blockchain? Murch describes an output labeled “UNKNOWN” in a block explorer. The output is a segwit version 1 output with a contrived pubkey. As pointed out by 0xb10c, the 2019 transaction creating this output was for the purpose of testing segwit v1 support for Optech’s Compatibility Matrix. As warned previously (see Newsletter #158), P2TR outputs are anyone-can-spend before the activation of taproot, as 0xb10c demonstrated and elaborates in a blog post.
What are miners signalling for when the block header nversion field ends in 4 i.e. 0x3fffe004? While researching the overt form of ASICBoost, user shikaridota wonders why recently mined blocks have bit 2 being set in the nVersion field. Andrew Chow points out that taproot used bit 2 to signal for activation as specified in BIP341’s deployment section.
Where can I find Bitcoin’s alpha version with 15 minute block time intervals? Andrew Chow points to a selection of source code, allegedly from Satoshi, which contains 15 minute block times as well as 30 day retargeting periods.
What’s the purpose of using Guix within Gitian? Doesn’t that reintroduce dependencies and security concerns? Andrew Chow and fanquake describe the benefits of reproducible builds, including using Gitian builds and bootstrappable builds using Guix and comment on using them together.
Why are there several round number transactions with no change? Shm asks about a series of related transactions that have many inputs with a single round-number output with no change. Murch answers by describing change avoidance in the context of a wallet with a large number of UTXOs. Change avoidance allows for smaller transactions, reduced future fees, UTXO consolidation, and privacy improvements.
Preparing for taproot #6: learn taproot by using it
A weekly series about how developers and service providers can prepare for the upcoming activation of taproot at block height 709,632.
Almost two years ago, James Chiang and Elichai Turkel produced an open source repository of Jupyter notebooks for a series of Optech workshops to train developers on taproot technology. Workshops held in San Francisco, New York City, and London received positive reviews, but travel restrictions prevented subsequent in-person workshops.
Since the publication of the Jupyter notebooks, taproot underwent several changes. However, taproot support was also merged into Bitcoin Core, allowing the notebooks to drop their dependency on a custom branch of Bitcoin Core. Developer Elle Mouton has kindly updated the notebooks for all those changes, making them again a great way to quickly build hands-on experience working with taproot’s algorithms and data types.
The notebooks are divided into four sections:
Section 0 contains a notebook that helps you set up your environment, covers the basics of elliptic curve cryptography, and teaches you about the tagged hashes used throughout BIPs 340, 341, and 342.
Section 1 walks you through creating schnorr signatures. Once you’ve mastered them, you learn how to create multisignatures with the MuSig protocol.
Section 2 gives you experience with every aspect of taproot. It starts with a review of the principles of segwit v0 transactions and then helps you create and send segwit v1 (taproot) transactions. Applying the knowledge from section 1, you then create and spend a taproot output using MuSig. The concept of key tweaking is introduced and you learn how taproot allows you to use its public key to commit to data. Now that you can create commitments, you learn about tapscripts—how they differ from legacy and segwit v0 script, and how to commit to a tree of tapscripts. Finally, a short notebook introduces huffman encoding for creating optimal script trees.
Section 3 provides an optional exercise in creating a taproot output that changes which signatures are required the longer the output goes unspent—allowing the output to be efficiently spent under normal circumstances but also providing for a robust backup in case of problems.
The notebooks include numerous programming exercises that are relatively easy but which will ensure that you actually learned the material presented. The author of this column, who is no great coder, was able to complete the notebooks in six hours and only regretted that he had not taken the time to learn from them earlier.
Releases and release candidates
New releases and release candidates for popular Bitcoin infrastructure projects. Please consider upgrading to new releases or helping to test release candidates.
Rust Bitcoin 0.27.0 (bech32m support) is a new release. Most notably, it adds support for handling bech32m addresses.
C-Lightning 0.10.1rc1 is a release candidate for an upgrade that contains a number of new features, several bug fixes, and a few updates to developing protocols (including dual funding and offers).
Notable code and documentation changes
Notable changes this week in Bitcoin Core, C-Lightning, Eclair, LND, Rust-Lightning, libsecp256k1, Hardware Wallet Interface (HWI), Rust Bitcoin, BTCPay Server, Bitcoin Improvement Proposals (BIPs), and Lightning BOLTs.
Bitcoin Core #22387 limits the average number of announced addresses it’ll process from each peer to one per 10 seconds. Any addresses in excess of the limit will be ignored. It’s possible to whitelist peers to allow them to exceed this limit, and any address announcements the node explicitly requests from its peers are also excluded from the limit. The limit is estimated to be about 40 times higher than the current rate at which a Bitcoin Core node announces addresses.
C-Lightning #4669 fixes several bugs in its LN offers parsing and validation logic. It also returns a previously created offer that hasn’t yet expired if the user attempts to create a new offer with the same parameters; this may be especially useful since offers aren’t created by default with an expiration date.
C-Lightning #4639 adds experimental support for the liquidity advertisements proposed in BOLTs #878. This allows a node to use the LN gossip protocol to advertise its willingness to lease out its funds for a period of time, giving other nodes the ability to buy incoming capacity that allows them to receive instant payments. A node that sees the advertisement can simultaneously pay for and receive the incoming capacity using a dual funded channel open. Although there’s no way to enforce that the advertising node actually routes payments, the proposal does incorporate an earlier proposal also planned to be used in Lightning Pool that prevents the advertiser from using their money for other purposes until the agreed upon lease period has concluded, so refusing to route would only deny them the opportunity to earn routing fees. The following table compares liquidity advertisements to the similar Lightning Pool marketplace described in Newsletter #123.
BIPs #1072 merges the informational BIP48 titled “Multi-Script Hierarchy for Multi-Sig Wallets”. The document describes a widely deployed derivation standard for wallets participating in multisignature setups based on the m/48' prefix, and elaborates on the six derivation levels used by the scheme.
BIPs #1139 adds BIP371 with a specification of new fields for using PBSTs (both version 0 and version 2) with taproot transactions. See Newsletter #155 for previous discussion.
Find the original post here.
Please subscribe to the Bitcoin Optech newsletter directly to receive this content straight to your inbox every month.
Although the price of bitcoin remains relatively stable, there is reason to believe a major breakout is imminent.Headline: Bitcoin Is Lying In WaitDescription: Although the price of bitcoin remains relatively stable, there is reason to believe a major breakout is imminent.SEO: Bitcoin Is Lying In WaitBy: Dion Guillaume Last Week In Bitcoin is a series…
In what it claims is a world’s first, Legacy Trust Company Limited is launching a voluntary pension plan open to employers and the self-employed for which contributions and the underlying portfolio can include digital assets. “Investors are moving beyond speculation — they want to use digital assets and bring them into a diversified portfolio,” Vincent…
Senator Cynthia Lummis discussed the U.S. government’s attitude toward bitcoin and her upcoming appearance at the Bitcoin 2021 conference.When I lost spoke with Cynthia Lummis in November 2020, she had just become the first woman elected to represent Wyoming in the U.S. Senate. And she had also just become the most outspoken Bitcoiner ever elected…
“The merchants don’t want the banks either — that’s the alignment no one talks about. Look at what Kroger did. They pulled out of Visa. The retailers are on the good side.” Alex Adelman, co-founder and CEO of Lolli, should know. After graduating from the University of North Carolina at Chapel Hill in 2011, the…
Today, Slush Pool celebrates the 10-year anniversary of the first block the pool ever mined, Block #97834. It has been an incredible decade, and we’re proud to have mined over 1.25 million BTC since then. Here's our decade recap2010: Mining Bitcoin2011: Mining Bitcoin2012: Mining Bitcoin2013: Mining Bitcoin2014: Mining Bitcoin2015: Mining Bitcoin2016: Mining Bitcoin2017: Mining Bitcoin2018:…
Trading risky assets on centralized exchanges is the opposite of the saving Bitcoin incentivizes.This is an opinion editorial by Mark Maraia, an entrepreneur, author of “Rainmaking Made Simple” and a Bitcoiner.I find it tragic to note the number of people in the U.S.A. who are being forced by the Federal Reserve’s monetary policy to take…
“Make sure to close the door behind you,” Mathis Schultz, the CEO of Northern Bitcoin, said to me in a near shout. As we entered the backside of the shipping container, partitioned for the ASIC miners’ exhaust, Schultz wanted to make sure the heat emitted wouldn’t mingle with the temperature-controlled front end of the shipping…
Crypto exchange platform Coinbase has announced that it will be expanding its crypto-to-crypto trading service to more countries. In the announcement, Coinbase explains that cryptocurrencies are in a transition period, which will see them move from being investment options to utilities. According to the exchange, the enablement of crypto-to-crypto conversions will serve as “the backbone…
Bitcoin adoption in El Salvador has put the country in the news in a positive light, as the world watches their progress.This is the third installment in Okcoin’s “I am Satoshi” series, profiles of Salvadorans during the transition to bitcoin as legal tender. Read the first about Elina Marchenko’s visit with Enrique Barrios of Bitcoin…