-
Notifications
You must be signed in to change notification settings - Fork 38.8k
build: remove threadinterrupt from libbitcoinkernel #26360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: remove threadinterrupt from libbitcoinkernel #26360
Conversation
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK afbcd22, tested on Ubuntu 22.04.
FWIW, ./configure --with-experimental-kernel-lib --enable-experimental-util-chainstate && make still works even with the following diff:
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -886,7 +886,6 @@ libbitcoinkernel_la_SOURCES = \
chain.cpp \
chainparamsbase.cpp \
chainparams.cpp \
- clientversion.cpp \
coins.cpp \
compressor.cpp \
consensus/merkle.cpp \
@@ -895,11 +894,9 @@ libbitcoinkernel_la_SOURCES = \
core_read.cpp \
dbwrapper.cpp \
deploymentinfo.cpp \
- deploymentstatus.cpp \
flatfile.cpp \
fs.cpp \
hash.cpp \
- kernel/chain.cpp \
kernel/checks.cpp \
kernel/coinstats.cpp \
kernel/context.cpp \
@@ -932,7 +929,6 @@ libbitcoinkernel_la_SOURCES = \
signet.cpp \
support/cleanse.cpp \
support/lockedpool.cpp \
- sync.cpp \
txdb.cpp \
txmempool.cpp \
uint256.cpp \
That's because you didn't test with |
Correct.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -886,7 +886,6 @@ libbitcoinkernel_la_SOURCES = \
chain.cpp \
chainparamsbase.cpp \
chainparams.cpp \
- clientversion.cpp \
coins.cpp \
compressor.cpp \
consensus/merkle.cpp \
@@ -895,11 +894,9 @@ libbitcoinkernel_la_SOURCES = \
core_read.cpp \
dbwrapper.cpp \
deploymentinfo.cpp \
- deploymentstatus.cpp \
flatfile.cpp \
fs.cpp \
hash.cpp \
- kernel/chain.cpp \
kernel/checks.cpp \
kernel/coinstats.cpp \
kernel/context.cpp \ |
|
Concept ACK. FWIW, I anticipate threadinterrupt coming back to the kernel eventually as I think we'll want to use it to get rid of I think it's fine to re-add it when it's actually needed though. |
If "works" means compiles, then sure, however this also drops the compile-time deployment status sanity checks from the kernel build. |
ryanofsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK afbcd22
afbcd22 build: remove threadinterrupt from libbitcoinkernel (fanquake) Pull request description: Extracted from bitcoin#26292. ACKs for top commit: hebasto: ACK afbcd22, tested on Ubuntu 22.04. ryanofsky: Code review ACK afbcd22 Tree-SHA512: 9d355f0e417561be41cdd0674a8f94c9ffe3ecfb4063bb9c90f1032cb9d471be11d4fa26de40993e3a411e015272201551fbbb3d3c2b43e4c17bf49386a2741c
Extracted from #26292.