<p>The mining functionality that does background mining in the Bitcoin core was removed in August of 2016. See the following change log:</p>

<p><a href="https://bitcoin.org/en/release/v0.13.0" rel="nofollow noreferrer">https://bitcoin.org/en/release/v0.13.0</a></p>

<p>The mining code itself is still available for testing and experimentation and is located in the files called "miner.cpp" and "miner.h" which are in the main src directory.</p>

CC BY-SA 3.0
2017-11-25T20:01:20.377Z
2017-11-25T20:28:40.467Z
2017-11-25T20:28:40.467Z
Harry Pillsbury
<p>Does anyone knows which part of the Bitcoin Core <a href="https://github.com/bitcoin/bitcoin" rel="nofollow noreferrer">source code</a> contains the proof of work for mining, creating of block and adding to blockchain? What are the files and functions involved?</p>

<bitcoin-core-development><mining-software>
Where can I find proof of work in the Bitcoin Core source code?
Jeannie P
# Where can I find proof of work in the Bitcoin Core source code?

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

Does anyone knows which part of the Bitcoin Core [source code](https://github.com/bitcoin/bitcoin) contains the proof of work for mining, creating of block and adding to blockchain? What are the files and functions involved?

**Tags:** bitcoin-core-development, mining-software


---

## 1 answers

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

The mining functionality that does background mining in the Bitcoin core was removed in August of 2016. See the following change log:

<https://bitcoin.org/en/release/v0.13.0>

The mining code itself is still available for testing and experimentation and is located in the files called "miner.cpp" and "miner.h" which are in the main src directory.


---

