build: Update minimum required Boost version
What changed, and why it matters
This commit simply raises the minimum required Boost library version from 1.73.0 to 1.74.0 because building with 1.73.0 is broken. It is a build-system/dependency documentation change, not a fix for a security vulnerability in Bitcoin Core itself.
No security action required. Treat as a normal build-system maintenance update. Users building from source should ensure Boost 1.74.0 or newer is installed.
Security signals we found
No security-relevant code change
Build dependency minimum version bump only
No mention of vulnerability, CVE, exploit, or security fix in commit message or diff
Evidence from the diff
The change updates find_package(Boost 1.73.0 REQUIRED CONFIG) to find_package(Boost 1.74.0 REQUIRED CONFIG) in cmake/module/AddBoostIfNeeded.cmake and updates the corresponding minimum version in doc/dependencies.md. The commit message states ‘Building with Boost 1.73.0 is broken.’ There is no indication of a security defect in Bitcoin Core; the change prevents use of an unsupported dependency version that fails to compile.
Changed components
cmake/module/AddBoostIfNeeded.cmakedoc/dependencies.mdInspect captured patch +2 / −2
diff --git a/cmake/module/AddBoostIfNeeded.cmake b/cmake/module/AddBoostIfNeeded.cmake
index e2eaf556..b3f24800 100644
--- a/cmake/module/AddBoostIfNeeded.cmake
+++ b/cmake/module/AddBoostIfNeeded.cmake
@@ -29,7 +29,7 @@ function(add_boost_if_needed)
endif()
endif()
- find_package(Boost 1.73.0 REQUIRED CONFIG)
+ find_package(Boost 1.74.0 REQUIRED CONFIG)
mark_as_advanced(Boost_INCLUDE_DIR boost_headers_DIR)
# Workaround for a bug in NetBSD pkgsrc.
# See: https://github.com/NetBSD/pkgsrc/issues/167.
diff --git a/doc/dependencies.md b/doc/dependencies.md
index 3ff306f8..0d7d8b3a 100644
--- a/doc/dependencies.md
+++ b/doc/dependencies.md
@@ -19,7 +19,7 @@ Bitcoin Core requires one of the following compilers.
| Dependency | Releases | Minimum required |
| --- | --- | --- |
-| [Boost](../depends/packages/boost.mk) | [link](https://www.boost.org/users/download/) | [1.73.0](https://github.com/bitcoin/bitcoin/pull/29066) |
+| [Boost](../depends/packages/boost.mk) | [link](https://www.boost.org/users/download/) | [1.74.0](https://github.com/bitcoin/bitcoin/pull/34107) |
| CMake | [link](https://cmake.org/) | [3.22](https://github.com/bitcoin/bitcoin/pull/30454) |
| [libevent](../depends/packages/libevent.mk) | [link](https://github.com/libevent/libevent/releases) | [2.1.8](https://github.com/bitcoin/bitcoin/pull/24681) |
Why this scored 17/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.