Skip to main content
edited tags
Link
jtgrassie
  • 19.4k
  • 4
  • 15
  • 52
fixed a portion of the question
Source Link

Edit: So I figured out that the block id requires the hashing blob to be prefixed with the size of hashing blob. So I'm now able to hash the blob to get the correct hash Id. But im still currently stuck at validating the difficulty.

Edit: So I figured out that the block id requires the hashing blob to be prefixed with the size of hashing blob. So I'm now able to hash the blob to get the correct hash Id. But im still currently stuck at validating the difficulty.

clarified context
Source Link

I'm trying to re-construct the "hashing blob" for an old block and calculate the correct hash to validate some code, but I can't seem to get the correct results. I've confirmed via(via unit tests against the monero source code) that my hash functions are correct mathematically, so it seems im getting the hashing blob contents wrong. If we take an old block as an example:

I'm trying to re-construct the "hashing blob" for an old block and calculate the correct hash to validate some code, but I can't seem to get the correct results. I've confirmed via unit tests that my hash functions are correct, so it seems im getting the hashing blob contents wrong. If we take an old block as an example:

I'm trying to re-construct the "hashing blob" for an old block and calculate the correct hash to validate some code, but I can't seem to get the correct results. I've confirmed (via unit tests against the monero source code) that my hash functions are correct mathematically, so it seems im getting the hashing blob contents wrong. If we take an old block as an example:

fixed JSON
Source Link
Loading
Source Link
Loading