Posts

Showing posts with the label How to build merkle root from merkle branches?

How to build merkle root from merkle branches?

How to build merkle root from merkle branches? Is there any help/tutorial on how to build the merkle root from stratum data? The slushpool's stratum protocol has an example of a mining job but it does not contain any merkle branches and I dont know if I an generating the merkle root correctly Here is the string from slushpool: {"params": ["bf", "4d16b6f85af6e2198f44ae2a6de67f78487ae5611b77c6c0440b921e00000000", "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff20020862062f503253482f04b8864e5008", "072f736c7573682f000000000100f2052a010000001976a914d23fcdf86f7e756a64a7a9688ef9903327048ed988ac00000000", [], "00000002", "1c2ac4af", "504e86b9", false], "id": null, "method": "mining.notify"} http://ift.tt/2pErKk1