|
| 1 | +Litecoin Core version 0.21.2 is now available from: |
| 2 | + |
| 3 | + <https://download.litecoin.org/litecoin-0.21.2/>. |
| 4 | + |
| 5 | +This is the largest update ever, providing full node, wallet, and mining support for MWEB. |
| 6 | + |
| 7 | +Please report bugs using the issue tracker at GitHub: |
| 8 | + |
| 9 | + <https://github.com/litecoin-project/litecoin/issues> |
| 10 | + |
| 11 | +To receive security and update notifications, please subscribe to: |
| 12 | + |
| 13 | + <https://groups.google.com/forum/#!forum/litecoin-dev> |
| 14 | + |
| 15 | + |
| 16 | +How to upgrade: |
| 17 | +============== |
| 18 | + |
| 19 | +Firstly, thank you for running Litecoin Core and helping secure the network! |
| 20 | + |
| 21 | +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: |
| 22 | +For Windows: simply run the installer |
| 23 | +For Mac: copy over to `/Applications/Litecoin-Qt` |
| 24 | +For Linux: copy cover `litecoind`/`litecoin-qt`. |
| 25 | + |
| 26 | +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. |
| 27 | + |
| 28 | + |
| 29 | +Compatibility: |
| 30 | +============== |
| 31 | + |
| 32 | +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. |
| 33 | + |
| 34 | +Litecoin Core should also work on most other Unix-like systems, but is not as frequently tested on them. |
| 35 | + |
| 36 | +MWEB fields added to BlockIndex, and block serialization format has changed. Downgrading to older versions is unsafe. |
| 37 | + |
| 38 | +If upgrading to 0.21.2 *after* MWEB has activated, you must resync to download MWEB blocks. |
| 39 | + |
| 40 | +Notable changes |
| 41 | +=============== |
| 42 | + |
| 43 | +Consensus changes |
| 44 | +----------------- |
| 45 | + |
| 46 | +- This release implements the proposed MWEB consensus rules |
| 47 | + ([LIP002](https://github.com/litecoin-project/lips/blob/master/lip-0002.mediawiki), |
| 48 | + [LIP003](https://github.com/litecoin-project/lips/blob/master/lip-0003.mediawiki), and |
| 49 | + [LIP004](https://github.com/litecoin-project/lips/blob/master/lip-0004.mediawiki)) |
| 50 | + |
| 51 | +P2P and network changes |
| 52 | +----------------------- |
| 53 | + |
| 54 | +- A new service flag, NODE_MWEB (1 << 24), was added to signal to peers that the node supports MWEB. |
| 55 | + When connected peers both advertise this capability, they are expected to provide all MWEB data when |
| 56 | + sharing transactions, blocks, and compact blocks with each other. |
| 57 | + |
| 58 | +- Nodes now announce compact block version 3 support, informing peers that they can provide MWEB data |
| 59 | + in compact blocks. |
| 60 | + |
| 61 | + |
| 62 | +Updated RPCs |
| 63 | +------------ |
| 64 | + |
| 65 | +- `getblockheader` now returns an additional `mweb_header` field containing |
| 66 | + all of the MWEB header data, and an `mweb_amount` field containing the total |
| 67 | + number of coins pegged-in to the MWEB after applying the block. |
| 68 | + |
| 69 | +- `getblock` now returns an additional `mweb` field containing MWEB header info, |
| 70 | + and all of the inputs, outputs, and kernels in the MWEB block. |
| 71 | + |
| 72 | +- Added `mwebweight`, `descendantmwebweight`, `ancestormwebweight`, and `mweb` |
| 73 | + fields to `getrawmempool`, `getmempoolancestors`, `getmempooldescendants`, |
| 74 | + and `getmempoolentry`. |
| 75 | + |
| 76 | +- Added new fields to describe MWEB transaction inputs, outputs, and kernels |
| 77 | + for `getrawtransaction`. |
| 78 | + |
| 79 | +Changes to Wallet or GUI related RPCs can be found in the GUI or Wallet section below. |
| 80 | + |
| 81 | +New settings |
| 82 | +------------ |
| 83 | + |
| 84 | +- Added "fMWEBFeatures" option for enabling the new "Advanced MWEB Features" |
| 85 | + control. |
| 86 | + |
| 87 | +Wallet Database |
| 88 | +--------------- |
| 89 | + |
| 90 | +- Added "mweb_coin" type which stores MWEB coins and their derived keys. |
| 91 | + |
| 92 | +- Added CHDChain version 4 which includes an MWEB key index counter and |
| 93 | + the stealth address scan key. |
| 94 | + |
| 95 | +- Added CKeyMetadata version 14 which includes the MWEB key index. |
| 96 | + |
| 97 | +- Added FEATURE_MWEB = 210000 minimum database version. |
| 98 | + |
| 99 | +Wallet RPC changes |
| 100 | +------------------ |
| 101 | + |
| 102 | +- Added 'listwallettransactions' which matches the transaction list display values. |
| 103 | + |
| 104 | +GUI changes |
| 105 | +----------- |
| 106 | + |
| 107 | +- Added an "Advanced MWEB Features" control for testing. It’s only available |
| 108 | + when the "-debug" argument is supplied, and the option is turned on in the |
| 109 | + settings dialog. |
| 110 | + |
| 111 | + |
| 112 | +Credits |
| 113 | +======= |
| 114 | + |
| 115 | +Thanks to everyone who directly contributed to this release: |
| 116 | + |
| 117 | +- [The Bitcoin Core Developers] |
| 118 | +- DavidBurkett |
| 119 | +- hectorchu |
| 120 | +- losh11 |
0 commit comments