<blockquote>
<p><strong>generated this hash [...]. What I do with this now?</strong></p>
</blockquote>
<p>I'm pretty sure the things you should do include:</p>
<ul>
<li>Check that the prior block referenced by your block template is still at the head of the chain.</li>
<li>Ensure your block will pass all the consensus validation rules.</li>
<li>Identify a handful of peer nodes using Bitcoin's peer discovery process/protocol</li>
<li>Send a Bitcoin message to those peers stating that you have a new block</li>
<li>Listen for incoming requests for that block and respond to them</li>
<li>Wait for another 100 blocks to be added to the chain that has your block in it.</li>
<li>Spend your block reward or continue to retain it</li>
</ul>
<p>See also</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/148/13866">What exactly is Mining?</a></li>
<li><a href="https://bitcoin.stackexchange.com/q/7330/13866">Whats the process of Creating a Block on the BlockChain</a></li>
</ul>
<hr />
<blockquote>
<p><strong>How do you view the current difficulty</strong></p>
</blockquote>
<p>By viewing the difficulty value in a few recent blocks and if the difficulty interval is here, by applying the difficulty recalculation algorithm.</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/5838/13866">How is difficulty calculated?</a></li>
</ul>
<hr />
<blockquote>
<p><strong>and how can you even get the reward when you mine that?</strong></p>
</blockquote>
<p>The reward is in the coinbase transaction you added to your block template before hashing. You can spend it 100 blocks later (see above)</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/102338/13866">How do mining rewards get verified?</a></li>
</ul>

CC BY-SA 4.0
2021-10-21T09:12:53.810Z
2021-10-21T18:23:14.727Z
2021-10-21T18:23:14.727Z
RedGrittyBrick
<p>I've mined <strong>bitcoin</strong> to test and understand cryptocurrency better. Which generated this hash <code>00000431fb66ed96815b3829e975c2235a64b9a646c0bd1cc526dc1727c1f16b</code><strong>(nonce value of 300712)</strong> What I do with this now? Do I go to blockchain and submit it? How can I do that? Can someone explain me? I'm very new to cryptocurrency and I'd like to learn more about it.</p>

CC BY-SA 4.0
2021-10-20T18:02:52.810Z
That looks like a low difficulty. What chain did you mine?
Mercedes
CC BY-SA 4.0
2021-10-20T18:04:40.620Z
Yeah it was to test. It's lvl 5 difficulty which is mined by python 3.9
TheCodeExpert
CC BY-SA 4.0
2021-10-20T18:20:23.207Z
To extend the blockchain, you have to mine a block at the current difficulty. The current difficulty is 20,082,460,130,830, so just a tad more than 5. You should check out https://bitcoin.stackexchange.com/q/148/5406, and https://bitcoin.stackexchange.com/q/41276/5406.
Murch
CC BY-SA 4.0
2021-10-20T18:23:11.380Z
How do you view the current difficulty and how can you even get the reward when you mine that? I have some many questions
TheCodeExpert
CC BY-SA 4.0
2021-10-20T18:56:56.480Z
Block headers commit to the previous block hash and the difficulty, so you literally cannot begin mining without knowing this. Typically you'd get this information from a full node; for example using the `getblocktemplate` RPC call of Bitcoin Core.
Pieter Wuille
<blockchain><mining-pools><hash>
I've built a bitcoin miner and mined. Now what I do?
TheCodeExpert
# I've built a bitcoin miner and mined. Now what I do?

(Asked by: username_0 on 2021-10-20)

I've mined **bitcoin** to test and understand cryptocurrency better. Which generated this hash `00000431fb66ed96815b3829e975c2235a64b9a646c0bd1cc526dc1727c1f16b`**(nonce value of 300712)** What I do with this now? Do I go to blockchain and submit it? How can I do that? Can someone explain me? I'm very new to cryptocurrency and I'd like to learn more about it.

**Tags:** blockchain, mining-pools, hash

> **Comments:**
> **username_1**: That looks like a low difficulty. What chain did you mine?  
> **username_0**: Yeah it was to test. It's lvl 5 difficulty which is mined by python 3.9  
> **username_2**: To extend the blockchain, you have to mine a block at the current difficulty. The current difficulty is 20,082,460,130,830, so just a tad more than 5. You should check out https://bitcoin.stackexchange.com/q/148/5406, and https://bitcoin.stackexchange.com/q/41276/5406.  
> **username_0**: How do you view the current difficulty and how can you even get the reward when you mine that? I have some many questions  
> **username_3**: Block headers commit to the previous block hash and the difficulty, so you literally cannot begin mining without knowing this. Typically you'd get this information from a full node; for example using the `getblocktemplate` RPC call of Bitcoin Core.  

---

## 1 answers

### Answer by username_4 on 2021-10-21. Score: 1

> **generated this hash [...]. What I do with this now?**

I'm pretty sure the things you should do include:

* Check that the prior block referenced by your block template is still at the head of the chain.
* Ensure your block will pass all the consensus validation rules.
* Identify a handful of peer nodes using Bitcoin's peer discovery process/protocol
* Send a Bitcoin message to those peers stating that you have a new block
* Listen for incoming requests for that block and respond to them
* Wait for another 100 blocks to be added to the chain that has your block in it.
* Spend your block reward or continue to retain it

See also

* [What exactly is Mining?](https://bitcoin.stackexchange.com/q/148/13866)
* [Whats the process of Creating a Block on the BlockChain](https://bitcoin.stackexchange.com/q/7330/13866)

---

> **How do you view the current difficulty**

By viewing the difficulty value in a few recent blocks and if the difficulty interval is here, by applying the difficulty recalculation algorithm.

* [How is difficulty calculated?](https://bitcoin.stackexchange.com/q/5838/13866)

---

> **and how can you even get the reward when you mine that?**

The reward is in the coinbase transaction you added to your block template before hashing. You can spend it 100 blocks later (see above)

* [How do mining rewards get verified?](https://bitcoin.stackexchange.com/q/102338/13866)


---

