mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-23 00:24:48 +01:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fd35e2cb1 | ||
|
|
8cc07f7fff | ||
|
|
45355ec10b | ||
|
|
99e0ccc742 | ||
|
|
1b05169c32 | ||
|
|
28fc72f781 | ||
|
|
9182b2fbae | ||
|
|
d9bd628ac9 | ||
|
|
6523107698 | ||
|
|
6af7af61c9 | ||
|
|
c192b86c0b | ||
|
|
272fa25304 | ||
|
|
7b7bbc145a |
@@ -2,7 +2,7 @@ AC_PREREQ([2.69])
|
||||
define(_CLIENT_VERSION_MAJOR, 22)
|
||||
define(_CLIENT_VERSION_MINOR, 1)
|
||||
define(_CLIENT_VERSION_BUILD, 0)
|
||||
define(_CLIENT_VERSION_RC, 1)
|
||||
define(_CLIENT_VERSION_RC, 0)
|
||||
define(_CLIENT_VERSION_IS_RELEASE, true)
|
||||
define(_COPYRIGHT_YEAR, 2021)
|
||||
define(_COPYRIGHT_HOLDERS,[The %s developers])
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PACKAGE=qt
|
||||
$(package)_version=5.12.11
|
||||
$(package)_download_path=https://download.qt.io/official_releases/qt/5.12/$($(package)_version)/submodules
|
||||
$(package)_download_path=https://download.qt.io/archive/qt/5.12/$($(package)_version)/submodules
|
||||
$(package)_suffix=everywhere-src-$($(package)_version).tar.xz
|
||||
$(package)_file_name=qtbase-$($(package)_suffix)
|
||||
$(package)_sha256_hash=1c1b4e33137ca77881074c140d54c3c9747e845a31338cfe8680f171f0bc3a39
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIN-CLI "1" "November 2022" "bitcoin-cli v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIN-CLI "1" "December 2022" "bitcoin-cli v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoin-cli \- manual page for bitcoin-cli v22.1.0rc1
|
||||
bitcoin-cli \- manual page for bitcoin-cli v22.1.0
|
||||
.SH SYNOPSIS
|
||||
.B bitcoin-cli
|
||||
[\fI\,options\/\fR] \fI\,<command> \/\fR[\fI\,params\/\fR] \fI\,Send command to Bitcoin Core\/\fR
|
||||
@@ -15,7 +15,7 @@ bitcoin-cli \- manual page for bitcoin-cli v22.1.0rc1
|
||||
.B bitcoin-cli
|
||||
[\fI\,options\/\fR] \fI\,help <command> Get help for a command\/\fR
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core RPC client version v22.1.0rc1
|
||||
Bitcoin Core RPC client version v22.1.0
|
||||
.SH OPTIONS
|
||||
.HP
|
||||
\-?
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIN-QT "1" "November 2022" "bitcoin-qt v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIN-QT "1" "December 2022" "bitcoin-qt v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoin-qt \- manual page for bitcoin-qt v22.1.0rc1
|
||||
bitcoin-qt \- manual page for bitcoin-qt v22.1.0
|
||||
.SH SYNOPSIS
|
||||
.B bitcoin-qt
|
||||
[\fI\,command-line options\/\fR]
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core version v22.1.0rc1
|
||||
Bitcoin Core version v22.1.0
|
||||
.SH OPTIONS
|
||||
.HP
|
||||
\-?
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIN-TX "1" "November 2022" "bitcoin-tx v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIN-TX "1" "December 2022" "bitcoin-tx v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoin-tx \- manual page for bitcoin-tx v22.1.0rc1
|
||||
bitcoin-tx \- manual page for bitcoin-tx v22.1.0
|
||||
.SH SYNOPSIS
|
||||
.B bitcoin-tx
|
||||
[\fI\,options\/\fR] \fI\,<hex-tx> \/\fR[\fI\,commands\/\fR] \fI\,Update hex-encoded bitcoin transaction\/\fR
|
||||
@@ -9,7 +9,7 @@ bitcoin-tx \- manual page for bitcoin-tx v22.1.0rc1
|
||||
.B bitcoin-tx
|
||||
[\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded bitcoin transaction\/\fR
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core bitcoin\-tx utility version v22.1.0rc1
|
||||
Bitcoin Core bitcoin\-tx utility version v22.1.0
|
||||
.SH OPTIONS
|
||||
.HP
|
||||
\-?
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIN-UTIL "1" "November 2022" "bitcoin-util v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIN-UTIL "1" "December 2022" "bitcoin-util v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoin-util \- manual page for bitcoin-util v22.1.0rc1
|
||||
bitcoin-util \- manual page for bitcoin-util v22.1.0
|
||||
.SH SYNOPSIS
|
||||
.B bitcoin-util
|
||||
[\fI\,options\/\fR] [\fI\,commands\/\fR] \fI\,Do stuff\/\fR
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core bitcoin\-util utility version v22.1.0rc1
|
||||
Bitcoin Core bitcoin\-util utility version v22.1.0
|
||||
.SH OPTIONS
|
||||
.HP
|
||||
\-?
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIN-WALLET "1" "November 2022" "bitcoin-wallet v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIN-WALLET "1" "December 2022" "bitcoin-wallet v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoin-wallet \- manual page for bitcoin-wallet v22.1.0rc1
|
||||
bitcoin-wallet \- manual page for bitcoin-wallet v22.1.0
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core bitcoin\-wallet version v22.1.0rc1
|
||||
Bitcoin Core bitcoin\-wallet version v22.1.0
|
||||
.PP
|
||||
bitcoin\-wallet is an offline tool for creating and interacting with Bitcoin Core wallet files.
|
||||
By default bitcoin\-wallet will act on wallets in the default mainnet wallet directory in the datadir.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||
.TH BITCOIND "1" "November 2022" "bitcoind v22.1.0rc1" "User Commands"
|
||||
.TH BITCOIND "1" "December 2022" "bitcoind v22.1.0" "User Commands"
|
||||
.SH NAME
|
||||
bitcoind \- manual page for bitcoind v22.1.0rc1
|
||||
bitcoind \- manual page for bitcoind v22.1.0
|
||||
.SH SYNOPSIS
|
||||
.B bitcoind
|
||||
[\fI\,options\/\fR] \fI\,Start Bitcoin Core\/\fR
|
||||
.SH DESCRIPTION
|
||||
Bitcoin Core version v22.1.0rc1
|
||||
Bitcoin Core version v22.1.0
|
||||
Copyright \(co 2009\-2021 The Bitcoin Core developers
|
||||
.PP
|
||||
Please contribute if you find Bitcoin Core useful. Visit
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
22.0 Release Notes
|
||||
22.1 Release Notes
|
||||
==================
|
||||
|
||||
Bitcoin Core version 22.0 is now available from:
|
||||
Bitcoin Core version 22.1 is now available from:
|
||||
|
||||
<https://bitcoincore.org/bin/bitcoin-core-22.0/>
|
||||
<https://bitcoincore.org/bin/bitcoin-core-22.1/>
|
||||
|
||||
This release includes new features, various bug fixes and performance
|
||||
improvements, as well as updated translations.
|
||||
@@ -21,7 +21,7 @@ How to Upgrade
|
||||
|
||||
If you are running an older version, shut it down. Wait until it has completely
|
||||
shut down (which might take a few minutes in some cases), then run the
|
||||
installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac)
|
||||
installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on macOS)
|
||||
or `bitcoind`/`bitcoin-qt` (on Linux).
|
||||
|
||||
Upgrading directly from a version of Bitcoin Core that has reached its EOL is
|
||||
@@ -42,21 +42,6 @@ From Bitcoin Core 22.0 onwards, macOS versions earlier than 10.14 are no longer
|
||||
Notable changes
|
||||
===============
|
||||
|
||||
P2P and network changes
|
||||
-----------------------
|
||||
|
||||
New and Updated RPCs
|
||||
--------------------
|
||||
|
||||
Build System
|
||||
------------
|
||||
|
||||
Files
|
||||
-----
|
||||
|
||||
New settings
|
||||
------------
|
||||
|
||||
Updated settings
|
||||
----------------
|
||||
|
||||
@@ -66,57 +51,78 @@ Updated settings
|
||||
mean `-persistmempool=1`. Passing `-persistmempool=0`, `-persistmempool=1`
|
||||
and `-nopersistmempool` is unaffected. (#23061)
|
||||
|
||||
Tools and Utilities
|
||||
-------------------
|
||||
|
||||
Wallet
|
||||
------
|
||||
|
||||
GUI changes
|
||||
-----------
|
||||
|
||||
Low-level changes
|
||||
=================
|
||||
|
||||
RPC
|
||||
---
|
||||
|
||||
Tests
|
||||
-----
|
||||
|
||||
22.0 change log
|
||||
===============
|
||||
|
||||
A detailed list of changes in this version follows. To keep the list to a manageable length, small refactors and typo fixes are not included, and similar changes are sometimes condensed into one line.
|
||||
|
||||
### Consensus
|
||||
|
||||
### Policy
|
||||
|
||||
### Mining
|
||||
|
||||
### Block and transaction handling
|
||||
|
||||
### P2P protocol and network code
|
||||
|
||||
### Wallet
|
||||
### P2P
|
||||
|
||||
### RPC and other APIs
|
||||
|
||||
### GUI
|
||||
- #25237 rpc: Capture UniValue by ref for rpcdoccheck
|
||||
- #25983 Prevent data race for pathHandlers
|
||||
- #26275 Fix crash on deriveaddresses when index is 2147483647 (2^31-1)
|
||||
|
||||
### Wallet
|
||||
|
||||
- #22781 wallet: fix the behavior of IsHDEnabled
|
||||
- #22949 fee: Round up fee calculation to avoid a lower than expected feerate
|
||||
- #23333 wallet: fix segfault by avoiding invalid default-ctored external_spk_managers entry
|
||||
|
||||
### Build system
|
||||
|
||||
### Tests and QA
|
||||
- #22820 build, qt: Fix typo in QtInputSupport check
|
||||
- #23045 build: Restrict check for CRC32C intrinsic to aarch64
|
||||
- #23148 build: Fix guix linker-loader path and add check_ELF_interpreter
|
||||
- #23314 build: explicitly disable libsecp256k1 openssl based tests
|
||||
- #23580 build: patch qt to explicitly define previously implicit header include
|
||||
- #24215 guix: ignore additional failing certvalidator test
|
||||
- #24256 build: Bump depends packages (zmq, libXau)
|
||||
- #25201 windeploy: Renewed windows code signing certificate
|
||||
- #25985 Revert "build: Use Homebrew's sqlite package if it is available"
|
||||
- #26633 depends: update qt 5.12 url to archive location
|
||||
|
||||
### GUI
|
||||
|
||||
- #gui631 Disallow encryption of watchonly wallets
|
||||
- #gui680 Fixes MacOS 13 segfault by preventing certain notifications
|
||||
- #24498 qt: Avoid crash on startup if int specified in settings.json
|
||||
|
||||
### Tests
|
||||
|
||||
- #23716 test: replace hashlib.ripemd160 with an own implementation
|
||||
- #24239 test: fix ceildiv division by using integers
|
||||
|
||||
### Utilities
|
||||
|
||||
- #22390 system: skip trying to set the locale on NetBSD
|
||||
- #22895 don't call GetBlockPos in ReadBlockFromDisk without cs_main lock
|
||||
- #24104 fs: Make compatible with boost 1.78
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
### Documentation
|
||||
- #23335 refactor: include a missing <limits> header in fs.cpp
|
||||
- #23504 ci: Replace soon EOL hirsute with jammy
|
||||
- #26321 Adjust .tx/config for new Transifex CLI
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Thanks to everyone who directly contributed to this release:
|
||||
|
||||
- Andrew Chow
|
||||
- BlackcoinDev
|
||||
- Carl Dong
|
||||
- Hennadii Stepanov
|
||||
- Joan Karadimov
|
||||
- John Moffett
|
||||
- Jon Atack
|
||||
- Kittywhiskers Van Gogh
|
||||
- Marco Falke
|
||||
- Martin Zumsande
|
||||
- Michael Ford
|
||||
- muxator
|
||||
- Pieter Wuille
|
||||
- Ryan Ofsky
|
||||
- Saibato
|
||||
- Sebastian Falbesoner
|
||||
- W. J. van der Laan
|
||||
|
||||
As well as to everyone that helped with translations on
|
||||
[Transifex](https://www.transifex.com/bitcoin/bitcoin/).
|
||||
|
||||
@@ -488,7 +488,7 @@ void BitcoinGUI::createMenuBar()
|
||||
connect(minimize_action, &QAction::triggered, [] {
|
||||
QApplication::activeWindow()->showMinimized();
|
||||
});
|
||||
connect(qApp, &QApplication::focusWindowChanged, [minimize_action] (QWindow* window) {
|
||||
connect(qApp, &QApplication::focusWindowChanged, this, [minimize_action] (QWindow* window) {
|
||||
minimize_action->setEnabled(window != nullptr && (window->flags() & Qt::Dialog) != Qt::Dialog && window->windowState() != Qt::WindowMinimized);
|
||||
});
|
||||
|
||||
@@ -503,7 +503,7 @@ void BitcoinGUI::createMenuBar()
|
||||
}
|
||||
});
|
||||
|
||||
connect(qApp, &QApplication::focusWindowChanged, [zoom_action] (QWindow* window) {
|
||||
connect(qApp, &QApplication::focusWindowChanged, this, [zoom_action] (QWindow* window) {
|
||||
zoom_action->setEnabled(window != nullptr);
|
||||
});
|
||||
#endif
|
||||
@@ -1310,6 +1310,12 @@ void BitcoinGUI::setEncryptionStatus(int status)
|
||||
{
|
||||
switch(status)
|
||||
{
|
||||
case WalletModel::NoKeys:
|
||||
labelWalletEncryptionIcon->hide();
|
||||
encryptWalletAction->setChecked(false);
|
||||
changePassphraseAction->setEnabled(false);
|
||||
encryptWalletAction->setEnabled(false);
|
||||
break;
|
||||
case WalletModel::Unencrypted:
|
||||
labelWalletEncryptionIcon->hide();
|
||||
encryptWalletAction->setChecked(false);
|
||||
|
||||
@@ -305,6 +305,11 @@ WalletModel::EncryptionStatus WalletModel::getEncryptionStatus() const
|
||||
{
|
||||
if(!m_wallet->isCrypted())
|
||||
{
|
||||
// A previous bug allowed for watchonly wallets to be encrypted (encryption keys set, but nothing is actually encrypted).
|
||||
// To avoid misrepresenting the encryption status of such wallets, we only return NoKeys for watchonly wallets that are unencrypted.
|
||||
if (m_wallet->privateKeysDisabled()) {
|
||||
return NoKeys;
|
||||
}
|
||||
return Unencrypted;
|
||||
}
|
||||
else if(m_wallet->isLocked())
|
||||
|
||||
@@ -71,6 +71,7 @@ public:
|
||||
|
||||
enum EncryptionStatus
|
||||
{
|
||||
NoKeys, // wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS)
|
||||
Unencrypted, // !wallet->IsCrypted()
|
||||
Locked, // wallet->IsCrypted() && wallet->IsLocked()
|
||||
Unlocked // wallet->IsCrypted() && !wallet->IsLocked()
|
||||
|
||||
Reference in New Issue
Block a user