This article was translated from Japanese with AI. Read the original (日本語) · Report a translation issue

Various soft forks have been proposed for enabling covenants for quite some time now. We covered OP_CTV, widely seen as the frontrunner, in detail back in 2022. It met with considerable pushback at the time, but now that more people are calling for covenants to support Ark, its narrow scope is being appreciated anew as a strength.

OP_CTVとソフトフォーク導入方法
先週は寄稿をお休みさせていただいたので前回から間隔が空いてしまいましたが、その間にビットコインの世界は一大論争が巻き起こっています。本稿でも何度か登場している独創的なビットコイン開発者、Jeremy Rubin氏が自身の提案するOP_CTVという機能のソフトフォークによる導入をSpeedy Trial方式で目指すと発表したのです。 ところが同じくSpeedy Trial方式で導入されたTaprootと異なり、まだユーザーやビットコイン開発者の中でOP_CTVに対して広く支持が得られていないこと、Speedy Trial自体がソフトフォークの導入方法として好ましくないことが意見の対立につながっています。 今日はOP_CTVの概要と論争となっているポイントを整理し、個人的な意見も交えながら現在の論争がビットコインの将来にどのような影響を与えうるかを考察します。 TAPROOT導入時のおさらい Taprootの導入にあたって、2017年にユーザーの大半が支持したSegwitの導入にマイナーが抵抗したことを踏まえ、導入に際してマイナーに依存しないソフトフォークのアクティベーション方法

Other ways to implement covenants include SIGHASH_ANYPREVOUT (formerly SIGHASH_NOINPUT), OP_VAULT and OP_CAT. Support for these varies, and OP_CAT in particular is sharply divisive.

2023年はビットコイン開発への関心が高まった1年だった
今年も1年を振り返る時期になってまいりました。私は久しぶりの海外旅行やカンファレンス登壇などで充実させた一年でした。皆さんの2023年はどうでしたか? 先週、読者様から以下のようなリクエストが寄せられていました。 Bitcoin Optech Newsletterの2023年まとめ(https://bitcoinops.org/ja/newsletters/2023/12/20 )を読みましたが、ソフトフォーク提案が様々あり、どのOPコードがメインで議論されているかなど、開発の方向性がよく理解出てきていません。 今年の開発の総括や、来年以降の展望などこちらでもおまとめいただけると大変ありがたいです。 ちょうど年の瀬で振り返りに最適な時期でもあるので、今日は今年のビットコイン開発をまとめ、そのうちいくつかのトピックについて来年の予想をしていこうと思います。他にもご質問やご要望などあれば歓迎致しますので、どしどし教えていただければ幸いです! ・たくさんの新型L2が乱立、ソフトフォーク議論が再燃 ・粗雑なプロトコルも複数登場、議論の的に ・ライトニングはLSPの時代へ本格突入

We gave a brief summary of each of these proposals in our 2023 roundup article.

OP_CAT would benefit not only Ark but also BitVM and other projects, so why is it viewed with so much caution? At the root of it is concern over the decentralization of mining. Today, let's look at the arguments against OP_CAT, especially the worries about MEV, and get a sharper picture of the complexity of Bitcoin.

• OP_CAT, disabled in Bitcoin's earliest days, is powerful precisely because it is so primitive

• What is MEV, the main reason opponents cite?

• Since metaprotocols that lead to MEV are already being built today, OP_CAT, which could dramatically accelerate that trend, is a double-edged sword

OP_CAT, disabled in Bitcoin's earliest days, is powerful precisely because it is so primitive

Bitcoin features that start with "OP_," like OP_CAT and OP_CTV, are called opcodes: the functions of the Bitcoin Script language. We often discuss features implemented in Bitcoin Script, such as multisig, timelocks and hashlocks. Looked at more closely, these features are built by combining functions such as "verify a signature," "compute a hash," "compare values" and "add them together." Those functions are opcodes.

For example, even an ordinary single-sig P2PKH address has its spending conditions written in Bitcoin Script like this:

OP_DUP OP_HASH160 <Pubkey Hash> OP_EQUALVERIFY OP_CHECKSIG

💡
The frequently discussed OP_RETURN is also an opcode: a function that forcibly terminates the verification of spending conditions (in other words, makes the output unspendable).

OP_CAT is a very simple opcode that concatenates two pieces of data. It was disabled in 2010 as "dangerous because it could be used in unexpected ways," but it was part of Bitcoin as Satoshi originally released it. This primitive function is actually extremely powerful, enabling features that today's Bitcoin cannot achieve.

Bitcoin Script has so far mostly been used to verify signatures and hashes. If it could read transaction data and act on its contents, it would become possible to implement covenants and improve Lightning's penalty mechanism. Depending on how it is used, it could also enable verification of zero-knowledge proofs and interoperation with smart contracts on other blockchains. In fact, OP_CAT has drawn support especially from organizations and developers working on these latter use cases.

What is MEV, the main reason opponents cite?

So what are opponents worried about?

First, as background: among Bitcoin developers, some place a very high priority on avoiding risk, while others take the position that accepting some risk is reasonable after weighing the pros and cons. This is a difference in philosophy, so neither side is right or wrong.

With that in mind, one concern, as when OP_CAT was disabled in 2010, is wariness of unknown risks and attack vectors. For example, OP_CAT might give rise to DoS attack methods no one had anticipated. Part of its appeal is that it is an opcode that can be used in ways we cannot yet predict, so I don't think that possibility is small.

However, what opponents are most wary of is arguably the growth of MEV (Miner Extractable Value), which threatens the decentralization of Bitcoin mining.

MEVはビットコインの脅威になりうるか?
この頃ビットコイン開発者の間ではドライブチェーンと呼ばれる技術の話題が(悪い意味で?)盛り上がっています。というのも、昔からドライブチェーン推しだった人たちが急に「ドライブチェーンを使えるようにするソフトフォークをしよう!」とSNSで積極的に主張しだしたためです。 これに対して技術的な中身をあまり把握せずに反論してボロが出てしまう開発者がいたり、支持者も反対者も不誠実なレトリックを応酬したりと泥沼化しています。ビットコインにおいて大きな変更を積極的に押し出していくのは反発を招きやすく、Jeremy Rubin氏のOP_CTVなども似たような議論が巻き起こり結局実現しませんでした。(その後、技術的には悪くないと評価されている印象があります。) ドライブチェーンという技術自体はまたの機会に説明するとして、多くの開発者が懸念点として挙げるのはMEV (Miner Extractable Value)の機会が誕生することでマイニングの競争原理に影響するのではないかという点です。MEVとはイーサリアム界隈ではDefiの流行が始まった数年前から聞くようになった単語ですが、ビットコインにも実は関

For more on MEV, see this explainer from 2023.

Most OP_CAT supporters aim to strengthen Bitcoin's smart contract capabilities by extending Bitcoin Script. And protocols and metaprotocols built using smart contract capabilities often generate MEV.

MEV refers to miners using their privileged position to extract value from the "users" of smart contracts: for example, reordering transactions in their favor when building a block to front-run trades, exploiting poorly designed smart contracts to claim the "winning draw" of a lottery-style mechanism for themselves, or blocking competing bids in an auction.

Such behavior has actually been seen with Ordinal Inscriptions / BRC20, and a defining characteristic of MEV is that large miners are better positioned to extract it. That's because front-running can require significant capital, and keeping up with each new protocol requires technical development. Small miners can't compete.

As a result, large mining pools would likely gain a competitive advantage, and the already concentrated mining pool landscape would become even more concentrated. Opinions differ on how much of a problem mining pool concentration actually is, but probably no one would disagree that further concentration is undesirable.

For more on mining pools and Bitcoin's censorship resistance, see the article below.

マイニングプールによる検閲の影響力をおさらいする
ここ最近マイニングプールによる検閲が熱いトピックとなっています。9-10月にかけて業界3番手のマイニングプールであるF2PoolがOFAC規制に基づき制裁対象となっているアドレスからのトランザクションを意図的に含めていなかったことをリサーチャーの0xB10C氏が検知し公表しました。 Bitcoin’s Anti-Censorship Ethos Surfaces After Mining Pool F2Pool Acknowledges ’Filter’After a blockchain sleuth reported that the Bitcoin mining pool may have censored a transaction from an address blacklisted by U.S. authorities, critics responded, and so did the project’s co-founder.CoinDeskBradley Keoun 0xB10C氏はminingpool.observerという検閲検知ソフトを公開しています。
”Sophon”の力を借りてBRC20の発行を阻止し、ビットコインの手数料高騰を収束させることは可能か?
ここのところBRC20関連の話題がずっと続いていますが、くだらないと思いつつも現在もビットコイン上の送金手数料の高騰を招いているので引き続き解説をする価値はあるのかなと感じています。 実は数ヶ月前からオープンソースの「BRC20キラー」が存在するのをご存知でしょうか?中国のSF作家リウ・ツーシン氏の作品中に登場する地球の技術革新を妨害するスーパーコンピューター兵器にちなんで“Sophon”と名付けられたこのスクリプトは「肉を切らせて骨を断つ」戦法でBRC20トークンの発行自体を妨害してしまうという面白い代物です。 今回はやや小ネタのような記事ですが、慌ただしい師走の息抜きになれば幸いです。 ・Sophonはトークンの取得(ミント)ではなく「発行」自体を狙う ・Sophonに長期的な影響力はどれくらいあるのか?どのような費用対効果が期待できるのか?

As an aside, "Sophon," a joke project that disrupts the issuance of BRC20 tokens, was also only possible because of mechanisms that allow MEV.

Since metaprotocols that lead to MEV are already being built today, OP_CAT, which could dramatically accelerate that trend, is a double-edged sword

As described above, OP_CAT could trigger a large amount of MEV, which is negative for Bitcoin's decentralization from a mining standpoint. In particular, if integration with other smart contract chains or DeFi-like applications on Bitcoin become easier to build, there is a real risk that the rewards obtainable through MEV become large relative to the block reward. After all, there are already examples of this becoming a problem, albeit on a small scale.

OP_CAT is extremely powerful and would certainly bring many new features to Bitcoin, but the risk that hastily built, highly speculative products enabled by it could threaten Bitcoin's own decentralization must not be taken lightly. That said, it's also true that the emergence of BitVM and similar developments has expanded what can be done without OP_CAT.

発表からもうすぐ2年。ビットコイン上で任意の計算を検証できるBitVMはどう進歩しているのか?
2023年の秋に発表されたBitVMはいわゆる「ビットコインL2」、その中でも特にzkロールアップと呼ばれる技術を実現する方法としてその後も改良が続けられており、例えば最近のOP_Return騒動で「緩和されたOP_Return制限の想定されるユーザー」として一部のコア開発者に挙げられたCitreaというzkロールアップも利用しています。 OP_Return戦争再び:ブロックチェーンにデータを刻む機能について再燃する議論今週、ビットコイン関係のツイッターがある話題で持ちきりになっています。GitHubのBitcoin CoreリポジトリにPeter Todd氏が提出した以下のプルリクエストです。 Remove arbitrary limits on OP_Return (datacarrier) outputs by petertodd · Pull Request #32359 · bitcoin/bitcoinAs per recent bitcoindev mailing list discussion. Also removes the code to enforce tho

About BitVM

Seen in that light, even if OP_CAT is never adopted, it seems quite likely that the threat of MEV will return to Bitcoin on an unprecedented scale within a few years.

The question of how to protect the decentralization of mining pools is only becoming more important.

💡
Personally, while mining pool concentration is a problem, I think lock-in through financial contracts, custom firmware and the like deserves even more scrutiny. Even if pools are concentrated, there's no problem as long as miners can switch away from a malicious pool, but if they can't switch, mining pools end up with too much power. This may be the biggest unsolved problem in Bitcoin.