Thursday, August 7, 2025
No Result
View All Result
Shop
WORTH BITCOIN
  • Home
  • Blockchain
  • Crypto
  • Bitcoin
  • Altcoin
  • DeFi
  • NFTs
  • More
    • Market & Analysis
    • Dogecoin
    • Ethereum
    • XRP
    • Regulations
  • Shop
WORTH BITCOIN
No Result
View All Result
Home Ethereum

Long-Range Attacks: The Serious Problem With Adaptive Proof of Work

n70products by n70products
July 6, 2025
in Ethereum
0
Long-Range Attacks: The Serious Problem With Adaptive Proof of Work
152
SHARES
1.9k
VIEWS
Share on FacebookShare on Twitter


Our present proof of labor design, blockchain-based proof of work, is the second iteration of our try and create a mining algorithm that’s assured to stay CPU-friendly and immune to optimization by specialised {hardware} (ASICs) in the long run. Our first try, Dagger, tried to take the thought of memory-hard algorithms like Scrypt one step additional by creating an algorithm which is memory-hard to compute, however memory-easy to confirm, utilizing directed acyclic graphs (mainly, timber the place every node has a number of mother and father). Our present technique takes a way more rigorous observe: make the proof of labor contain executing random contracts from the blockchain. As a result of the Ethereum scripting language is Turing-complete, an ASIC that may execute Ethereum scripts is by definition an ASIC for common computation, ie. a CPU – a way more elegant argument than “that is memory-hard so you may’t parallelize as a lot”. In fact, there are problems with “effectively, are you able to make particular optimizations and nonetheless get a big speedup”, however it may be argued that these are minor kinks to be labored out over time. The answer can also be elegant as a result of it’s concurrently an financial one: if somebody does create an ASIC, then others could have the motivation to search for kinds of computation that the ASIC can’t do and “pollute” the blockchain with such contracts. Sadly, nonetheless, there’s one a lot bigger impediment to such schemes normally, and one which is sadly to some extent basic: long-range assaults.

A protracted-range assault mainly works as follows. In a conventional 51% assault, I put 100 bitcoins right into a recent new account, then ship these 100 bitcoins to a service provider in alternate for some instant-delivery digital good (say, litecoins). I look forward to supply (eg. after 6 confirmations), however then I instantly begin engaged on a brand new blockchain ranging from one block earlier than the transaction sending the 100 bitcoins, and put in a transaction as a substitute sending these bitcoins again to myself. I then put extra mining energy into my fork than the remainder of the community mixed is placing into the primary chain, and finally my fork overtakes the primary chain and thereby turns into the primary chain, so on the finish I’ve each the bitcoins and the litecoins. In a long-range assault, as a substitute of beginning a fork 6 blocks again, I begin the fork 60000 blocks again, and even on the genesis block.

In Bitcoin, such a fork is ineffective, because you’re simply growing the period of time you would want to catch up. In blockchain-based proof of labor, nonetheless, it’s a significant issue. The reason being that should you begin a fork straight from the genesis block, then whereas your mining might be gradual at first, after just a few hundred blocks it is possible for you to to fill the blockchain up with contracts which can be very straightforward so that you can mine, however tough for everybody else. One instance of such a contract is just:

i = 0
whereas sha3(i) != 0x8ff5b6afea3c68b6cd68bd429b9b64a708fa2273a93ea9f9e3c763257affee1f:
i = i + 1

that the contract will take precisely a million rounds earlier than the hash matches up, so you may calculate precisely what number of steps and the way a lot gasoline it would take to run and what the state might be on the finish instantly, however different folks could have no selection however to truly run via the code. An necessary property of such a scheme, a needed consequence of the halting problem, is that it’s really inconceivable (as in, mathematically provably inconceivable, not Hollywood inconceivable) to assemble a mechanism for detecting such intelligent contracts within the common case with out really operating them. Therefore, the long-range-attacker may fill the blockchain with such contracts, “mine” them, and persuade the community that it’s doing an enormous quantity of labor when it’s really simply taking the shortcut. Thus, after just a few days, our attacker might be “mining” billions of occasions quicker than the primary chain, and thereby shortly overtake it.

Discover that the above assault assumes little about how the algorithm really works; all it assumes is that the situation for producing a sound block depends on the blockchain itself, and there’s a big selection of variability in how a lot affect on the blockchain a single unit of computational energy can have. One resolution entails artificially capping the variability; that is executed by requiring a tree-hashed computational stack hint alongside the contract algorithm, which is one thing that can not be shortcut-generated as a result of even when you already know that the computation will terminate after 1 million steps and produce a sure output you continue to have to run these million steps your self to provide the entire intermediate hashes. Nonetheless, though this solves the long-range-attack downside it additionally ensures that the first computation shouldn’t be common computation, however reasonably computing heaps and plenty of SHA3s – making the algorithm as soon as once more weak to specialised {hardware}.

Proof of Stake

A model of this assault additionally exists for naively applied proof of stake algorithms. In a naively applied proof of stake, suppose that there’s an attacker with 1% of all cash at or shortly after the genesis block. That attacker then begins their very own chain, and begins mining it. Though the attacker will discover themselves chosen for producing a block just one% of the time, they will simply produce 100 occasions as many blocks, and easily create an extended blockchain in that means. Initially, I assumed that this downside was basic, however in actuality it’s a problem that may be labored round. One resolution, for instance, is to notice that each block will need to have a timestamp, and customers reject chains with timestamps which can be far forward of their very own. A protracted-range assault will thus have to suit into the identical size of time, however as a result of it entails a a lot smaller amount of foreign money items its rating might be a lot decrease. One other various is to require no less than some share (say, 30%) of all cash to endorse both each block or each Nth block, thereby completely stopping all assaults with lower than that % of cash. Our personal PoS algorithm, Slasher, can simply be retrofitted with both of those options.

Thus, in the long run, it looks like both pure proof of stake or hybrid PoW/PoS are the best way that blockchains are going to go. Within the case of a hybrid PoW/PoS, one can simply have a scheme the place PoS is used to resolve the problem described above with BBPoW. What we’ll go together with for Ethereum 1.0 could also be proof of stake, it may be a hybrid scheme, and it may be boring outdated SHA3, with the understanding that ASICs is not going to be developed since producers would see no profit with the approaching arrival of Ethereum 2.0. Nonetheless, there’s nonetheless one problem that arguably stays unresolved: the distribution mannequin. For my very own ideas on that, keep tuned for the subsequent a part of this sequence.



Source link

Tags: AdaptiveattacksLongRangeProblemProofWork
  • Trending
  • Comments
  • Latest
dYdX to Unlock Over 33 Million Tokens: Will Price Crash?

dYdX to Unlock Over 33 Million Tokens: Will Price Crash?

December 19, 2024
XRP Price Reclaims Momentum: Is a Bigger Rally Ahead?

Bitcoin: What stablecoin flows tell you about BTC’s next move

December 19, 2024
Ted Cruz, Cynthia Lummis and 16 Other US Senators Now Aligned With Coinbase ‘Stand With Crypto’ Group

Ted Cruz, Cynthia Lummis and 16 Other US Senators Now Aligned With Coinbase ‘Stand With Crypto’ Group

December 19, 2024
AI for the little guy – Hypergrid Business

AI for the little guy – Hypergrid Business

December 19, 2024
4 Top Professional Crypto Trading Terminals- Better Way To Trade

4 Top Professional Crypto Trading Terminals- Better Way To Trade

0
Celsius CEO Requests to Drop Two Charges Linked to Fraud and Manipulation

Celsius CEO Requests to Drop Two Charges Linked to Fraud and Manipulation

0
Top Analyst Anticipates Dogecoin Surge To $0.10, But There’s A Catch

Top Analyst Anticipates Dogecoin Surge To $0.10, But There’s A Catch

0
Ethereum Bloodbath Incoming? Celsius’ $125 Million Move Threatens ETH Price

Ethereum Bloodbath Incoming? Celsius’ $125 Million Move Threatens ETH Price

0
Man Who Lost Nearly $1,000,000,000 In Bitcoin in Landfill Launches Bid To Tokenize 8,000 BTC Stash

Man Who Lost Nearly $1,000,000,000 In Bitcoin in Landfill Launches Bid To Tokenize 8,000 BTC Stash

August 7, 2025
I changed 17 iPhone settings to instantly extend my battery life – it takes seconds

I changed 17 iPhone settings to instantly extend my battery life – it takes seconds

August 7, 2025
Ethereum Price Falters Above $3,700 – Is a Pullback Brewing?

Ethereum Price Falters Above $3,700 – Is a Pullback Brewing?

August 7, 2025
Dogecoin Price Crash Could End Soon With A Roadmap For $5

Dogecoin Price Crash Could End Soon With A Roadmap For $5

August 7, 2025

Recent News

Man Who Lost Nearly $1,000,000,000 In Bitcoin in Landfill Launches Bid To Tokenize 8,000 BTC Stash

Man Who Lost Nearly $1,000,000,000 In Bitcoin in Landfill Launches Bid To Tokenize 8,000 BTC Stash

August 7, 2025
I changed 17 iPhone settings to instantly extend my battery life – it takes seconds

I changed 17 iPhone settings to instantly extend my battery life – it takes seconds

August 7, 2025
Ethereum Price Falters Above $3,700 – Is a Pullback Brewing?

Ethereum Price Falters Above $3,700 – Is a Pullback Brewing?

August 7, 2025

Tags

Altcoin ALTCOINS analyst Bitcoin Bitcoins Blog Breakout BTC Bullish Bulls Coinbase Crash Crypto DOGE Dogecoin ETF ETFs ETH Ethereum Foundation Heres high Key Major market Memecoin Million Move Outlook Predicts Price Rally REPORT Ripple SEC Solana Support Surge Target Top Trader Trump Updates Whales XRP

Categories

  • Altcoin
  • Bitcoin
  • Blockchain
  • Crypto
  • Dogecoin
  • Ethereum
  • Market & Analysis
  • NFTs
  • Regulations
  • XRP

Follow Us

© 2023 Worth-Bitcoin | All Rights Resered

No Result
View All Result
  • Home
  • Blockchain
  • Crypto
  • Bitcoin
  • Altcoin
  • DeFi
  • NFTs
  • More
    • Market & Analysis
    • Dogecoin
    • Ethereum
    • XRP
    • Regulations
  • Shop

© 2023 Worth-Bitcoin | All Rights Resered

Go to mobile version