Open mcelrath opened 2 months ago
Bitcoin is adding an IPC (InterProcess Communication) over a unix socket mechanism to get block templates and manage mining. See also https://github.com/bitcoin/bitcoin/pull/30509. A mining example is here.
I like this solution better than using ZMQ or the StratumV2 API because it makes outsourcing of block templates more difficult. We want to have a Braidpool node running on the same host as bitcoind, which IPC requires.
Adapt the bitcoin-mine test program for CPUNet, replacing the ZMQ-based mining script .
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.
Motivation
Bitcoin is adding an IPC (InterProcess Communication) over a unix socket mechanism to get block templates and manage mining. See also https://github.com/bitcoin/bitcoin/pull/30509. A mining example is here.
I like this solution better than using ZMQ or the StratumV2 API because it makes outsourcing of block templates more difficult. We want to have a Braidpool node running on the same host as bitcoind, which IPC requires.
Possible solution
Adapt the bitcoin-mine test program for CPUNet, replacing the ZMQ-based mining script .
Useful Skills
Guidance for new contributors
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.