Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: PixL on March 18, 2019, 03:01:59 PM



Title: Bitcoin verifying nodes code
Post by: PixL on March 18, 2019, 03:01:59 PM
Hi everyone,
I'm on a project on which we would like to try to make some test on the "proof of work" part of the code of Bitcoin.
If anyone knows where this part is located in the code, that help would be really appreciated..
Thank you !
PixL


Title: Re: Bitcoin verifying nodes code
Post by: PixL on March 21, 2019, 10:38:42 AM
Check https://github.com/bitcoin/bitcoin/blob/master/src/pow.cpp (https://github.com/bitcoin/bitcoin/blob/master/src/pow.cpp)

If you plan to check other parts of Bitcoin (Bitcoin Core to be precise), you might want to check Understanding The Satoshi Codebase (Series) (https://bitcointalk.org/index.php?topic=5077159.msg48300324#msg48300324)


Thank you very much. I really appreciated that. Do you know another place where the proof of work code inside bitcoin is explained ? Thank you again for your help !


Title: Re: Bitcoin verifying nodes code
Post by: PixL on March 22, 2019, 09:13:54 AM
Thank you very much !