0
What is the program in Python that print information about the current block the world try to mine (I mean Version, Previous Block, Merkle Root, Time, Bits) plus how many zeros we are looking for for the output of the hash!
0
What is the program in Python that print information about the current block the world try to mine (I mean Version, Previous Block, Merkle Root, Time, Bits) plus how many zeros we are looking for for the output of the hash!
0
To take the information of the bitcoin blockchain, you can use the bitcoin core RPC Framework, for use it, you must have all blockchain on your computer
You can use this documentation for study API
also for a response to the last comment, you can use the API for call the Mining commands but is difficult understand your question "I can print information about the block they're mining now" because the mining is a war for the node and each node can have different information
Do you have a need to a parser for file blk? – vincenzopalazzo – 2019-09-23T13:02:08.390
@vincenzopalazzo I don't understand what do you mean! – Roofnos – 2019-09-23T15:48:09.533
What are you looking for? where do you want to get that information from? – vincenzopalazzo – 2019-09-23T15:54:22.943
@vincenzopalazzo I think that I could get them from a library. How do mining programs get these information? – Roofnos – 2019-09-23T16:00:32.553
From the bitcoin RPC Framework – vincenzopalazzo – 2019-09-23T16:03:10.653
@vincenzopalazzo And can't I get the same from this framework in Python so I can print information about the block they're mining now? – Roofnos – 2019-09-23T16:13:09.520
I have tried to add an answer to the question – vincenzopalazzo – 2019-09-23T16:23:00.437