Ethereum developers are aspiring to launch Eth 2.0 in 2020. But that doesnât mean all the technical details have been spelled out yet.
The sum of account balances maintained by the networkâs nodes â called the state â continues to grow larger and larger as applications and projects transact. Adoption is good, but runaway growth is bad. Independent developer Alexey Akhunov may have a solution â one pulled from Cosmos, the interoperability blockchain.
His new proposal, dubbed âReGenesis,â posted on EthResearch on June 24, would bring stateless client research to the current Ethereum chain (also known as Eth 1.x) by ânukingâ certain nodesâ states and swapping them with a math proof on a rolling basis.
The purpose? Make Ethereumâs data set scalable with minimal sacrifices to security.Â
âSome of the older nodes will forget about the state,â Akhunov said in an interview with CoinDesk. âAt this point in time, all the nodes will forget what the state was. They will only remember the hash.â
Nuking the blockchain isnât a novel idea. In fact, the idea is mentioned in the Ethereum yellow paper by co-founder Gavin Wood.
Akhunov said he drew inspiration for his interpretation of ReGenesis from Cosmos, which has undergone a similar procedure multiple times to make the chain âlighter.â
âI call this ârelaunchâ ReGenesis, and it can be done regularly to ease the burden on the non-mining nodes. It also represents a less dramatic version of Stateless Ethereum,â Akhunov wrote.
WATCH: Vitalik Buterin Explains the New Tech Behind Eth 2.0
Supporting stateless clients â meaning nodes that would carry as little state information as possible to verify transactions â has been a prime objective of Eth 2.0 in order to decrease data strains on Ethereum nodes. ReGenesis would incorporate some of the Ethereum researchersâ insights into the transitionary period, or Eth 1.x.
Akhunovâs proposal works like a video-game checkpoint. Every time the Ethereum blockchain hits a certain block number, the network would auto save. Then it would delete all its progress minus a âproofâ or âwitnessâ of all the past transactions. The autosave could then be stored on other networks like BitTorrent, Akhunov said.
The proof allows the reborn Ethereum chain to begin again from a sure foundation, but only for certain types of nodes, Akhunov said.
âWhat we are removing is the assumption that all other validating nodes have the access to that implicit state to check that the transactions in the block are valid and the state root hash presented in the block header matches up with the result of the execution of that block,â he wrote.
This checkpoint system is already used in different ways for bringing new nodes online, such as in Beam sync.
ReGenesis is hardly wandering off the range when it comes to Ethereum philosophy.Â
Ethereum co-founder Vitalik Buterin describes similar assumptions found in ReGenesis in a 2014 blog entitled, âProof of Stake: How I Learned to Love Weak Subjectivity.âÂ
There, Buterin argues a node can be trusted under certain constraints even if it begins from a checkpoint instead of the genesis block. Like ReGenesis, Buterin proposes a node merely âget a recent block hash from a friendâ to rejoin the network and begin validating transactions again.
Akhunovâs proposal is intended for Ethereumâs current proof-of-work (PoW) blockchain. But it operates under similar assumptions found in Buterinâs thoughts on proof-of-stake (PoS) by segregating the network into âfull nodesâ and âstateless clientsâ that rely on outside proofs.
Weak subjectivity itself is taken to its logical conclusion with the ongoing research project Stateless Ethereum and PoS. That project hopes to create a method for transactions to be verified based on the transaction hash and a math proof alone in Eth 2.0.Â
ReGenesis reflects much about Stateless Ethereum and Eth 2.0âs unresolved latter steps. For now, itâs a promising project that many in the community have gotten behind, just as they have done with Akhunovâs other project, TurboGeth.Â
Read more: âTurbo Gethâ Seeks to Scale Ethereum â And Itâs Already in Beta
One issue team leader at Ethereum Foundation client Geth Péter Szilágyi pointed out, however, is that ReGenesis does not technically decrease the state. It only âprunesâ the chain.Â
In other words, Szilágyi is saying some parties will still have to maintain a full copy of the state without the assistance of Akhunovâs proposal because they need to access the old state in order to send transactions. If some must use the full ledger, then the state has not been truly ânuked.â
A big state could be big trouble. Two such consequences include slower processing speeds and an easier target for distributed denial of service (DDOS) attacks. In other words, private transactions have public consequences for blockchains, particularly for application-hosting ledgers.
Not only that, but many decentralized applications (dapps) such as Web 3.0 browsers could struggle to work without a âreboot,â Szilágyi said. Many dapps need to access the full state in order to work and not just a proof.Â
âUltimately, it always boils down to what can you afford to delete. If the Ethereum ecosystem permits us to delete old blocks, or old logs, a loooot can be achieved. If not â and Ethereum sold them that nothing gets deleted â we have problems,â Szilágyi said.