This change toggles -DENABLE_IPC
default value from OFF
to ON
so IPC features will be compiled by default in source builds.
The main feature this provides is an -ipcbind
option that lets the node listen on a unix socket and expose a mining interface to support Stratum v2 mining software.
This change doesn’t affect bitcoind
or bitcoin-qt
since IPC features are implemented in separate binaries accessible through a new bitcoin
command.
This PR is a minimal change that just enables IPC by default in cmake. #31802 is more comprehensive and additionally enables IPC by default in depends, uses it in more CI jobs, and updates documentation. If you like this PR, you will love #31802!
I prefer the approach in #31802 of enabling IPC in source builds, release binaries, and CI at the same time, without an intermediate state where source and binary releases are different. But there was a comment in todays irc meeting “i think it’d be nice if we had IPC enabled in from-source builds by default for a while before we add it to releases” and there have been similar comments previously, so maybe this PR will be of interest if we want to take that approach.
This PR is part of the process separation project.