Oh no, you're thinking, yet another cookie pop-up. Well, sorry, it's the law. We measure how many people read us, and ensure you see relevant ads, by storing cookies on your device. If you're cool with that, hit “Accept all Cookies”. For more info and to customize your settings, hit “Customize Settings”.

Review and manage your consent

Here's an overview of our use of cookies, similar technologies and how to manage them. You can also change your choices at any time, by hitting the “Your Consent Options” link on the site's footer.

Manage Cookie Preferences
  • These cookies are strictly necessary so that you can navigate the site as normal and use all features. Without these cookies we cannot provide you with the service that you expect.

  • These cookies are used to make advertising messages more relevant to you. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on your interests.

  • These cookies collect information in aggregate form to help us understand how our websites are being used. They allow us to count visits and traffic sources so that we can measure and improve the performance of our sites. If people say no to these cookies, we do not know how many people have visited and we cannot monitor performance.

See also our Cookie policy and Privacy policy.

This article is more than 1 year old

Ethereum blockchain is sailing to Byzantium – hard fork up and running

Promises clearer user interaction and extra privacy

The latest upgrade to the popular Ethereum blockchain protocol – Byzantium –went live today, adding additional privacy and performance features.

Blockchains claim to offer users additional anonymity compared to standard systems because they're decentralised. Bitcoin is focused on cryptocurrencies, while the Ethereum network is built to run applications ranging from digital ledgers to video games.

Most notably, the updated network adds new opcodes programmers can use to make the network easier to work with. One, called "revert", lets them respond differently to function execution errors. For example, if a function for requesting funds from someone failed, a message could appear saying the requester wasn't authorised or their daily limits were reached.

"Revert" is activated for any Ethereum programs ("smart contracts") written in the standard Solidity language that were deployed before the blockchain switched to Byzantium, Ethereum developer Christian Reitwiessner told The Reg.

Byzantium also adds opcodes for supporting future, post-devcon updates to the Solidity compiler such as sharing data of any size between smart contracts, or accessing data without changing the blockchain state.

Elliot Shepherd, VP of technology at identitii (which has a blockchain database), told The Reg: "It's a shame that return values didn't make it into transaction receipts," but added, "the opcode changes look good, and should help us write clearer and safer smart contracts."

Byzantium also adds native support for certain mathematical operations that developers could use to help verify encrypted transactions, called zero-knowledge proofs. This would add an extra layer of privacy to the network because you wouldn't be able to tell a user's identity or account balance – only check that a transaction occurred.

Patrick McCorry, a post-doctoral scientist studying blockchains at University College London, helped build a decentralised voting system (for maximising voter privacy) on Ethereum using a third-party zero-knowledge-proof cryptography library. "The problem we faced was that running cryptography on Ethereum was really expensive," he told The Reg.

Users interact with smart contract programs by making transactions, which they "pay" for by using up "gas" they've purchased with Ethereum's currency, Ether. But because the network is shared among everybody, gas costs for computations can be high.

With the third-party library for these cryptographic functions in McCorry's system, it cost about 2.5 million gas, or $2, to prove an encrypted vote was "yes or no". So if there were 40 voters, it would cost about $80 to vote.

McCorry is going to be calculating new costs, but said native support for these cryptographic functions is "really exciting" because he figures perhaps users might now pay less than $1 per vote. Not dirt cheap, but much better.

The catch is that while it might be relatively simple for crypto-minded folk such as McCorry, it could still be hard for ordinary devs to use. Reitwiessner told The Reg his team is "working on" tools for making cryptography easier for the less numerically literate.

On its blog, Ethereum recommended that users update their clients for Byzantium (if they haven't already), or stay stuck on the old chain with the old rules. ®

Similar topics

TIP US OFF

Send us news


Other stories you might like