This Is Why Some Bitcoin Core Nodes Can Stop Building Blocks

This Is Why Some Bitcoin Core Nodes Can Stop Building Blocks

Bitcoin Core has published a high-severity advisory disclosing a bug that could prevent affected nodes from creating block templates after a blockchain reorganization.

While the flaw didn’t change Bitcoin’s consensus rules, it could leave a miner unable to produce blocks until the node was restarted.

How a Reorg Can Leave the Mempool Broken

The advisory, CVE-2025-62861, is about an inconsistency involving version 3 transactions, known as TRUC, and Bitcoin Core’s mempool, with the affected releases being versions 28.0 to 28.2 and 29.0 to 29.1.

Under BIP-431, TRUC transactions face extra mempool restrictions where each can only have one unconfirmed ancestor (earlier transactions) and one unconfirmed descendant (later transactions). It should be noted that these are relay policy rules and not consensus requirements, meaning valid blocks can have arrangements that the mempool rejects.

“When a transaction submitted to the mempool would give a TRUC parent a second unconfirmed child, Bitcoin Core’s ‘sibling eviction’ logic (introduced in v28.0) treats the existing child as a replacement candidate and, if the new transaction pays enough, evicts it under replace-by-fee rules,” read the advisory.

According to the Bitcoin Core team, the above flaw usually appears during a chain reorganization. This is when recently confirmed blocks get disconnected from the chain, and the transactions within them have to be put back into the mempool so that they can be reconfirmed again later using “bypass_limits=true.” This flag is meant to faithfully restore the transactions without applying mempool anti-spam limits or topology restrictions.

The bug was that the sibling-eviction branch was not gated on “bypass_limits,” meaning that while transactions were being re-added, TRUC enforcement was still running. As such, a reorganization could restore a transaction arrangement that, while valid in a block, violated TRUC’s mempool limits.

It means that one of the restored transactions could be kicked out, with the ones remaining now spending outputs that were no longer available, thus leaving the mempool inconsistent. And when that happened, the affected node’s block template failed its validity check, and a miner using that node could not produce blocks until they restarted it.

Bitcoin at the Market

At the time of writing, BTC was trading below $74,000, having lost slightly more than 1% of its value in 24 hours, although the damage was much worse across longer timeframes, including a 6% dip in the last 7 days and a nearly 10% plunge over two weeks.

The weakness came in the wake of the release of October’s US CPI data, which ended up being hotter than expected, as headline inflation rose by 0.4% and core CPI went up 0.3%. It has contributed to the OG cryptocurrency dropping nearly 12% from where it was a month ago and 30% lower than its price around the same time last year.

The post This Is Why Some Bitcoin Core Nodes Can Stop Building Blocks appeared first on CryptoPotato.

Source link

Comments are closed.

bitcoin
Bitcoin (BTC) $ 52,393.00
ethereum
Ethereum (ETH) $ 1,594.85
tether
Tether (USDT) $ 0.998606
usd-coin
USDC (USDC) $ 0.999086
bnb
BNB (BNB) $ 514.62
xrp
XRP (XRP) $ 0.853853
solana
Solana (SOL) $ 68.52
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.04
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
tron
TRON (TRX) $ 0.280862
zcash
Zcash (ZEC) $ 923.81
hyperliquid
Hyperliquid (HYPE) $ 64.02
dogecoin
Dogecoin (DOGE) $ 0.056230
leo-token
LEO Token (LEO) $ 9.19
usds
USDS (USDS) $ 1.00
monero
Monero (XMR) $ 352.16
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
chainlink
Chainlink (LINK) $ 8.60
whitebit
WhiteBIT Coin (WBT) $ 53.75
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
cardano
Cardano (ADA) $ 0.140806
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
ethena-usde
Ethena USDe (USDE) $ 0.998732
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
near
NEAR Protocol (NEAR) $ 3.38
dai
Dai (DAI) $ 1.00
stellar
Stellar (XLM) $ 0.115604
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
bitcoin-cash
Bitcoin Cash (BCH) $ 204.15
litecoin
Litecoin (LTC) $ 40.02
quantixai
Quantix Finance (QFI) $ 999.15
susds
sUSDS (SUSDS) $ 1.08
tether-gold
Tether Gold (XAUT) $ 3,675.78
canton-network
Canton (CC) $ 0.071113
ripple-usd
Ripple USD (RLUSD) $ 1.00
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
avalanche-2
Avalanche (AVAX) $ 6.19
sui
Sui (SUI) $ 0.651894
blockchain-usd
Blockchain USD (USDB) $ 0.932324
uniswap
Uniswap (UNI) $ 4.46
weth
WETH (WETH) $ 2,268.37
global-dollar
Global Dollar (USDG) $ 1.00
the-open-network
Gram (prev. Toncoin) (GRAM) $ 0.843157
ondo-us-dollar-yield
Ondo US Dollar Yield (USDY) $ 1.16
usdt0
USDT0 (USDT0) $ 0.998824
paypal-usd
PayPal USD (PYUSD) $ 0.999930
usd1-wlfi
USD1 (USD1) $ 0.998304
bitway
Bitway (BTW) $ 2.27
hashnote-usyc
Circle USYC (USYC) $ 1.15
hedera-hashgraph
Hedera (HBAR) $ 0.049979
Shares