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) $ 74,231.00
ethereum
Ethereum (ETH) $ 2,076.08
tether
Tether (USDT) $ 0.999233
bnb
BNB (BNB) $ 685.67
usd-coin
USDC (USDC) $ 0.999621
xrp
XRP (XRP) $ 1.07
solana
Solana (SOL) $ 84.81
tron
TRON (TRX) $ 0.316281
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.04
hyperliquid
Hyperliquid (HYPE) $ 74.02
zcash
Zcash (ZEC) $ 1,006.04
monero
Monero (XMR) $ 592.13
dogecoin
Dogecoin (DOGE) $ 0.068908
usds
USDS (USDS) $ 1.00
leo-token
LEO Token (LEO) $ 9.28
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
whitebit
WhiteBIT Coin (WBT) $ 71.62
chainlink
Chainlink (LINK) $ 10.48
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
cardano
Cardano (ADA) $ 0.178754
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
stellar
Stellar (XLM) $ 0.150866
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
near
NEAR Protocol (NEAR) $ 3.78
ethena-usde
Ethena USDe (USDE) $ 0.999428
bitcoin-cash
Bitcoin Cash (BCH) $ 232.77
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
dai
Dai (DAI) $ 0.999832
litecoin
Litecoin (LTC) $ 51.26
susds
sUSDS (SUSDS) $ 1.08
uniswap
Uniswap (UNI) $ 6.56
avalanche-2
Avalanche (AVAX) $ 8.62
canton-network
Canton (CC) $ 0.093729
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
sui
Sui (SUI) $ 0.844984
the-open-network
Gram (prev. Toncoin) (GRAM) $ 1.19
blockchain-usd
Blockchain USD (USDB) $ 0.932324
usd1-wlfi
USD1 (USD1) $ 0.998195
weth
WETH (WETH) $ 2,268.37
tether-gold
Tether Gold (XAUT) $ 3,989.09
hedera-hashgraph
Hedera (HBAR) $ 0.066831
paypal-usd
PayPal USD (PYUSD) $ 0.999903
usdt0
USDT0 (USDT0) $ 0.998824
rain
Rain (RAIN) $ 0.003788
ripple-usd
Ripple USD (RLUSD) $ 1.00
global-dollar
Global Dollar (USDG) $ 0.999913
shiba-inu
Shiba Inu (SHIB) $ 0.000004
quant-network
Quant (QNT) $ 180.86
bittensor
Bittensor (TAO) $ 223.66
Shares