Эта страница предназначена исключительно для справочных целей. Некоторые услуги и функции могут быть недоступны в вашем регионе.

What is a soft fork?

A soft fork is a blockchain upgrade that tightens the validation rules: the new rules forbid some transactions or blocks that were previously allowed, while blocks produced under the new rules still satisfy the old rules. A blockchain network stores transactions in a series of blocks. The computers that run validation software and check and store these blocks are called nodes, and the validation rules they all enforce are called consensus rules. A soft fork lets nodes that have not upgraded keep accepting blocks that follow the new rules, but those nodes do not check the added requirements.

Bitcoin added new features through two soft forks, Segregated Witness (SegWit) and Taproot, each explained below. An upgrade usually involves a period when old and new nodes run side by side. This article covers four points in turn: why tightening the rules lets old nodes keep up, how Bitcoin added new features, when new rules start to be enforced, and what old nodes and wallets run into.

How a soft fork works: after the rules tighten, nodes that have not upgraded still accept new blocks

Think of the consensus rules as a list of which blocks are valid. After a soft fork, the new list is a subset of the old one: a block that is valid under the new rules is also valid under the old rules, but not necessarily the other way around. The Bitcoin community records protocol changes in Bitcoin Improvement Proposals (BIPs), and the BIP classification document, BIP-123, uses this change in the range of valid blocks to distinguish soft forks from hard forks.

Here is a simplified example. The part of a Bitcoin transaction that records an amount of coins and the conditions for spending it is called an output; for how this bookkeeping works, see unspent transaction output. Suppose the old rules let anyone spend a certain type of output, and the new rules require a valid digital signature to spend it. The holder creates the digital signature with their secret private key, and nodes use it to check whether the holder is entitled to spend the coins. Old nodes do not check the new signature requirement, so they also accept spends that carry a valid signature; upgraded nodes reject spends that lack the required signature.

The trouble comes with blocks that break the new rules. If a block contains a spend without the required signature, old nodes accept it but upgraded nodes reject it. On Bitcoin, blocks are produced by miners, who spend computing power searching for a valid block; this process is called mining. Nodes follow the valid chain that took the most computation to build, and this amount of computation is called cumulative work; for how it works, see proof of work.

Miners that enforce the new rules will not build new blocks on top of a rule-breaking block. If their combined computing power, known as hashrate, is a majority of the network, they can build a chain with more cumulative work that satisfies both the old and new rules, and old nodes will follow that chain too. The Bitcoin Developer Guide explains that a lasting split into two chains can be avoided provided upgraded nodes control a majority of the hashrate; this is not an outcome any soft fork gets automatically.

Bitcoin's two soft forks: Segregated Witness and Taproot

Segregated Witness (SegWit): storing signature data separately and recalculating block capacity

Segregated Witness moves signatures and other data used to check a transaction's validity out of the original transaction format and into separate witness data. Previously, some changes to how a signature was expressed did not change what a transaction did, yet they changed the identifier used to recognize the transaction, its transaction hash. This is called transaction malleability. Segregated Witness leaves witness data out of the transaction hash, so changes to that data no longer affect the identifier; for the detailed rules, see BIP-141, which sets out the Segregated Witness validation requirements.

It stays compatible with old nodes in two ways. First, the witness data of new-format outputs is invisible to old nodes, so they do not check the new spending requirements in it; upgraded nodes do check them. Second, it limits capacity using block weight: the byte is the unit of data size, each byte of the base part without witness data counts as 4, each byte of the witness part counts as 1, and the limit is 4,000,000. The base part that old nodes see therefore never exceeds the old rule's limit of 1,000,000 bytes, the 1 MB referred to here, while the total size including witness data can be larger. For an explanation of weight, see block; for how capacity relates to waiting times and fees, see network congestion.

Taproot: a more flexible way to pay

Bitcoin controls how coins can be spent with small programs that set the spending conditions, called scripts. Taproot's spending rules are set out in BIP-341 and use a digital signature method called Schnorr. The proposal aims to make these spending conditions more flexible and more compact to express, and to reduce how much information about the conditions must be revealed when coins are spent. This does not mean transaction amounts or all spending information are hidden.

Segregated Witness gave new-format outputs a version number, starting with version 0 and reserving versions 1 to 16 for future extensions. Taproot adds its rules to version 1 outputs. Nodes that have not upgraded to Taproot do not check these added requirements, while upgraded nodes validate against them, so this change is still a soft fork.

How a soft fork is activated: three methods and miner signaling

Software that contains new rules does not necessarily start enforcing them as soon as it runs; when they take effect depends on the upgrade plan. Bitcoin has used three methods:

  • Enforced on release: in the first two years, Satoshi Nakamoto released node software containing new rules, and the new version enforced them as soon as it ran.
  • Enforced at a set time or height: a time is agreed in advance, or a position of a block in the chain, known as block height. This approach depends on enough users running the new node version and is called a user-activated soft fork (UASF).
  • Enforced with miner signaling: miners indicate in the blocks they produce that they are ready to enforce the new rules, and the upgraded software uses an agreed threshold to decide when the rules take effect. This approach is called a miner-activated soft fork (MASF).

Different upgrades can use different signals at the same time, and BIP-9, which sets out the version bits signaling process, gives the details. Every block has a block header that records summary information, and miners set a designated binary digit (bit) in its version field to 1. On Bitcoin's mainnet, the live network that handles assets with real value, signals are counted every 2,016 blocks. Under the standard BIP-9 process, once at least 1,916 blocks signal, the upgrade is locked in and takes effect one period later; if it is still not locked in after the set deadline, that upgrade attempt fails.

Segregated Witness followed this process. Taproot lowered the threshold relative to BIP-9 and changed the activation process to add a minimum activation height: even if it locks in early, the new rules cannot be enforced before that height. The table below lists the Bitcoin mainnet parameters, with all times in Coordinated Universal Time (UTC). The actual activation height of Segregated Witness can also be checked in the Bitcoin Core mainnet consensus parameters.

Item Segregated Witness Taproot
Bit used for signaling (numbered from 0) Bit 1 Bit 2
Miner signaling window (UTC) November 15, 2016 to November 15, 2017 April 24, 2021 to August 11, 2021
Lock-in threshold per 2,016 blocks At least 1,916 (about 95%) At least 1,815 (about 90%)
Minimum activation height None set; takes effect one period after lock-in 709,632
Height at which enforcement actually began 481,824 709,632

These are the parameters of these two upgrades, not a threshold or waiting time that applies to every soft fork.

What happens to nodes and wallets that have not upgraded after a soft fork

Old nodes can keep running, but they do not check the added requirements. They may accept a block containing a transaction that upgraded nodes reject, and they may not relay transactions that later make it into a block. So "old nodes can keep up" does not mean the information they provide is as complete as that of upgraded nodes.

When old software misses new requirements, users can misjudge a payment they receive. BIP-16, which sets out one way of checking spending conditions, describes such a scam: the attacker first sends coins to themselves with a transaction that old nodes consider valid but the new rules reject, then spends that transaction's output to pay the victim, and puts both transactions in a block they mined themselves. A transaction entering a block on the currently followed chain counts as its first confirmation. If the victim treats this one confirmation shown by an old node as proof that the payment is settled, they will find, once other nodes reject and replace that block, that the coins paid to them came from an invalid transaction and neither transaction stands. The proposal notes that this attack is costly and hard to carry out in practice, but the risk of old software missing new rules is real.

Whether a wallet, the software used to manage keys, sign and send transactions, can send to a given type of receiving address also depends on the formats it supports. An address is a string of characters that specifies where to receive funds; for details, see blockchain address. A wallet that has not been upgraded can still send and receive bitcoin in the legacy formats it supports. Sending to a Taproot address also depends on whether it supports the Bech32m encoding format used to write these addresses. Node rule compatibility and wallet format support are two separate matters; for what is supported, refer to the documentation of the wallet or platform you use.

FAQ

Which changes require a hard fork rather than a soft fork?

If the new rules must allow blocks that the old rules explicitly reject, the change is a hard fork; it does not fit the definition of a soft fork, which narrows the range of valid blocks. For example, directly allowing blocks larger than 1,000,000 bytes as old nodes measure them would make those nodes reject the new blocks; Segregated Witness, by contrast, did not raise the limit on the base part that old nodes see. Whether the old and new rules are compatible is a different question from whether both sides keep producing blocks and end up in a lasting split.

Does miner signaling mean miners vote on the upgrade?

A signal shows that a miner is ready to enforce a particular new rule; it does not mean nodes will accept any rule based on signals alone. The specific validation requirements and their activation process are already written into the node software; even if miners signal, nodes that have not updated their software do not gain these checks on their own.

Learn more about blockchain forks, hard forks, blockchain nodes, proof of work, block height and block confirmation, or return to the cryptocurrency glossary.

References

Дисклеймер
Материалы представлены исключительно в ознакомительных целях и могут включать информацию о продуктах, которые недоступны в вашем регионе. Они не являются инвестиционным советом, рекомендацией, призывом или предложением к покупке, продаже или хранению криптовалюты / цифровых активов, а также финансовым, бухгалтерским, юридическим или налоговым советом. Криптовалютные и цифровые активы, в том числе стейблкоины, сопряжены с высокими рисками и подвержены сильным ценовым колебаниям. Оцените свое финансовое состояние и тщательно обдумайте, подходит ли вам торговля криптовалютой / цифровыми активами и их хранение. За подробной консультацией обратитесь к специалисту по юридической, налоговой или инвестиционной деятельности. Информация (включая рыночные и статистические данные, при их наличии), представленная на этой странице, предназначена исключительно для ознакомления. При подготовке статьи были приняты все меры предосторожности, однако автор не несет ответственности за фактические ошибки и упущения.

Цифровые активы подвержены волатильности и не застрахованы. Не является финансовым или инвестиционным советом. Некоторые продукты и услуги доступны не во всех регионах. Действуют исключения и условия.

© OKX, 2026 год. Эту статью можно копировать или распространять полностью, а также использовать выдержки из нее объемом не более 100 слов, при условии, что такое использование не является коммерческим. При любом копировании или распространении всей статьи должно быть указано: «Эта статья принадлежит OKX (© 2026 г.) и используется с ее разрешения». Разрешенные выдержки должны содержать ссылку на название статьи и указание авторства, например «Название статьи, [имя автора, если указано], © OKX, 2026 г.». Часть контента может быть создана с использованием инструментов искусственного интеллекта (ИИ). Использование статьи в производных и других работах не допускается.

Похожие статьи

Показать еще
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
3 дек. 2026 г.
12-03-glossary-thumnail/zero-knowledge-rollup

What is Post-Quantum Cryptography (PQC)?

**Post-quantum cryptography (PQC), also called quantum-resistant or quantum-safe cryptography, is a family of public-key algorithms designed to withstand attacks from quantum computers.** It runs as s
3 дек. 2026 г.
Smart Contract

What is a digital signature?

A digital signature is a string of characters computed from a piece of data with a [private key](/learn/what-is-private-key). Anyone who has the matching [public key](/learn/what-is-public-key), the s
3 дек. 2026 г.
12-03-glossary-thumnail/zero-knowledge-rollup

What is a ZK rollup?

**A zero-knowledge rollup (ZK rollup) is a type of [rollup](/learn/what-is-a-rollup): it hands the results of a batch of transactions to the main chain together with a proof, and the main chain accept
3 дек. 2026 г.
12-03-glossary-thumnail/zero-knowledge-proof

What is a zero-knowledge proof?

**A zero-knowledge proof (ZKP) lets someone convince another party that a statement is true without revealing any information beyond the statement itself.** The party that submits the proof is called
3 дек. 2026 г.
12-03-glossary-thumnail/validator

What is a validator?

**A validator is a participant in a [proof-of-stake](/learn/what-is-proof-of-stake) blockchain that proposes new blocks and votes on other blocks.** It must first [stake](/learn/what-is-staking) the a
3 дек. 2026 г.
Показать еще