Litecoin Core v0.21.2 Release

Follow our Twitter for the latest dev news.

We are pleased to release Litecoin Core 0.21.2. This is a new major version release, including new features, various bugfixes and performance improvements, as well as updated translations. This update includes full node, wallet and mining support for MWEB. It is recommended for all users to upgrade to this version.

How to Upgrade

Firstly, thank you for running Litecoin Core and helping secure the network!

As you’re running an older version of Litecoin Core, shut it down. Wait until it’s completely shut down — which might take a few minutes for older versions — then follow these simple steps: For Windows: simply run the installer For Mac: copy over to /Applications/Litecoin-Qt For Linux: copy cover litecoind/litecoin-qt.

NB: upgrading directly from an ‘end of life’ version of Litecoin Core is possible, but it might take a while if the data directory needs to be migrated. Old wallet versions of Litecoin Core are generally supported.

Compatiblity

Litecoin Core is supported and extensively tested on operating systems using the Linux kernel, macOS 10.10+, Windows 7 and newer. It’s not recommended to use Litecoin Core on unsupported systems.

Litecoin Core should also work on most other Unix-like systems, but is not as frequently tested on them.

MWEB fields added to BlockIndex, and block serialization format has changed. Downgrading to older versions is unsafe. If upgrading to 0.21.2 after MWEB has activated, you must resync to download MWEB blocks.

Notable Changes

Consensus Changes

P2P and network changes

  • A new service flag, NODE_MWEB (1 << 24), was added to signal to peers that the node supports MWEB. When connected peers both advertise this capability, they are expected to provide all MWEB data when sharing transactions, blocks, and compact blocks with each other.
  • Nodes now announce compact block version 3 support, informing peers that they can provide MWEB data in compact blocks.

Updated RPCs

  • getblockheader now returns an additional mweb_header field containing all of the MWEB header data, and an mweb_amount field containing the total number of coins pegged-in to the MWEB after applying the block.
  • getblock now returns an additional mweb field containing MWEB header info, and all of the inputs, outputs, and kernels in the MWEB block.
  • Added mwebweight, descendantmwebweight, ancestormwebweight, and mweb fields to getrawmempool, getmempoolancestors, getmempooldescendants, and getmempoolentry.
  • Added new fields to describe MWEB transaction inputs, outputs, and kernels for getrawtransaction.

Changes to Wallet or GUI related RPCs can be found in the GUI or Wallet section below.

New settings

  • Added “fMWEBFeatures” option for enabling the new “Advanced MWEB Features” control.

Wallet Database

  • Added “mweb_coin” type which stores MWEB coins and their derived keys.
  • Added CHDChain version 4 which includes an MWEB key index counter and the stealth address scan key.
  • Added CKeyMetadata version 14 which includes the MWEB key index.
  • Added FEATURE_MWEB = 210000 minimum database version.

Wallet RPC changes

  • Added ‘listwallettransactions’ which matches the transaction list display values.

GUI changes

  • Added an “Advanced MWEB Features” control for testing. It’s only available when the “-debug” argument is supplied, and the option is turned on in the settings dialog.

Download Binaries

To download, please visit the download page here. Alternatively, you can view the download folder here.

Please use GPG to verify the integrity of the release binaries. This ensures that the binary you have downloaded has not been tampered with. Linux, MacOS and Win32 cygwin command line GPG instructions are available here. Please also note that we GPG sign the binaries as a convenience to you, the ultimate way to verify the integrity of the builds is to build them yourself using Gitian. Instructions on how to perform these builds, can be found here.

For this release, the binaries have been signed with key identifier 0x3620e9d387e55666 (davidburkett38’s key).

WARNING

Despite this version being heavily tested, this version may still contain bugs. Always backup your wallet.dat file before upgrading. If you encounter any issues, please let us know by posting to the bug reporting section below.

Source code & Build instructions

The master branch contains the latest commits to the next stable releases of Litecoin Core.

Build instructions for Linux can be found here.

Build instructions for OSX can be found here.

Builds instructions for Windows can be found here.

Bug Reporting

Submit any issues you encounter here and one of the Litecoin developers will assist you.

Mailing Lists

Sign up for announcements only or development discussion.

Hashes for verification

These are the SHA-256 hashes of the released files:

b5a0b5bdf45c5e1f26c73a0be751ceb90c93fad8679aebe22ed5f64f615aea6b litecoin-0.21.2-aarch64-linux-gnu.tar.gze15b4d9db8807706c3492c05287f04c44956e3cdb77ebf4f87e19a296aa3a06b litecoin-0.21.2-arm-linux-gnueabihf.tar.gzcb2a1504f151646d735d198ce77a1c1e4fea3ff672ed60549d6aa9f1d4a19b09 litecoin-0.21.2-riscv64-linux-gnu.tar.gz94a10a217d91d29e97e7a0088bc1545f34b188297c3ce5b87b07e775d8d00b12 litecoin-0.21.2-x86_64-linux-gnu.tar.gz39d0df6aecace19e91c9849d09aaeb60c0bb73b34a97c7b8ccae402da634cfa2 litecoin-0.21.2-osx.dmgb0ab5fc95d8b7cfe990cc6d90d0af6f6f2d447b6a0bca162a72d12c3df1676a7 litecoin-0.21.2-win64-setup.exe

Credit

Thanks to everyone who directly contributed to this release:

Related Articles