Bitcoin Forum
July 16, 2024, 10:49:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to know the algorithm is bitcoin algorithm or other algorithm from souce  (Read 805 times)
supercanada1 (OP)
Sr. Member
****
Offline Offline

Activity: 798
Merit: 253


View Profile
June 12, 2015, 05:06:45 PM
 #1

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
dive
Full Member
***
Offline Offline

Activity: 194
Merit: 180


View Profile
June 13, 2015, 04:31:39 AM
 #2

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
supercanada1 (OP)
Sr. Member
****
Offline Offline

Activity: 798
Merit: 253


View Profile
June 14, 2015, 07:11:38 PM
 #3

thanks
photon_coin
Sr. Member
****
Offline Offline

Activity: 310
Merit: 256


Photon --- The First Child Of Blake Coin --Merged


View Profile WWW
June 28, 2015, 02:57:02 AM
 #4

also look for things like this

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

djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 28, 2015, 11:10:09 AM
 #5

won't necessarily tell you a lot, many are just cloning their wallets from another... with whatever there is in it

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!