Bitcoin Forum
May 27, 2024, 09:10:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Part of code of sha256 or scrypt  (Read 377 times)
Terminator3018 (OP)
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile
March 13, 2014, 11:11:55 PM
 #1

Hi,
I'm wondering , how do someone understand from a source code if there is a sha256 or scrypt algorithm used?
I mean , for example , if I give you the tigercoin source code and dogecoin source code , how can you tell that one is sha256 and the other one is scrypt?From which row of code?
Thank you in advance
Regards
John
Warning__3
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 13, 2014, 11:21:02 PM
 #2

Well, easiest is to look through the main header file and see if you find this:



Otherwise, it's most likely sha-256 or some other algo Tongue

ballot
Hero Member
*****
Offline Offline

Activity: 969
Merit: 1000



View Profile
March 13, 2014, 11:24:50 PM
 #3

https://github.com/dogecoin/dogecoin/blob/6e5881a000e5b926b93143c70cd2fb00239d78f8/src/main.cpp

4646 & 4703 lines
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!