Skip to content

Switch to IPC communication with bitcoind for mining #4

@mcelrath

Description

@mcelrath

Motivation

Bitcoin is adding an IPC (InterProcess Communication) over a unix socket mechanism to get block templates and manage mining. See also bitcoin#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

  • Compiling Bitcoin Core from source
  • Experience with IPC

Guidance for new contributors

Want to work on this issue?

For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions