<p>Miners perform the proof-of-work that secures the blockchain. Electrum is not a miner. </p>

<p>Electrum is a light wallet, it does not perform proof-of-work hashing to create blocks, instead it just checks to ensure that relevant transactions are valid. Rather than download the entire blockchain, it will just download the block headers (much less data), and then it can perform cryptographic checks to ensure that everything is legit. </p>

<p>For transactions in particular, the wallet will ensure that the relevant transaction hashes are present in the merkle root of a block (the merkle root is part of the block header). The wallet can request the relevant transactions, and then hash them to verify that the correct merkle root is reached (ie, the same merkle root that is present in the longest valid proof-of-work chain). Due to the one-way nature of hash functions, a node could not serve an invalid transaction hash to a wallet, or else the root would change entirely and the wallet would know it is invalid.  </p>

<p>In this way, light wallets allow you to verify the blockchain's history with a low level of trust, and low resource intensity (less data, and less verification computation).</p>

CC BY-SA 3.0
2017-11-23T07:12:57.800Z
Thank you! What about bitcoin core? I saw there is a miner.cpp I their source code
Jeannie P
CC BY-SA 3.0
2017-11-21T07:15:17.243Z
2017-11-21T07:15:17.243Z
chytrik
<p>on the website you linked they write "Lightweight Bitcoin client" in the headline. electrum is a wallet, not a miner. electrum does not implement any proof of work algorithm because only the miner work with proof of work to verify "deployment" of resources to determine who earns the blockchain reward for a certain found hash.</p>

CC BY-SA 3.0
2017-11-21T05:13:02.870Z
then how can they verify the financial transactions in the wallet?
Jeannie P
CC BY-SA 3.0
2017-11-20T20:02:18.973Z
2017-11-20T20:02:18.973Z
anion
<p>Hi does anyone knows where can i find electrum's proof of work in the source? <a href="https://github.com/spesmilo/electrum" rel="nofollow noreferrer">https://github.com/spesmilo/electrum</a></p>

<bitcoin-core><electrum><proof-of-work>
Where can i find proof of work in Electrum(light weight bitcoin) source code?
Jeannie P
# Where can i find proof of work in Electrum(light weight bitcoin) source code?

(Asked by: username_0 on 2017-11-20)

Hi does anyone knows where can i find electrum's proof of work in the source? <https://github.com/spesmilo/electrum>

**Tags:** bitcoin-core, electrum, proof-of-work


---

## 2 answers

### Answer by username_1 on 2017-11-21. Score: 1

Miners perform the proof-of-work that secures the blockchain. Electrum is not a miner.

Electrum is a light wallet, it does not perform proof-of-work hashing to create blocks, instead it just checks to ensure that relevant transactions are valid. Rather than download the entire blockchain, it will just download the block headers (much less data), and then it can perform cryptographic checks to ensure that everything is legit.

For transactions in particular, the wallet will ensure that the relevant transaction hashes are present in the merkle root of a block (the merkle root is part of the block header). The wallet can request the relevant transactions, and then hash them to verify that the correct merkle root is reached (ie, the same merkle root that is present in the longest valid proof-of-work chain). Due to the one-way nature of hash functions, a node could not serve an invalid transaction hash to a wallet, or else the root would change entirely and the wallet would know it is invalid.

In this way, light wallets allow you to verify the blockchain's history with a low level of trust, and low resource intensity (less data, and less verification computation).

> **Comments:**
> **username_0**: Thank you! What about bitcoin core? I saw there is a miner.cpp I their source code  

---

### Answer by username_2 on 2017-11-20. Score: 0

on the website you linked they write "Lightweight Bitcoin client" in the headline. electrum is a wallet, not a miner. electrum does not implement any proof of work algorithm because only the miner work with proof of work to verify "deployment" of resources to determine who earns the blockchain reward for a certain found hash.

> **Comments:**
> **username_0**: then how can they verify the financial transactions in the wallet?  

---

