Business Insights
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact

Archives

  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • August 2023
  • January 2023
  • December 2021
  • July 2021
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019

Categories

  • Business
  • Crypto
  • Economy
  • Finance Expert
  • Forex
  • Invest News
  • Investing
  • Tech
  • Trading
  • Uncategorized
  • Videos
Apply Loan
Money Visa
Advertise Us
Money Visa
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact
Announcing the Trillion Dollar Security Initiative
  • Crypto

Transaction spam attack: Next Steps

  • September 5, 2025
  • Roubens Andy King
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0

Today the network was attacked by a transaction spam attack that repeatedly called the EXTCODESIZE opcode (see trace sample here), thereby creating blocks that take up to ~20-60 seconds to validate due to the ~50,000 disk fetches needed to process the transaction. The result of this was a ~2-3x reduction in the rate of block creation while the attack was taking place; there was NO consensus failure (ie. network fork) and neither the network nor any client at any point fully halted. The attack has since, as of the time of this writing, mostly halted, and the network has for the time being recovered.

The short-term fix is for users, including miners, enterprise users (including exchanges) and individuals to run geth with the flags:

–cache 1024 –targetgaslimit 1500000 –gasprice 20000000000

Or Parity with the flags:

–cache-size-db 1024 –gas-floor-target 1500000 –gasprice 20000000000 –gas-cap 1500000

This (i) increases the cache size, reducing the number of disk reads that nodes need to make, and (ii) votes the gas limit down by ~3x, reducing the maximum processing time of a block by a similar factor.

In the medium term (ie. several days to a week), we are actively working on several fixes for the Go client that should both provide a more stable resolution for the present issue and mitigate the risk of similar attacks, including:

  • A change to miner software that automatically temporarily cuts the gas limit target by 2x when the miner sees a block that takes longer than 5 seconds to process, allowing for adjustments similar to what was coordinated today to happen automatically (see here for a pull request; note that this is a miner strategy change and NOT a soft fork or hard fork)
  • Numerical tweaks to cache settings
  • Adding additional caches
  • Adding an additional cache for EXTCODESIZE specifically (as it is likely that EXTCODESIZE reads are several times slower than other IO-heavy operations since the contracts that are being read are ~18 KB long)
  • An on-disk cache of state values that allows them to be more quickly (ie. O(log(n)) speedup) accessed

We are also exploring the option of replacing the leveldb database with something more performant and optimized for our use case, though such a change would not come soon. The Parity team is working on their own performance improvements.

In the longer term, there are low-level protocol changes that can also be explored. For example it may be wise to add a feature to Metropolis to increase the gas costs of opcodes that require reads of account state (SLOAD, EXTCODESIZE, CALL, etc), and especially read operations that read external accounts; increasing the gas cost of all of these operations to at least 500 would likely be sufficient, though care would need to be taken to avoid breaking existing contracts (eg. simultaneously implementing EIP 90 would suffice).

This would put a much lower upper bound on the maximum number of bytes that a transaction may read, increasing safety against all potential attacks of this kind, and reducing the size of Merkle proofs and hence improving security for both light clients and sharding as a side effect. At present, we are focusing on the more immediate software-level changes; however, in the long term such proposals should be discussed and contract developers should be aware that changes of this sort may take place.


Total
0
Shares
Share 0
Tweet 0
Pin it 0
Roubens Andy King

Previous Article
ADA Bears Test Support, Bulls Eye alt=
  • Forex

ADA Bears Test Support, Bulls Eye $0.92 Breakout on Hoskinson Boost

  • September 5, 2025
  • Roubens Andy King
Read More
Next Article
Stocks rise as good weather boosts UK retail sales and house prices hit record high
  • Investing

Stocks rise as good weather boosts UK retail sales and house prices hit record high

  • September 5, 2025
  • Roubens Andy King
Read More
You May Also Like
CRITICAL UPDATE Re: DAO Vulnerability
Read More
  • Crypto

CRITICAL UPDATE Re: DAO Vulnerability

  • Roubens Andy King
  • September 7, 2025
Bitcoin Mining Difficulty Soars To 135 Trillion
Read More
  • Crypto

Bitcoin Mining Difficulty Soars To 135 Trillion

  • Roubens Andy King
  • September 7, 2025
Why Blockchain Cities Fail: Regulations, Unrealistic Expectations
Read More
  • Crypto

Why Blockchain Cities Fail: Regulations, Unrealistic Expectations

  • Roubens Andy King
  • September 7, 2025
Paxos Proposes USDH Stablecoin to Anchor Hyperliquid Ecosystem and Fund Buybacks
Read More
  • Crypto

Paxos Proposes USDH Stablecoin to Anchor Hyperliquid Ecosystem and Fund Buybacks

  • Roubens Andy King
  • September 7, 2025
Corporate Bitcoin Treasury Firms Reach 1 Million Bitcoin
Read More
  • Crypto

Corporate Bitcoin Treasury Firms Reach 1 Million Bitcoin

  • Roubens Andy King
  • September 7, 2025
Boerse Stuttgart Launches Seturion, Pan‑European Blockchain Settlement Platform for Tokenized Assets
Read More
  • Crypto

Boerse Stuttgart Launches Seturion, Pan‑European Blockchain Settlement Platform for Tokenized Assets

  • Roubens Andy King
  • September 7, 2025
Bitcoin Cycle Peak May Extend Into 2026, Decay Model Shows
Read More
  • Crypto

Bitcoin Cycle Peak May Extend Into 2026, Decay Model Shows

  • Roubens Andy King
  • September 7, 2025
Crypto Sentiment Shifts To Fear As Altcoin Interest Wanes
Read More
  • Crypto

Crypto Sentiment Shifts To Fear As Altcoin Interest Wanes

  • Roubens Andy King
  • September 7, 2025

Recent Posts

  • US Ethereum ETFs Surpass Weekly Record With $787M Outflow — Details
  • Lucky Drop College and Start His Own Business But Why? 😱 ~ Lucky Anjali True Love Story ❣️| #love
  • CRITICAL UPDATE Re: DAO Vulnerability
  • Thinking About Smart Contract Security
  • Bitcoin Mining Difficulty Soars To 135 Trillion
Featured Posts
  • US Ethereum ETFs Surpass Weekly Record With 7M Outflow — Details 1
    US Ethereum ETFs Surpass Weekly Record With $787M Outflow — Details
    • September 7, 2025
  • Lucky Drop College and Start His Own Business But Why? 😱 ~ Lucky Anjali True Love Story ❣️| #love 2
    Lucky Drop College and Start His Own Business But Why? 😱 ~ Lucky Anjali True Love Story ❣️| #love
    • September 7, 2025
  • CRITICAL UPDATE Re: DAO Vulnerability 3
    CRITICAL UPDATE Re: DAO Vulnerability
    • September 7, 2025
  • Thinking About Smart Contract Security 4
    Thinking About Smart Contract Security
    • September 7, 2025
  • Bitcoin Mining Difficulty Soars To 135 Trillion 5
    Bitcoin Mining Difficulty Soars To 135 Trillion
    • September 7, 2025
Recent Posts
  • Why  XRP By December Isn’t ‘Hopium’ If ETFs Get Greenlight
    Why $50 XRP By December Isn’t ‘Hopium’ If ETFs Get Greenlight
    • September 7, 2025
  • Why AI stock tremors are ripping through portfolios
    Why AI stock tremors are ripping through portfolios
    • September 7, 2025
  • Why Blockchain Cities Fail: Regulations, Unrealistic Expectations
    Why Blockchain Cities Fail: Regulations, Unrealistic Expectations
    • September 7, 2025
Categories
  • Business (2,057)
  • Crypto (1,552)
  • Economy (120)
  • Finance Expert (1,687)
  • Forex (1,552)
  • Invest News (2,360)
  • Investing (1,486)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (812)

Subscribe

Subscribe now to our newsletter

Money Visa
  • Privacy Policy
  • DMCA
  • Terms of Use
Money & Invest Advices

Input your search keywords and press Enter.