Zcoin Blog

Zcoin Core Upgrade to 0.13 is here

By September 19, 2017 No Comments

We are very excited that Zcoin on the new 0.13 core is finally here and greatly improves Zcoin’s performance, network reliability and feature set. The codebase has undergone huge changes and represents a strong foundation to build all our improvements on including Znodes and Zerocoin improvements. We had some delays due to incompatibilities caused by the huge jump from Bitcoin core 0.8 to 0.13 in many aspects. We thank you for your patience!

We highly recommend upgrading to the latest Zcoin release as soon as possible.

Key highlights of the Core Upgrade

  • A fresh sync used to take several days and has been brought down to 2-3 hours.
  • Full TOR support with hidden services and TOR stream isolation. With TOR stream isolation,  every outgoing connection will (potentially) go through a different exit node. That significantly reduces the chance to get unlucky and pick a single exit node that is either malicious, or widely banned from the P2P network. This improves connection reliability as well as privacy, especially for the initial connections.
  • Greatly improved node connectivity, reliability and communication between nodes
  • Pruned blocks support allows you to only keep a much smaller set of data taking up only a fraction of space on your hard disk.
  • Improved transaction fee system that will dynamically adjust fee where required.
  • Allows much easier integration with hardware wallets like Trezor and Ledger of which work is in progress.
  • Zerocoin mints and spends are more reliable

Important Instructions when Upgrading to the new Zcoin wallet

As this is a massive code change, a few steps need to be taken to update your existing installation to the new wallet.

Before upgrading to Zcoin 0.13 core:

  • Backup your wallet.dat to a new location or do so by going to File > Backup Wallet and save to a separate location.
  • Browse to your Zcoin directory
    • Linux ~/.zcoin
    • Mac ~/Library/Application\ Support/zcoin/
    • Windows %appdata%\zcoin
  • Delete all files and directories there except wallet.dat
  • Run the new executable binary

Note: znode.io can be used but you will get a message that you will need to rebuild the database. Just say yes. If you are using command line, please use the -reindex flag.

If you get an error “Error loading block database.” it means you didn’t clear your Zcoin directory’s files as above.

Known Bugs:

  • Do not do Zerocoin spend transactions until your mint has 7 confirmations. Currently GUI allows it with 6 confirmations only. This will be fixed in next release.

  • When doing Zerocoin mint or spend, make sure you have good connectivity to nodes and do a backup before and after you do a mint just to be on the safe side so you can always restore if it doesn’t go through. We are investigating some edge cases where the mints/spends don’t confirm. This will improve when more nodes upgrade to the new version.

What about Bitcoin Core 0.15, why did you pick 0.13?

0.8 to 0.13 was a massive leap but the development team decided to stick to 0.13 in the interest of getting out a release as soon as possible to improve the user experience as when evaluating, the code change from 0.8 to 0.15 was too great. The movement from 0.13 to 0.15 is also another huge code revamp and although of course brings some benefits, does not warrant the time investment at this stage of development as they centered around scalability improvements which aren’t a pressing issue with our current transaction volume.

We will focus on our other milestones in our roadmap before relooking into another core upgrade though it is definitely on the cards. It is to be noted that most altcoin projects are based off earlier Bitcoin core bases due to the immense work involved (for e.g. Dash/PIVX at 0.10, Zcash at 0.11).

We will cover what Zcoin will be working on next in development in our next blog post.