2

When running bcoin, how does one disable mining by default? I just want to run a full node without mining. There seems to be no config options to control it.

3
  • Why do you assume bcoin is mining by default? I'd be extremely surprised if it was capable of mining by itself at all. Feb 6, 2020 at 19:45
  • 1
    Mining is disabled by default, it must be switched on with rpc commands and like @PieterWuille said it can only usefully generate blocks for test networks.
    – pinhead
    Feb 6, 2020 at 19:58
  • 1
    @pinhead: I think that's an answer. :)
    – Murch
    Feb 7, 2020 at 15:14

1 Answer 1

1

Mining is disabled by default, it must be switched on with RPC commands:

https://bcoin.io/api-docs/#rpc-calls-mining

Keep in mind without additional hardware, bcoin can only effectively generate blocks on test networks (like simnet and regtest). A bcoin full node can be used by a mining pool operator to generate block templates and ultimately find valid blocks, there has been at least one block mined on mainnet with a bcoin full node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.