Add bitcoin-mine
executable to test connecting to the bitcoin-node
process over a unix socket and calling interface::Mining
methods.
This could be useful as discussed in #29432 (comment) to work on getting mining code working in an external process.
This PR is a draft because it’s mostly useful for testing. But it might reasonable to merge, as an example of a small program that is able to connect over IPC.
This is based on #30510. The non-base commits are:
dad7468be028
interface_ui: move from node to common library1ce0851001a4
multiprocess: Add bitcoin-mine test program54612bd402cf
multiprocess: Expand mining interface (part 1)7b9aa0b6eb11
multiprocess: Expand mining interface (part 2)
This PR is part of the process separation project.