Compare commits

..

11 Commits

Author SHA1 Message Date
merge-script
0a2a5c4ba6 Merge bitcoin/bitcoin#30722: [26.x] Fix compilation with GCC 15
7d5764fb29 doc: update release notes for 26.x (fanquake)
1a08364686 add missing #include <cstdint> for GCC 15 (Matt Whitlock)

Pull request description:

  Backports #30633 to the `26.x` branch, so that it can be compiled with GCC 15.

ACKs for top commit:
  glozow:
    utACK 7d5764fb29

Tree-SHA512: ecf01e45f9ebb11c683252d6ca6a5a31ff767be08bb5760d1a65e583793ab50a94c3396b47931451c67830f704781eb9264a81b4b05bec943f041ef38f563475
2024-08-28 10:35:43 +01:00
fanquake
7d5764fb29 doc: update release notes for 26.x 2024-08-23 16:46:15 +01:00
Matt Whitlock
1a08364686 add missing #include <cstdint> for GCC 15
Github-Pull: #30633
Rebased-From: 138f867156
2024-08-23 16:35:36 +01:00
glozow
7b7041019b Merge bitcoin/bitcoin#30376: 26.2 final changes
eef5dbc21b [doc] update release notes 26.2 (glozow)
00f0267ac0 [doc] update manpages 26.2 (glozow)
29cbec45dd [build] bump copyright year (glozow)
fe8dee826d [build] bump version to 26.2 (glozow)

Pull request description:

  bins were uploaded 2 weeks ago on June 18
  website PR: https://github.com/bitcoin-core/bitcoincore.org/pull/1039

ACKs for top commit:
  stickies-v:
    ACK eef5dbc21b
  fanquake:
    ACK eef5dbc21b If you want, you could also backport the changes to get the ASAN job running again, but that isn't blocking here.
  theStack:
    ACK eef5dbc21b

Tree-SHA512: 7c9e97231fd51784f1cc78a9b7b07b8a201ad7f54715fab6dd3243244e9f52831f57883966f2061cbff7a68018b4345de27e3953c50d7ec801d1a61f216907d1
2024-07-03 16:49:43 +01:00
glozow
eef5dbc21b [doc] update release notes 26.2 2024-07-02 10:41:25 +01:00
glozow
00f0267ac0 [doc] update manpages 26.2 2024-07-02 10:41:25 +01:00
glozow
29cbec45dd [build] bump copyright year 2024-07-02 10:34:39 +01:00
glozow
fe8dee826d [build] bump version to 26.2 2024-07-02 10:33:47 +01:00
merge-script
6bbfdcfb6d Merge bitcoin/bitcoin#30319: [26.x] upnp: fix build with miniupnpc 2.2.8
10413ac46c doc: add 30283 cherry-pick to rel notes (fanquake)
391ce775f4 upnp: add compatibility for miniupnpc 2.2.8 (Cory Fields)

Pull request description:

  Backports https://github.com/bitcoin/bitcoin/pull/30283 to the 26.x branch.

ACKs for top commit:
  edilmedeiros:
    ACK 10413ac46c
  theuni:
    ACK 10413ac46c

Tree-SHA512: 4a0f4eceefd5bbf9c97d19c4890b85963d56449856a56e6fe24161d3d6f37332de719da342d6c00ee67f2cd9434d849809a3cdc51719dc93219ec218c35a9f97
2024-06-24 13:37:23 +01:00
fanquake
10413ac46c doc: add 30283 cherry-pick to rel notes 2024-06-21 15:45:56 +01:00
Cory Fields
391ce775f4 upnp: add compatibility for miniupnpc 2.2.8
See: c0a50ce33e

The return value of 2 now indicates:
"A valid connected IGD has been found but its IP address is reserved (non routable)"

We continue to ignore any return value other than 1.

Github-Pull: #30283
Rebased-From: 8acdf66540
2024-06-21 15:42:38 +01:00
11 changed files with 38 additions and 70 deletions

View File

@@ -2,9 +2,9 @@ AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 26)
define(_CLIENT_VERSION_MINOR, 2)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_RC, 1)
define(_CLIENT_VERSION_RC, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2023)
define(_COPYRIGHT_YEAR, 2024)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Bitcoin Core]])
AC_INIT([Bitcoin Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_BUILD)m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/bitcoin/bitcoin/issues],[bitcoin],[https://bitcoincore.org/])

View File

@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIN-CLI "1" "June 2024" "bitcoin-cli v26.2.0rc1" "User Commands"
.TH BITCOIN-CLI "1" "July 2024" "bitcoin-cli v26.2.0" "User Commands"
.SH NAME
bitcoin-cli \- manual page for bitcoin-cli v26.2.0rc1
bitcoin-cli \- manual page for bitcoin-cli v26.2.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 v26.2.0rc1
.B bitcoin-cli
[\fI\,options\/\fR] \fI\,help <command> Get help for a command\/\fR
.SH DESCRIPTION
Bitcoin Core RPC client version v26.2.0rc1
Bitcoin Core RPC client version v26.2.0
.SH OPTIONS
.HP
\-?
@@ -170,7 +170,7 @@ network seed node(s))
.IP
Use the test chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR.
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIN-QT "1" "June 2024" "bitcoin-qt v26.2.0rc1" "User Commands"
.TH BITCOIN-QT "1" "July 2024" "bitcoin-qt v26.2.0" "User Commands"
.SH NAME
bitcoin-qt \- manual page for bitcoin-qt v26.2.0rc1
bitcoin-qt \- manual page for bitcoin-qt v26.2.0
.SH SYNOPSIS
.B bitcoin-qt
[\fI\,command-line options\/\fR]
.SH DESCRIPTION
Bitcoin Core version v26.2.0rc1
Bitcoin Core version v26.2.0
.SH OPTIONS
.HP
\-?
@@ -811,7 +811,7 @@ Reset all settings changed in the GUI
.IP
Show splash screen on startup (default: 1)
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIN-TX "1" "June 2024" "bitcoin-tx v26.2.0rc1" "User Commands"
.TH BITCOIN-TX "1" "July 2024" "bitcoin-tx v26.2.0" "User Commands"
.SH NAME
bitcoin-tx \- manual page for bitcoin-tx v26.2.0rc1
bitcoin-tx \- manual page for bitcoin-tx v26.2.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 v26.2.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 v26.2.0rc1
Bitcoin Core bitcoin\-tx utility version v26.2.0
.SH OPTIONS
.HP
\-?
@@ -134,7 +134,7 @@ set=NAME:JSON\-STRING
.IP
Set register NAME to given JSON\-STRING
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIN-UTIL "1" "June 2024" "bitcoin-util v26.2.0rc1" "User Commands"
.TH BITCOIN-UTIL "1" "July 2024" "bitcoin-util v26.2.0" "User Commands"
.SH NAME
bitcoin-util \- manual page for bitcoin-util v26.2.0rc1
bitcoin-util \- manual page for bitcoin-util v26.2.0
.SH SYNOPSIS
.B bitcoin-util
[\fI\,options\/\fR] [\fI\,commands\/\fR] \fI\,Do stuff\/\fR
.SH DESCRIPTION
Bitcoin Core bitcoin\-util utility version v26.2.0rc1
Bitcoin Core bitcoin\-util utility version v26.2.0
.SH OPTIONS
.HP
\-?
@@ -54,7 +54,7 @@ grind
.IP
Perform proof of work on hex header string
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIN-WALLET "1" "June 2024" "bitcoin-wallet v26.2.0rc1" "User Commands"
.TH BITCOIN-WALLET "1" "July 2024" "bitcoin-wallet v26.2.0" "User Commands"
.SH NAME
bitcoin-wallet \- manual page for bitcoin-wallet v26.2.0rc1
bitcoin-wallet \- manual page for bitcoin-wallet v26.2.0
.SH DESCRIPTION
Bitcoin Core bitcoin\-wallet version v26.2.0rc1
Bitcoin Core bitcoin\-wallet version v26.2.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.
@@ -110,7 +110,7 @@ salvage
Attempt to recover private keys from a corrupt wallet. Warning:
\&'salvage' is experimental.
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1.
.TH BITCOIND "1" "June 2024" "bitcoind v26.2.0rc1" "User Commands"
.TH BITCOIND "1" "July 2024" "bitcoind v26.2.0" "User Commands"
.SH NAME
bitcoind \- manual page for bitcoind v26.2.0rc1
bitcoind \- manual page for bitcoind v26.2.0
.SH SYNOPSIS
.B bitcoind
[\fI\,options\/\fR] \fI\,Start Bitcoin Core\/\fR
.SH DESCRIPTION
Bitcoin Core version v26.2.0rc1
Bitcoin Core version v26.2.0
.SH OPTIONS
.HP
\-?
@@ -789,7 +789,7 @@ subject to empty whitelists.
.IP
Accept command line and JSON\-RPC commands
.SH COPYRIGHT
Copyright (C) 2009-2023 The Bitcoin Core developers
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.

View File

@@ -1,9 +1,9 @@
26.2rc1 Release Notes
26.x Release Notes
==================
Bitcoin Core version 26.2rc1 is now available from:
Bitcoin Core version 26.x is now available from:
<https://bitcoincore.org/bin/bitcoin-core-26.2/test.rc1/>
<https://bitcoincore.org/bin/bitcoin-core-26.x/>
This release includes new features, various bug fixes and performance
improvements, as well as updated translations.
@@ -40,53 +40,16 @@ unsupported systems.
Notable changes
===============
### Script
- #29853: sign: don't assume we are parsing a sane TapMiniscript
### P2P and network changes
- #29691: Change Luke Dashjr seed to dashjr-list-of-p2p-nodes.us
- #30085: p2p: detect addnode cjdns peers in GetAddedNodeInfo()
### RPC
- #29869: rpc, bugfix: Enforce maximum value for setmocktime
- #28554: bugfix: throw an error if an invalid parameter is passed to getnetworkhashps RPC
- #30094: rpc: move UniValue in blockToJSON
- #29870: rpc: Reword SighashFromStr error message
### Build
- #29747: depends: fix mingw-w64 Qt DEBUG=1 build
- #29985: depends: Fix build of Qt for 32-bit platforms with recent glibc
- #30151: depends: Fetch miniupnpc sources from an alternative website
### Misc
- #29776: ThreadSanitizer: Fix #29767
- #29856: ci: Bump s390x to ubuntu:24.04
- #29764: doc: Suggest installing dev packages for debian/ubuntu qt5 build
- #30149: contrib: Renew Windows code signing certificate
- #30633 Fixes for GCC 15 compatibility
Credits
=======
Thanks to everyone who directly contributed to this release:
- Antoine Poinsot
- Ava Chow
- dergoegge
- fanquake
- glozow
- Hennadii Stepanov
- Jameson Lopp
- jonatack
- laanwj
- Luke Dashjr
- MarcoFalke
- nanlour
- willcl-ark
- Matt Whitlock
As well as to everyone that helped with translations on
[Transifex](https://www.transifex.com/bitcoin/bitcoin/).

View File

@@ -7,6 +7,7 @@
#include <util/chaintype.h>
#include <cstdint>
#include <memory>
#include <string>

View File

@@ -163,8 +163,11 @@ static bool ProcessUpnp()
struct UPNPUrls urls;
struct IGDdatas data;
int r;
#if MINIUPNPC_API_VERSION <= 17
r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr));
#else
r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr), nullptr, 0);
#endif
if (r == 1)
{
if (fDiscover) {

View File

@@ -6,9 +6,10 @@
#ifndef BITCOIN_NODE_INTERFACE_UI_H
#define BITCOIN_NODE_INTERFACE_UI_H
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <vector>
class CBlockIndex;
enum class SynchronizationState;