Market Prices

BTC Bitcoin
$75,531 -1.73%
ETH Ethereum
$2,391.15 -3.32%
SOL Solana
$96.7 -3.66%
BNB BNB Chain
$705.4 -1.54%
XRP XRP Ledger
$1.28 -7.96%
DOGE Dogecoin
$0.0793 -3.88%
ADA Cardano
$0.1927 -5.59%
AVAX Avalanche
$7.2 -3.77%
DOT Polkadot
$0.9397 -4.72%
LINK Chainlink
$10.7 -5.96%

Event Calendar

{{年份}}
28
03
unlock Arbitrum Token Unlock

92 million ARB released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

12
05
halving BCH Halving

Block reward halving event

18
03
unlock Sui Token Unlock

Team and early investor shares released

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

💡 Smart Money

0x1438...3269
Experienced On-chain Trader
+$4.6M
79%
0xee77...cca8
Top DeFi Miner
+$3.8M
75%
0xee7e...f072
Early Investor
+$0.8M
87%

🧮 Tools

All →

The $103,000 Fee: When RBF Automation Becomes a Self-Imposed Drain

BitBear
Flash News

Tracing the gas leak where logic bled into code. On August 12, a Bitcoin transaction hit the mempool with an input of 160,343,885 satoshis—approximately 1.6 BTC. The output was zero. Every single satoshi went to the miner. This wasn't a protocol bug or a network attack. It was a script that kept raising the fee, second by second, until the entire UTXO was consumed by the transaction fee. The market will call it a user error. I call it a structural failure in tooling design.

Context: The Replace-By-Fee (RBF) mechanism, standardized in BIP125, allows a sender to replace an unconfirmed transaction with a higher-fee version to accelerate confirmation. It's a legitimate feature used by wallets and exchanges to manage congestion. But RBF is a permissionless tool—it trusts the sender to set rational fee limits. In this case, someone deployed an automated script that repeatedly increased the fee rate every second, likely in a loop, without a hard cap. The result: the script replaced the original transaction dozens of times, each time burning more value until the entire input became the fee. The block, mined by SpiderPool, collected 1.82 BTC in total fees—88% from this single transaction.

Core: Let me disassemble the failure at the code level. Based on my audit experience, a typical RBF automation script looks like this:

pseudo-code for RBF auto-bump:
while (tx not confirmed) {
  currentFee = getFeeRate(tx)
  newFee = currentFee + increment
  replaceTx(tx, newFee)
  sleep(1 second)
}

The missing line: if (newFee * txSize > inputValue) { break; }. Without that guard, the loop runs unchecked. The input value is fixed—once the cumulative fee exceeds the input, the remainder becomes negative, but in Bitcoin's accounting, the output is simply zero. The script doesn't check the remaining balance; it only checks the fee rate. This is a deterministic failure mode: the logic treats fee rate as an independent variable, not as a fraction of the input. The miner sees a high-fee transaction and includes it. No protocol-level error. The state transition is absolute: the UTXO is destroyed.

The $103,000 Fee: When RBF Automation Becomes a Self-Imposed Drain

But here's the counterintuitive part: the script likely worked exactly as intended for the first few seconds. It raised the fee, the transaction got prioritized, but then the mempool remained congested or the script's loop didn't have a confirmation check. The script kept bumping. The tragedy is that the user probably intended to speed up a single payment, and the automation did exactly what it was programmed to do—just without a safety boundary.

Contrarian: The mainstream narrative will blame the user for not setting a fee cap. That's true but shallow. The real blind spot is that the Bitcoin ecosystem lacks standardized safeguards for script-level fee management. Most wallets have a UI slider with a maximum fee percentage, but custom scripts bypass that. The contrarian angle: the problem is not the user's stupidity but the absence of a protocol-level or wallet-level enforcement mechanism. RBF is a permissionless feature, but permissionless does not mean consequence-free. The event exposes a gap between the technical design of RBF and the operational reality of automated scripts. We need a BIP that recommends a maximum fee ratio for replace-by-fee transactions, or at least a wallet standard that refuses to create a transaction with zero output. Until then, this will happen again.

The $103,000 Fee: When RBF Automation Becomes a Self-Imposed Drain

In the silence of the block, the exploit screams. The block is valid, the miner is happy, the user lost everything. The market will move on, but the structural risk remains. Every tool that automates RBF without a safety cap is a ticking time bomb.

Takeaway: This incident will accelerate the adoption of fee caps in wallet software. Expect to see mandatory maximum fee percentage warnings in the next cycle of wallet updates. For auditors, the lesson is clear: any automation that interacts with blockchain state transitions must have explicit boundary checks. The code does not lie—but the absence of code does.

Fear & Greed

51

Neutral

Market Sentiment

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$75,531
1
Ethereum ETH
$2,391.15
1
Solana SOL
$96.7
1
BNB Chain BNB
$705.4
1
XRP Ledger XRP
$1.28
1
Dogecoin DOGE
$0.0793
1
Cardano ADA
$0.1927
1
Avalanche AVAX
$7.2
1
Polkadot DOT
$0.9397
1
Chainlink LINK
$10.7

🐋 Whale Tracker

🔴
0xeb74...7597
2m ago
Out
3,810,494 USDT
🔴
0x572d...87cc
6h ago
Out
437 ETH
🔵
0x9d99...a399
1h ago
Stake
7,852,960 DOGE