0

In order to mine bitcoin, a node needs to have all 60+ GB of blockchain data and read them for every transaction? Or exists a more efficient way to mine blocks?

marked as duplicate by Nate Eldredge, Gopoi, cdecker, morsecoder Apr 10 '16 at 17:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Could you please edit the title to better represent your question? – Murch Apr 1 '16 at 13:00
1

In order to mine bitcoin, a node needs to have all 60+ GB of blockchain data

No. But if it wants to include transactions in its blocks, it has to know which transactions are valid and which aren't.

and read them for every transaction? Or exists a more efficient way to mine blocks?

Typically, you process all that data once, maintaining an efficient, indexed database of unspent transaction outputs (UTXOs). You can tell if a transaction is valid by (in addition to the other needed checks) just checking its inputs against your UTXO database. You don't need to go fishing through 60GB of raw, unindexed data.

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