You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the point is that pretty much everything optional is now opt in, when, previously it would be compiled in based on a dependency being available. The release notes don't seem to mention this at all.
Also, zmq-related startup options such as zmqpubhashblock could throw an init error (or at least a warning) if zmq wasn't compiled in, instead of silently being ignored.
It works now, when compiling with -DWITH_ZMQ=ON. This wasn't needed with the previous build system, was it?
Indeed, it's confusing that configure defaults changed. I added a couple sentences to the website release notes: bitcoin-core/bitcoincore.org#1119 Lmk how that looks? Otherwise I think this issue can be marked resolved.
The CMake variables have fixed default values and are not auto-detected at runtime. Any CMake build that requires values different from the defaults must explicitly set them. CMake will print a configure summary, which can be used to verify the build configuration.
Activity
pinheadmz commentedon Apr 12, 2025
whats your bitcoin.conf and lnd.conf? does it work if you downgrade to bitcoin 28 or lnd 18?
bufo24 commentedon Apr 12, 2025
It works when I downgrade bitcoin core to 28.1, unfortunately LND 0.19 has db migrations and cannot downgrade to 0.18.x, so cannot test that.
I guess this is all that's related:
bitcoin core
lnd:
mzumsande commentedon Apr 13, 2025
just to make sure, did you compile bitcoin core with
-DWITH_ZMQ=ON(doc)?bufo24 commentedon Apr 13, 2025
It works now, when compiling with
-DWITH_ZMQ=ON. This wasn't needed with the previous build system, was it?bufo24 commentedon Apr 13, 2025
I read the draft release notes for v29.0 here. But did not read anything about this change. Maybe worth adding that in?
pinheadmz commentedon Apr 13, 2025
There is a link to new build system options:
https://github.com/bitcoin-core/bitcoin-devwiki/wiki/Autotools-to-CMake-Options-Mapping
fanquake commentedon Apr 13, 2025
I think the point is that pretty much everything optional is now opt in, when, previously it would be compiled in based on a dependency being available. The release notes don't seem to mention this at all.
mzumsande commentedon Apr 13, 2025
Also, zmq-related startup options such as
zmqpubhashblockcould throw an init error (or at least a warning) if zmq wasn't compiled in, instead of silently being ignored.pinheadmz commentedon Apr 13, 2025
That's a good point actually, I'm pretty sure rpc
getzmqnotificationsis "unknown command" when not compiledpinheadmz commentedon Apr 14, 2025
Apparently there is a historical reason to quietly ignore configurations that are known but not supported by the build: #13441
glozow commentedon Apr 14, 2025
Indeed, it's confusing that configure defaults changed. I added a couple sentences to the website release notes: bitcoin-core/bitcoincore.org#1119 Lmk how that looks? Otherwise I think this issue can be marked resolved.
bufo24 commentedon Apr 14, 2025
Nice! This should already help!
I will make a PR to make it more prominent in the build docs as well.
maflcko commentedon Apr 15, 2025
I've also modified https://github.com/bitcoin-core/bitcoin-devwiki/wiki/Autotools-to-CMake-Options-Mapping#autotools-to-cmake-options-mapping to include:
Merge #33088: doc: move `cmake -B build -LH` up in Unix build docs
Merge bitcoin/bitcoin#33088: doc: move `cmake -B build -LH` up in Uni…
Merge bitcoin/bitcoin#33088: doc: move `cmake -B build -LH` up in Uni…