proof of work – How to get a block to mine?

0
39


I am trying to learn how mining is done in bitcoin , wrote a simple mining code in python that works fine on sample data set of raw json coming from https://btc.cryptoid.info/btc/block.dws?693649.htm, but these are all mined blocks .

How to get unconfirmed transactions and make a block and submit the proof of work. I referred to below link but none of the links mentioned in the page are working.

https://en.bitcoin.it/wiki/Getblocktemplate

This is purely for learning purpose, I am not trying to make money out of this mining .

Thanks In Advance.



Source link

Leave a reply