Add bitcoin-mine
executable to test connecting to the bitcoin-node
process over a unix socket and calling interface::Mining
methods.
This is useful as discussed in #29432 (comment) to work on getting mining code working in an external process.
This PR initially supported spawning a new bitcoin-node
process if a connection could not be established with an existing process, but it was dropped to simplify the code. A branch building on this PR and adding that support is
pr/mine-detach.
This PR is part of the process separation project.