ZecWallet fastsync to improve initial blockchain sync

I just added a new feature into ZecWallet’s embedded zcashd that essentially does a PoW-only* sync for blocks during the initial block download. This skips some of the most expensive checks for blocks behind a checkpoint, improving the initial download and sync times by 25% - 33% in my tests. More details

This should hopefully improve the experience of new users who have to download the entire ~25 GB blockchain before starting to use ZecWallet.

You can download the latest ZecWallet and let me know if you have feedback: https://github.com/ZcashFoundation/zecwallet/releases

(If you already have a .zcash directory with a downloaded blockchain, this of course won’t be enabled. You can should have an empty .zcash directory to see how it works)

*It technically does more checks than just PoW-only on a block, but it skips the most expensive Tx verification checks.

10 Likes

Any chance of an arm64 build ? I’m wondering if fastsync will help this work on Raspberry Pi 3B+

1 Like

I had the same thought :smile: I think you should just be able to build this branch https://github.com/adityapk00/zcash/tree/fastsync. I’d actually done that and uploaded to Keybase earlier but haven’t had a chance to test yet https://keybase.pub/garethtdavies/zcash-armv8-fastsync/

1 Like

Oh, I’m sure this would be awesome on arm64. Are there instructions on how to compile zcashd on arm?

1 Like

https://zcash.readthedocs.io/en/latest/rtd_pages/user_guide.html#build

apt-get install g++-aarch64-linux-gnu
HOST=aarch64-linux-gnu ./zcutil/build.sh -j$(nproc)
1 Like

@garethtdavies @ChileBob

I built one here: https://github.com/adityapk00/zcash/releases/tag/fastsync

Try it out and let me know!

3 Likes

Quick note, I usually build from this branch:

1 Like