Do you need to download the entire blockchain in order to mine bitcoins?

4

2

Do you need to download the entire blockchain in order to mine bitcoins? I'm downloading bitcoin-qt, and I'm afraid it will take up too much memory on my computer. Also, I just read that when another node downloads the blockchain from me, that will also tie speeds. Is this true?

Jordan

Posted 2013-12-19T16:35:13.080

Reputation: 51

2If you're thinking about mining with a regular computer, rethink. It's not going to be worth it.Lodewijk 2014-10-31T01:04:04.347

Answers

4

If you are solo mining, then you need the entire blockchain since each block you mine references the hash code of the last block in the chain. If you don't have the last block yet, then the network will reject your mined blocks since there will already be later blocks in the blockchain.

If you are mining in a pool, then you don't need the blockchain or bitcoin-qt. Just point your miner at the pool and start mining.

ScripterRon

Posted 2013-12-19T16:35:13.080

Reputation: 2 023

is this true for ethereum also?delueg 2017-06-17T23:39:37.407

This answer is wrong or at least highly misleading. You don't need the "entire blockchain" to mine but only the latest blocktobi 2018-04-23T17:11:18.130

So how you'd acquire the latest block @tobi?! With relying-on/trusting third-parties?! You have to verify blockchain on your own & thus you should have the entire blockchain or have to participate in a pool.Behrad Khodayar 2019-01-27T10:53:46.220

@BehradKhodayar there are many ways and I admin that some are not implemented in bitcoin core atm. One good solutions would be UTXO commitments or some other form of checkpoints embedded in the implementation. There's not more trust than you have to trust that the node software you download is correct anyway. Also what is possible already today is to just set prune=XXXX so yes you'll start at genesis but always delete after n blocks. OP was implying that he's concerned regarding all the memory the blockchain takes. With pruning you'll never store the whole blockchain at once.tobi 2019-01-28T12:08:28.327

I would add to my first comment that you need the latest block + the UTXO settobi 2019-01-28T12:10:15.207

3

If you mine in a pool, the pool will send you whatever work you are mining on, i.e. you don't need to download the blockchain.

If you are solo-mining you will need the blockchain.

Murch

Posted 2013-12-19T16:35:13.080

Reputation: 41 609