0

What is the difference between

bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

and

bitcoin-cli generatetoaddress 11 "myaddress"

as I understand both are for mining?

What's the best option for solo mining bitcoin core wallet without extern miner software?

like in the past set generate true.

any help would be appreciated

1

what is the difference between:

bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'

This implements the GBT protocol, specified in BIP21, for letting mining hardware and (in practice, mostly) pool software communicate with Bitcoin Core.

It outsources the mining computation to software/hardware external to Bitcoin Core. It is the only practical option for mining BTC on mainnet today.

and

bitcoin-cli generatetoaddress 11 "myaddress"

This is a slow, unoptimized, test-only, simplistic way of constructing a block directly by Bitcoin Core. It will mine 11 blocks, with whatever transactions Bitcoin Core knows about in its mempool, and pay out the proceeds to the specified address.

It is only practical to use this on test networks, like testnet and regtest. On mainnet it would literally take a billion years before it found anything.

what's the best option for solo mining bitcoin core wallet without extern miner software.

Don't.

1
  • thank you this answeres my question perfectly ;-)
    – BG media
    Oct 13 at 0:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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