Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: supercanada1 on June 12, 2015, 05:06:45 PM



Title: How to know the algorithm is bitcoin algorithm or other algorithm from souce
Post by: supercanada1 on June 12, 2015, 05:06:45 PM
This is a new topic
if I saw the source code of a coin, how can I know which algorithm it use so that I can select the miner?
How can I know the algorithm is X11 X13 or x15 or bitcoin sha256 etc?
from the miner.cpp or  ?
Thanks


Title: Re: How to know the algorithm is bitcoin algorithm or other algorithm from souce
Post by: dive on June 13, 2015, 04:31:39 AM
Look for the place in the code where new blocks are created:

https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp#L496-L518
https://github.com/bitcoin/bitcoin/blob/master/src/hash.h


Title: Re: How to know the algorithm is bitcoin algorithm or other algorithm from souce
Post by: supercanada1 on June 14, 2015, 07:11:38 PM
thanks


Title: Re: How to know the algorithm is bitcoin algorithm or other algorithm from souce
Post by: photon_coin on June 28, 2015, 02:57:02 AM
also look for things like this

https://github.com/photonproject/photon/blob/master/src/blake.c (https://github.com/photonproject/photon/blob/master/src/blake.c)


Title: Re: How to know the algorithm is bitcoin algorithm or other algorithm from souce
Post by: djm34 on June 28, 2015, 11:10:09 AM
also look for things like this

https://github.com/photonproject/photon/blob/master/src/blake.c (https://github.com/photonproject/photon/blob/master/src/blake.c)
won't necessarily tell you a lot, many are just cloning their wallets from another... with whatever there is in it