Back to blog

Parity 1.11 Beta: Now with Private Transactions

Parity 1.11 Beta is here: a faster, more extensible Ethereum client. This huge update to Parity Ethereum allows you to create encrypted contracts and transactions on-chain and warp-sync to specific blocks.

Now Possible: Private Transactions

We are very excited about implementing Private Transactions into Parity Ethereum. Private Transactions make it possible for you to store, modify, and view code and state for a set of permissioned participants. This means that with private transactions on public chains, all contracts and transactions are accessible only by those with the right permissions viewable by anyone, but now you can work with others in the open behind strong encryption.

Let's take a look at how Private Transactions work:

  • A regular smart contract is deployed which contains encrypted state and code for the Private Contract, as well as a list of Validators.
  • A separate Registry Contract controls which users may obtain access to a set of encrypted Private Contracts. Any owner of a permissioned address can ask the Secret Store on Kovan for key elements that will allow it to decrypt the code and state of the Private Contract.
  • Once decrypted, a Private Transaction can be sent as a message to the Validators, which can then execute it, produce the new, encrypted state, and sign it. If all Validators agree on the new state, a regular transaction can then be sent to update it on-chain.

Improved Warp Sync

Warp Sync on Parity enables you to get your node up to speed by downloading snapshots of the current state. As the transactions on Ethereum have exponentially increased and become more complex, it's been much more difficult for nodes to get up to speed. Now with Warp Barrier, you can jump to a minimum block number to make sure you're getting the latest possible snapshot, and built-in safeguards to prevent you from falling back to normal sync methods.

To use the new Warp Barrier feature, launch Parity with --warp-barrier [NUM]. Replacing [NUM] with the chain’s latest block number minus at least 10,000 blocks. More info in our Wiki.

Transaction queue optimizations

The Parity Ethereum transaction queue implementation has been rewritten from scratch to increase performance significantly. The transaction verification is now done in parallel. The complexity of inserting new transactions is now only limited by the number of transactions per sender. In addition, there is no longer a distinction between current and future transactions in the pool, only their “readiness” determines whether or not they should be verified. This optimization makes for a much faster and efficient experience when running your full node.

Where's my UI?

You may have already noticed that Parity Ethereum no longer comes with the UI you're familiar with. By having the UI in a repository on its own, we hope to attract more contributors that just want to help build a great frontend (more about that update here). If you aren't comfortable with navigating the client in the command-line interface, head over to our Parity-UI repo on GitHub and download it there to launch alongside your node.

And more...

Lastly, there’s now Whisper CLI and more Aura/PoA customizations, specifically for block rewards.

Have any feedback? We'd love to hear it in our Parity Support channel on Riot. You can also directly report any issues with this Beta release on Github.

Read more

Back to blog