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
Grayscale unveils Ethereum covered call ETF to boost investor income
Read More
  • Crypto

Grayscale unveils Ethereum covered call ETF to boost investor income

  • Roubens Andy King
  • September 5, 2025
Stripe And Paradigm Announce Tempo, A New Layer-1 Blockchain For Stablecoins
Read More
  • Crypto

Stripe And Paradigm Announce Tempo, A New Layer-1 Blockchain For Stablecoins

  • Roubens Andy King
  • September 5, 2025
Why Only Bitcoin Belongs On Corporate Balance Sheets
Read More
  • Crypto

Why Only Bitcoin Belongs On Corporate Balance Sheets

  • Roubens Andy King
  • September 5, 2025
Bitcoin Needs To Overtake 2K To Evade New Lows
Read More
  • Crypto

Bitcoin Needs To Overtake $112K To Evade New Lows

  • Roubens Andy King
  • September 5, 2025
Expert Warns Of Impending Collapse Post Bitcoin Peak
Read More
  • Crypto

Expert Warns Of Impending Collapse Post Bitcoin Peak

  • Roubens Andy King
  • September 4, 2025
NFT Trading Volume And Sales Climb Again
Read More
  • Crypto

NFT Trading Volume And Sales Climb Again

  • Roubens Andy King
  • September 4, 2025
Ethereum ETFs extend losing streak for third straight day with m
Read More
  • Crypto

Ethereum ETFs extend losing streak for third straight day with $38m

  • Roubens Andy King
  • September 4, 2025
Bloomberg analyst says altcoin ETF approvals unlikely to trigger a traditional alt season
Read More
  • Crypto

Bloomberg analyst says altcoin ETF approvals unlikely to trigger a traditional alt season

  • Roubens Andy King
  • September 4, 2025

Recent Posts

  • Grayscale unveils Ethereum covered call ETF to boost investor income
  • Bitcoin Bears Risk a Giant Short Squeeze in the Coming Weeks
  • Stocks rise as good weather boosts UK retail sales and house prices hit record high
  • Transaction spam attack: Next Steps
  • ADA Bears Test Support, Bulls Eye $0.92 Breakout on Hoskinson Boost
Featured Posts
  • Grayscale unveils Ethereum covered call ETF to boost investor income 1
    Grayscale unveils Ethereum covered call ETF to boost investor income
    • September 5, 2025
  • Bitcoin Bears Risk a Giant Short Squeeze in the Coming Weeks 2
    Bitcoin Bears Risk a Giant Short Squeeze in the Coming Weeks
    • September 5, 2025
  • Stocks rise as good weather boosts UK retail sales and house prices hit record high 3
    Stocks rise as good weather boosts UK retail sales and house prices hit record high
    • September 5, 2025
  • Transaction spam attack: Next Steps 4
    Transaction spam attack: Next Steps
    • September 5, 2025
  • ADA Bears Test Support, Bulls Eye alt= 5
    ADA Bears Test Support, Bulls Eye $0.92 Breakout on Hoskinson Boost
    • September 5, 2025
Recent Posts
  • Stripe And Paradigm Announce Tempo, A New Layer-1 Blockchain For Stablecoins
    Stripe And Paradigm Announce Tempo, A New Layer-1 Blockchain For Stablecoins
    • September 5, 2025
  • ECB Renews Digital Euro Pitch to Skeptical Lawmakers
    ECB Renews Digital Euro Pitch to Skeptical Lawmakers
    • September 5, 2025
  • Why Only Bitcoin Belongs On Corporate Balance Sheets
    Why Only Bitcoin Belongs On Corporate Balance Sheets
    • September 5, 2025
Categories
  • Business (2,057)
  • Crypto (1,501)
  • Economy (118)
  • Finance Expert (1,687)
  • Forex (1,499)
  • Invest News (2,358)
  • Investing (1,462)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (809)

Subscribe

Subscribe now to our newsletter

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

Input your search keywords and press Enter.