News for hackers. Stuff that matters.
Re:Bitcoin From Scratch – Part 1 by WhoIsSatoshi on Saturday July 04, 2020 @09:52AM (#23732168)
Do you have a source I can look at or do I have to go look at at or can you point to code by chance?

I'm quite surprised I wasn't aware of this if this is actually how it is implemented, the leading zeroes seemed right (and the difficulty by factor of 2 also!)

Thanks!

Re:Bitcoin From Scratch – Part 1 by nemo1618 on Saturday July 04, 2020 @10:56AM (#23732649)
Someone else linked it below: https://github.com/bitcoin/bitcoin/blob/e071a3f6c06f41068ad1...

Equivalent check in btcd, an alternative Bitcoin implementation: https://github.com/btcsuite/btcd/blob/991d32e72fe84d5fbf9c47...