kernel: Remove unused core_read.cpp from kernel
What changed, and why it matters
This commit simply removes three source files from the list used to build the Bitcoin Core kernel library, because they are no longer needed there. It is a routine cleanup change with no security relevance.
No action needed; this is a benign build cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies src/kernel/CMakeLists.txt to remove core_read.cpp, util/strencodings.cpp, and util/string.cpp from the bitcoinkernel target. The diff shows only deletions from a build file; no code behavior is changed. The commit message explicitly states the files are ‘unused’ in the kernel.
Changed components
src/kernel/CMakeLists.txtInspect captured patch +0 / −3
diff --git a/src/kernel/CMakeLists.txt b/src/kernel/CMakeLists.txt
index 85011f44..eeae4630 100644
--- a/src/kernel/CMakeLists.txt
+++ b/src/kernel/CMakeLists.txt
@@ -25,7 +25,6 @@ add_library(bitcoinkernel
../consensus/merkle.cpp
../consensus/tx_check.cpp
../consensus/tx_verify.cpp
- ../core_read.cpp
../dbwrapper.cpp
../deploymentinfo.cpp
../deploymentstatus.cpp
@@ -72,8 +71,6 @@ add_library(bitcoinkernel
../util/rbf.cpp
../util/serfloat.cpp
../util/signalinterrupt.cpp
- ../util/strencodings.cpp
- ../util/string.cpp
../util/syserror.cpp
../util/threadnames.cpp
../util/time.cpp
Why this scored 15/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.