diff --git a/build_msvc/bitcoin_config.h b/build_msvc/bitcoin_config.h index 01c552862c..b1ecf1b7b1 100644 --- a/build_msvc/bitcoin_config.h +++ b/build_msvc/bitcoin_config.h @@ -21,19 +21,19 @@ #define CLIENT_VERSION_MINOR 21 /* Build revision */ -#define CLIENT_VERSION_REVISION 1 +#define CLIENT_VERSION_REVISION 3 /* Copyright holder(s) before %s replacement */ #define COPYRIGHT_HOLDERS "The %s developers" /* Copyright holder(s) */ -#define COPYRIGHT_HOLDERS_FINAL "The Bitcoin Core developers" +#define COPYRIGHT_HOLDERS_FINAL "The Litecoin Core developers" /* Replacement for %s in copyright holders string */ -#define COPYRIGHT_HOLDERS_SUBSTITUTION "Bitcoin Core" +#define COPYRIGHT_HOLDERS_SUBSTITUTION "Litecoin Core" /* Copyright year */ -#define COPYRIGHT_YEAR 2019 +#define COPYRIGHT_YEAR 2024 /* Define to 1 to enable wallet functions */ #define ENABLE_WALLET 1 @@ -247,22 +247,22 @@ #define LT_OBJDIR ".libs/" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "https://github.com/bitcoin/bitcoin/issues" +#define PACKAGE_BUGREPORT "https://github.com/litecoin-project/litecoin/issues" /* Define to the full name of this package. */ -#define PACKAGE_NAME "Bitcoin Core" +#define PACKAGE_NAME "Litecoin Core" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "Bitcoin Core 0.21.1" +#define PACKAGE_STRING "Litecoin Core 0.21.3" /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "bitcoin" +#define PACKAGE_TARNAME "litecoin" /* Define to the home page for this package. */ -#define PACKAGE_URL "https://bitcoincore.org/" +#define PACKAGE_URL "https://litecoin.org/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.21.1" +#define PACKAGE_VERSION "0.21.3" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ diff --git a/configure.ac b/configure.ac index 79e7424de8..4f80b79878 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ AC_PREREQ([2.69]) define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MINOR, 21) -define(_CLIENT_VERSION_REVISION, 2) -define(_CLIENT_VERSION_BUILD, 2) -define(_CLIENT_VERSION_RC, 0) +define(_CLIENT_VERSION_REVISION, 3) +define(_CLIENT_VERSION_BUILD, 0) +define(_CLIENT_VERSION_RC, 1) define(_CLIENT_VERSION_IS_RELEASE, true) -define(_COPYRIGHT_YEAR, 2022) +define(_COPYRIGHT_YEAR, 2024) define(_COPYRIGHT_HOLDERS,[The %s developers]) define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Litecoin Core]]) AC_INIT([Litecoin Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_REVISION, m4_if(_CLIENT_VERSION_BUILD, [0], [], _CLIENT_VERSION_BUILD))m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/litecoin-project/litecoin/issues],[litecoin],[https://litecoin.org/]) diff --git a/doc/bips.md b/doc/bips.md index 5a99d4f6a9..e5afeeac8a 100644 --- a/doc/bips.md +++ b/doc/bips.md @@ -47,3 +47,12 @@ BIPs that are implemented by Bitcoin Core (up-to-date up to **v0.21.1**): * [`BIP 339`](https://github.com/bitcoin/bips/blob/master/bip-0339.mediawiki): Relay of transactions by wtxid is supported as of **v0.21.0** ([PR 18044](https://github.com/bitcoin/bitcoin/pull/18044)). * [`BIP 340`](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) [`341`](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki) [`342`](https://github.com/bitcoin/bips/blob/master/bip-0342.mediawiki): Validation rules for Taproot (including Schnorr signatures and Tapscript leaves) are implemented as of **v0.21.0** ([PR 19953](https://github.com/bitcoin/bitcoin/pull/19953)), without mainnet activation. * [`BIP 350`](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki): Addresses for native v1+ segregated Witness outputs use Bech32m instead of Bech32 as of **v0.21.1** ([PR 20861](https://github.com/bitcoin/bitcoin/pull/20861)). + + +------------------ + +LIPs implemented by Litecoin Core (up-to-date up to v0.21.3) +* [`LIP002`](https://github.com/litecoin-project/lips/blob/master/lip-0002.mediawiki): Extension blocks as a mechanism to implement new protocols to Litecoin without relaxing any consensus rules. +* [`LIP003`](https://github.com/litecoin-project/lips/blob/master/lip-0003.mediawiki): Opt-in MimbleWimble through Extension Blocks. +* [`LIP004`](https://github.com/litecoin-project/lips/blob/master/lip-0004.mediawiki): One sided MimbleWimble transactions without needing to build a transaction interactively with the receiving party. +* [`LIP006`](https://github.com/litecoin-project/lips/blob/c01068d06136fb21bf35fd6dac2977de60057714/LIP-0006.mediawiki): New p2p messages for supporting light-client syncing of MWEB components. diff --git a/doc/litecoin-release-notes/release-notes-0.21.3.md b/doc/litecoin-release-notes/release-notes-0.21.3.md new file mode 100644 index 0000000000..ca0411a0c1 --- /dev/null +++ b/doc/litecoin-release-notes/release-notes-0.21.3.md @@ -0,0 +1,55 @@ +Litecoin Core version 0.21.3 is now available from: + + . + +This is a new patch version release that includes, new features and important security updates. + +Please report bugs using the issue tracker at GitHub: + + + +Notable changes +=============== + +Important Security Updates +-------------------------- + +This release contains fixes for [CVE-2023-33297](https://www.cvedetails.com/cve/CVE-2023-33297/), which allows attacker to cause a remote bandwidth and cpu denial of service. This attack has been exploited in the wild. +- `2170c24`: backported from Bitcoin Core v24.x + +New MWEB features +-------------------------- +- `215edcf` - `1049218`: add MWEB light client p2p messages. This implements [LIP006](https://github.com/litecoin-project/lips/blob/c01068d06136fb21bf35fd6dac2977de60057714/LIP-0006.mediawiki). +- `4c3d4f2`: adds new NODE_MWEB_LIGHT_CLIENT service flag. Enables BIP157/158 blockfilters by default (opt-out by default). + +Build changes +-------------------------- +- `bf355d2`: rename the PID file to litecoind.pid +- `5ac7814`: improve build instructions for unix systems +- `24a0299`: fix building with Boost 1.77+ +- `a376e2e` - `0698e23`: build changes for macOS. Primarily updates macOS build SDK to Xcode 12.1, increasing minimum macOS version to 10.15.6. These changes fix an issue where Litecoin-Qt UI may not appear as expected on macOS 14+. +- `41b4c16`: fixes builds on Alpine Linux/musl. + +Test related fixes +-------------------------- +- `53dbe58`: fix tests, disabling unused test and missing expected values +- `8e16ef3`: fixes macOS test, issue #942. +- `260de84`: run secp256k1-zkp tests. fixes bench test and secp256k1 test. +- `c2a4fc3`: fixes another secp256k1-zkp test +- `c2a4fc3`: disabled run_schnorrsig_tests() in secp256k1-zkp. +- `7e3c1f5`: disable secp256k1-zkp openssl test, fixing `make check` on macOS. + +Credits +======= + +Thanks to everyone who directly contributed to this release: + +- [The Bitcoin Core Developers](https://github.com/bitcoin/bitcoin/) +- [David Burkett](https://github.com/DavidBurkett/) +- [Hector Chu](https://github.com/hectorchu) +- [Loshan](https://github.com/losh11) +- [addman2](https://github.com/addman2) +- [Rafael Sadowski](https://github.com/sizeofvoid) +- [rustyx](https://github.com/rustyx) +- [NamecoinGithub](https://github.com/NamecoinGithub) +- [Patrick Lodder](https://github.com/patricklodder) \ No newline at end of file diff --git a/doc/man/litecoin-cli.1 b/doc/man/litecoin-cli.1 index 15b33d3c32..da1def166b 100644 --- a/doc/man/litecoin-cli.1 +++ b/doc/man/litecoin-cli.1 @@ -1,7 +1,7 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. -.TH LITECOIN-CLI "1" "February 2023" "litecoin-cli v0.21.2.2" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH LITECOIN-CLI "1" "March 2024" "litecoin-cli v0.21.3.0" "User Commands" .SH NAME -litecoin-cli \- manual page for litecoin-cli v0.21.2.2 +litecoin-cli \- manual page for litecoin-cli v0.21.3.0 .SH SYNOPSIS .B litecoin-cli [\fI\,options\/\fR] \fI\, \/\fR[\fI\,params\/\fR] \fI\,Send command to Litecoin Core\/\fR @@ -15,7 +15,7 @@ litecoin-cli \- manual page for litecoin-cli v0.21.2.2 .B litecoin-cli [\fI\,options\/\fR] \fI\,help Get help for a command\/\fR .SH DESCRIPTION -Litecoin Core RPC client version v0.21.2.2 +Litecoin Core RPC client version v0.21.3.0\-dirty .SH OPTIONS .HP \-? @@ -152,8 +152,8 @@ network seed node(s)) .IP Use the test chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR. .SH COPYRIGHT -Copyright (C) 2011-2022 The Litecoin Core developers -Copyright (C) 2009-2022 The Bitcoin Core developers +Copyright (C) 2011-2024 The Litecoin Core developers +Copyright (C) 2009-2024 The Bitcoin Core developers Please contribute if you find Litecoin Core useful. Visit for further information about the software. diff --git a/doc/man/litecoin-qt.1 b/doc/man/litecoin-qt.1 index c579ca7395..95c35e913c 100644 --- a/doc/man/litecoin-qt.1 +++ b/doc/man/litecoin-qt.1 @@ -1,12 +1,12 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. -.TH LITECOIN-QT "1" "February 2023" "litecoin-qt v0.21.2.2" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH LITECOIN-QT "1" "March 2024" "litecoin-qt v0.21.3.0" "User Commands" .SH NAME -litecoin-qt \- manual page for litecoin-qt v0.21.2.2 +litecoin-qt \- manual page for litecoin-qt v0.21.3.0 .SH SYNOPSIS .B litecoin-qt [\fI\,command-line options\/\fR] .SH DESCRIPTION -Litecoin Core version v0.21.2.2 +Litecoin Core version v0.21.3.0\-dirty .SH OPTIONS .HP \-? @@ -31,7 +31,7 @@ signet: .HP \fB\-blockfilterindex=\fR .IP -Maintain an index of compact filters by block (default: 0, values: +Maintain an index of compact filters by block (default: 1, values: basic). If is not supplied or if = 1, indexes for all known types are enabled. .HP @@ -106,7 +106,7 @@ Do not keep transactions in the mempool longer than hours (default: .HP \fB\-par=\fR .IP -Set the number of script verification threads (\fB\-64\fR to 15, 0 = auto, <0 = +Set the number of script verification threads (\fB\-32\fR to 15, 0 = auto, <0 = leave that many cores free, default: 0) .HP \fB\-persistmempool\fR @@ -116,7 +116,7 @@ Whether to save the mempool on shutdown and load on restart (default: 1) \fB\-pid=\fR .IP Specify pid file. Relative paths will be prefixed by a net\-specific -datadir location. (default: bitcoind.pid) +datadir location. (default: litecoind.pid) .HP \fB\-prune=\fR .IP @@ -273,7 +273,7 @@ networks. .HP \fB\-peerblockfilters\fR .IP -Serve compact block filters to peers per BIP 157 (default: 0) +Serve compact block filters to peers per BIP 157 (default: 1) .HP \fB\-peerbloomfilters\fR .IP @@ -726,8 +726,8 @@ Reset all settings changed in the GUI .IP Show splash screen on startup (default: 1) .SH COPYRIGHT -Copyright (C) 2011-2022 The Litecoin Core developers -Copyright (C) 2009-2022 The Bitcoin Core developers +Copyright (C) 2011-2024 The Litecoin Core developers +Copyright (C) 2009-2024 The Bitcoin Core developers Please contribute if you find Litecoin Core useful. Visit for further information about the software. diff --git a/doc/man/litecoin-tx.1 b/doc/man/litecoin-tx.1 index f82fc84c0b..d87ad28277 100644 --- a/doc/man/litecoin-tx.1 +++ b/doc/man/litecoin-tx.1 @@ -1,7 +1,7 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. -.TH LITECOIN-TX "1" "February 2023" "litecoin-tx v0.21.2.2" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH LITECOIN-TX "1" "March 2024" "litecoin-tx v0.21.3.0" "User Commands" .SH NAME -litecoin-tx \- manual page for litecoin-tx v0.21.2.2 +litecoin-tx \- manual page for litecoin-tx v0.21.3.0 .SH SYNOPSIS .B litecoin-tx [\fI\,options\/\fR] \fI\, \/\fR[\fI\,commands\/\fR] \fI\,Update hex-encoded litecoin transaction\/\fR @@ -9,7 +9,7 @@ litecoin-tx \- manual page for litecoin-tx v0.21.2.2 .B litecoin-tx [\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded litecoin transaction\/\fR .SH DESCRIPTION -Litecoin Core litecoin\-tx utility version v0.21.2.2 +Litecoin Core litecoin\-tx utility version v0.21.3.0\-dirty .SH OPTIONS .HP \-? @@ -130,8 +130,8 @@ set=NAME:JSON\-STRING .IP Set register NAME to given JSON\-STRING .SH COPYRIGHT -Copyright (C) 2011-2022 The Litecoin Core developers -Copyright (C) 2009-2022 The Bitcoin Core developers +Copyright (C) 2011-2024 The Litecoin Core developers +Copyright (C) 2009-2024 The Bitcoin Core developers Please contribute if you find Litecoin Core useful. Visit for further information about the software. diff --git a/doc/man/litecoin-wallet.1 b/doc/man/litecoin-wallet.1 index 7c301ce641..c75f32c897 100644 --- a/doc/man/litecoin-wallet.1 +++ b/doc/man/litecoin-wallet.1 @@ -1,9 +1,9 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. -.TH LITECOIN-WALLET "1" "February 2023" "litecoin-wallet v0.21.2.2" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH LITECOIN-WALLET "1" "March 2024" "litecoin-wallet v0.21.3.0" "User Commands" .SH NAME -litecoin-wallet \- manual page for litecoin-wallet v0.21.2.2 +litecoin-wallet \- manual page for litecoin-wallet v0.21.3.0 .SH DESCRIPTION -Litecoin Core litecoin\-wallet version v0.21.2.2 +Litecoin Core litecoin\-wallet version v0.21.3.0\-dirty .PP litecoin\-wallet is an offline tool for creating and interacting with Litecoin Core wallet files. By default litecoin\-wallet will act on wallets in the default mainnet wallet directory in the datadir. @@ -80,8 +80,8 @@ salvage Attempt to recover private keys from a corrupt wallet. Warning: \&'salvage' is experimental. .SH COPYRIGHT -Copyright (C) 2011-2022 The Litecoin Core developers -Copyright (C) 2009-2022 The Bitcoin Core developers +Copyright (C) 2011-2024 The Litecoin Core developers +Copyright (C) 2009-2024 The Bitcoin Core developers Please contribute if you find Litecoin Core useful. Visit for further information about the software. diff --git a/doc/man/litecoind.1 b/doc/man/litecoind.1 index 80fb179ffc..df88fdd7ee 100644 --- a/doc/man/litecoind.1 +++ b/doc/man/litecoind.1 @@ -1,12 +1,12 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. -.TH LITECOIND "1" "February 2023" "litecoind v0.21.2.2" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH LITECOIND "1" "March 2024" "litecoind v0.21.3.0" "User Commands" .SH NAME -litecoind \- manual page for litecoind v0.21.2.2 +litecoind \- manual page for litecoind v0.21.3.0 .SH SYNOPSIS .B litecoind [\fI\,options\/\fR] \fI\,Start Litecoin Core\/\fR .SH DESCRIPTION -Litecoin Core version v0.21.2.2 +Litecoin Core version v0.21.3.0\-dirty .SH OPTIONS .HP \-? @@ -31,7 +31,7 @@ signet: .HP \fB\-blockfilterindex=\fR .IP -Maintain an index of compact filters by block (default: 0, values: +Maintain an index of compact filters by block (default: 1, values: basic). If is not supplied or if = 1, indexes for all known types are enabled. .HP @@ -106,7 +106,7 @@ Do not keep transactions in the mempool longer than hours (default: .HP \fB\-par=\fR .IP -Set the number of script verification threads (\fB\-64\fR to 15, 0 = auto, <0 = +Set the number of script verification threads (\fB\-32\fR to 15, 0 = auto, <0 = leave that many cores free, default: 0) .HP \fB\-persistmempool\fR @@ -116,7 +116,7 @@ Whether to save the mempool on shutdown and load on restart (default: 1) \fB\-pid=\fR .IP Specify pid file. Relative paths will be prefixed by a net\-specific -datadir location. (default: bitcoind.pid) +datadir location. (default: litecoind.pid) .HP \fB\-prune=\fR .IP @@ -273,7 +273,7 @@ networks. .HP \fB\-peerblockfilters\fR .IP -Serve compact block filters to peers per BIP 157 (default: 0) +Serve compact block filters to peers per BIP 157 (default: 1) .HP \fB\-peerbloomfilters\fR .IP @@ -704,8 +704,8 @@ subject to empty whitelists. .IP Accept command line and JSON\-RPC commands .SH COPYRIGHT -Copyright (C) 2011-2022 The Litecoin Core developers -Copyright (C) 2009-2022 The Bitcoin Core developers +Copyright (C) 2011-2024 The Litecoin Core developers +Copyright (C) 2009-2024 The Bitcoin Core developers Please contribute if you find Litecoin Core useful. Visit for further information about the software. diff --git a/doc/release-notes-litecoin.md b/doc/release-notes-litecoin.md index 70b01bc25d..ca0411a0c1 100644 --- a/doc/release-notes-litecoin.md +++ b/doc/release-notes-litecoin.md @@ -1,8 +1,8 @@ -Litecoin Core version 0.21.2.2 is now available from: +Litecoin Core version 0.21.3 is now available from: - . + . -This is a new patch version release that includes important security updates. +This is a new patch version release that includes, new features and important security updates. Please report bugs using the issue tracker at GitHub: @@ -14,24 +14,42 @@ Notable changes Important Security Updates -------------------------- -This release contains fixes that harden node and network security. These fixes are important for every node operator and wallet user. +This release contains fixes for [CVE-2023-33297](https://www.cvedetails.com/cve/CVE-2023-33297/), which allows attacker to cause a remote bandwidth and cpu denial of service. This attack has been exploited in the wild. +- `2170c24`: backported from Bitcoin Core v24.x -- Limit and tightly manage memory usage in events of high network traffic or when connected to extremely slow peers. -This protects nodes on lower end hardware to not run out of memory in the face of increased network activity. - -RPC API Changes ---------------- +New MWEB features +-------------------------- +- `215edcf` - `1049218`: add MWEB light client p2p messages. This implements [LIP006](https://github.com/litecoin-project/lips/blob/c01068d06136fb21bf35fd6dac2977de60057714/LIP-0006.mediawiki). +- `4c3d4f2`: adds new NODE_MWEB_LIGHT_CLIENT service flag. Enables BIP157/158 blockfilters by default (opt-out by default). -* Added `addconnection` for use by functional tests -* `getpeerinfo` provides 2 new fields per peer, `addr_processed` and `addr_rate_limited`, that track `addr` message processing +Build changes +-------------------------- +- `bf355d2`: rename the PID file to litecoind.pid +- `5ac7814`: improve build instructions for unix systems +- `24a0299`: fix building with Boost 1.77+ +- `a376e2e` - `0698e23`: build changes for macOS. Primarily updates macOS build SDK to Xcode 12.1, increasing minimum macOS version to 10.15.6. These changes fix an issue where Litecoin-Qt UI may not appear as expected on macOS 14+. +- `41b4c16`: fixes builds on Alpine Linux/musl. +Test related fixes +-------------------------- +- `53dbe58`: fix tests, disabling unused test and missing expected values +- `8e16ef3`: fixes macOS test, issue #942. +- `260de84`: run secp256k1-zkp tests. fixes bench test and secp256k1 test. +- `c2a4fc3`: fixes another secp256k1-zkp test +- `c2a4fc3`: disabled run_schnorrsig_tests() in secp256k1-zkp. +- `7e3c1f5`: disable secp256k1-zkp openssl test, fixing `make check` on macOS. Credits ======= Thanks to everyone who directly contributed to this release: -- [The Bitcoin Core Developers](https://github.com/bitcoin/bitcoin/tree/master/doc/release-notes) -- David Burkett -- Jon Atack -- Pieter Wuille \ No newline at end of file +- [The Bitcoin Core Developers](https://github.com/bitcoin/bitcoin/) +- [David Burkett](https://github.com/DavidBurkett/) +- [Hector Chu](https://github.com/hectorchu) +- [Loshan](https://github.com/losh11) +- [addman2](https://github.com/addman2) +- [Rafael Sadowski](https://github.com/sizeofvoid) +- [rustyx](https://github.com/rustyx) +- [NamecoinGithub](https://github.com/NamecoinGithub) +- [Patrick Lodder](https://github.com/patricklodder) \ No newline at end of file