Skip to content

Commit fce5d45

Browse files
committed
Adding release notes and bumping version
1 parent 4871bae commit fce5d45

File tree

4 files changed

+29
-107
lines changed

4 files changed

+29
-107
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ([2.69])
22
define(_CLIENT_VERSION_MAJOR, 0)
33
define(_CLIENT_VERSION_MINOR, 21)
44
define(_CLIENT_VERSION_REVISION, 2)
5-
define(_CLIENT_VERSION_BUILD, 0)
5+
define(_CLIENT_VERSION_BUILD, 1)
66
define(_CLIENT_VERSION_RC, 0)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2022)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Litecoin Core version 0.21.2.1 is now available from:
2+
3+
<https://download.litecoin.org/litecoin-0.21.2.1/>.
4+
5+
This includes a critical bug fix for upgraded wallets to receive via 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+
Notable changes
16+
===============
17+
18+
An issue with MWEB key generation for older wallets that were upgraded was solved.
19+
Keys are now generated from the appropriate keypools, and coins sent to previously generated stealth addresses are recoverable.
20+
Use `rescanblockchain` after upgrading to recover any missing MWEB coins.
21+

doc/release-notes-litecoin.md

Lines changed: 6 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Litecoin Core version 0.21.2 is now available from:
1+
Litecoin Core version 0.21.2.1 is now available from:
22

3-
<https://download.litecoin.org/litecoin-0.21.2/>.
3+
<https://download.litecoin.org/litecoin-0.21.2.1/>.
44

5-
This is the largest update ever, providing full node, wallet, and mining support for MWEB.
5+
This includes a critical bug fix for upgraded wallets to receive via MWEB.
66

77
Please report bugs using the issue tracker at GitHub:
88

@@ -12,109 +12,10 @@ To receive security and update notifications, please subscribe to:
1212

1313
<https://groups.google.com/forum/#!forum/litecoin-dev>
1414

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-
4015
Notable changes
4116
===============
4217

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:
18+
An issue with MWEB key generation for older wallets that were upgraded was solved.
19+
Keys are now generated from the appropriate keypools, and coins sent to previously generated stealth addresses are recoverable.
20+
Use `rescanblockchain` after upgrading to recover any missing MWEB coins.
11621

117-
- [The Bitcoin Core Developers](https://github.com/bitcoin/bitcoin/tree/master/doc/release-notes)
118-
- DavidBurkett
119-
- hectorchu
120-
- losh11

test/functional/mweb_wallet_upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def run_test(self):
4141
#
4242
# Replace node1's wallet with the non-HD wallet.dat
4343
#
44-
#self.log.info("Replacing wallet with non-hd wallet.dat")
44+
self.log.info("Replacing wallet with non-hd wallet.dat")
4545
node1.get_wallet_rpc(self.default_wallet_name).unloadwallet()
4646
upgrade_wallet_dir = os.path.join(node1.datadir, "regtest", "wallets", self.default_wallet_name)
4747
shutil.rmtree(upgrade_wallet_dir)

0 commit comments

Comments
 (0)