Skip to content

Hush v3.3.2

Compare
Choose a tag to compare
@leto leto released this 08 Apr 16:21
· 314 commits to master since this release

Hush v3.3.2

This release consists of about 200 changed files and about 26,000 changed lines of code.

New features

  • ARMv8 support from @radix42! This version of Hush has a new zcutil/build-arm.sh to build on ARMv8, still experimental! Thanks again, Jane.
  • Sapling Zaddr Consolidation! TLDR: This code can greatly reduce the size of wallets and increase performance for service providers. It's designed mostly for exchanges and mining pools but anybody with a large wallet will benefit. It defaults to OFF and currently GUI wallets do not know how to enable it. That will be coming.
    Thanks to CryptoForge of ZER for originally writing this code. We have made various changes to it for reduction of metadata leakage when adding to Hush and adding in our custom Sietch functionality, which prevents consolidation from reducing the anonymity set.

New CLI options to hushd:

-consolidation - Enable auto Sapling note consolidation (default: false)
-consolidatesaplingaddress=<zaddr> - Specify Sapling Address to Consolidate. (default: all)
-consolidationtxfee - Fee amount in sats used send consolidation transactions. (default 10000 sats or 0.0001 HUSH)
-deletetx - Enable Old Transaction Deletion
-deleteinterval - Delete transaction every <n> blocks during inital block download (default: 1000)
-keeptxnum - Keep the last <n> transactions (default: 200)
-keeptxfornblocks - Keep transactions for at least <n> blocks (default: 10000)
-opretmintxfee - Minimum fee for OP_RETURN transactions (default: 400000 sat per 1 Kb)

For most use cases, using hushd -consolidation -deletetx is enough to see large reduction in wallet size (up to 80-90% in some cases) and large increases in wallet performance.

Even better, you can copy+paste these 2 lines into your HUSH3.conf or set them in the Advanced settings of SilentDragon:

consolidation=1
deletetx=1
  • New RPCs: z_getinfo, z_listsentbyaddress, z_listreceivedbyaddress, getalldata (last 3 ported from ZER with some improvements)
  • Improved Travis CI support thanks to @yusufsahinhamza
  • New -opretmintxfee ported from KMD upstream: KomodoPlatform@c4d60f8 by @DenioD

Bugfixes/Improvements

  • ThreadNotifyWallets refactor (thanks to @DenioD!) ported from ZEC upstream zcash#4379 zcash#4390
  • Deletion of libsnark internal library. This library is only needed by Sprout zaddrs and removing it speeds up our compile times, improves support for ARMv8, reduces memory footprint and greatly increases maintainability by removing large amounts of code.
  • Shielded index (zindex) statistics of coinbase and organic transactions/payments corrected
  • Updated dependencies: curl, boost, native_ccache, openssl and proton were updated
  • Removed more Sprout-only RPC's (zcbenchmark, zcrawjoinsplit) and code
  • Various improvements to RPC documentation
ea6f7bf88fd0b0a97afdbb90112180936b03fc8cfbed9dc1eb8af6abe9d7bc9c  hush-3.3.2-win.zip
ac251eba12ab5788733023263976e69f522f1655cf6290d1c9f20ccb24b01854  hush-3.3.2-mac.dmg
3dbae6b09b95256739c56fa50ae81b72ece90fe4c9a9f99ffbd0c77cd19141ab  hush-3.3.2-amd64.deb
c57d4c826ca8fa6a7b8a01dca46eee01c81579d216ade21a88df55012a458b38  hush-3.3.2-linux.tar.xz