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


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, 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.

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