cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
991 stars 6.11k forks source link

Hash function? #140

Open bortkiewicz opened 6 years ago

bortkiewicz commented 6 years ago

If I want to change the hash function, where is it?

Thanks!

bortkiewicz commented 6 years ago

Like what file is the hash function included in?

SoraKohaku commented 6 years ago

CryptonoteCore folder for core change~

On Jan 14, 2018 3:13 AM, "Darren Li" notifications@github.com wrote:

Like what file is the hash function included in?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/140#issuecomment-357454926, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tbcIVIdQjmb9NA9W5FSLHk2c5Jwjks5tKPJWgaJpZM4RdSED .

bortkiewicz commented 6 years ago

Erm... where?

SoraKohaku commented 6 years ago

mining.h or mining.cpp

On Jan 15, 2018 6:22 AM, "Darren Li" notifications@github.com wrote:

Erm... where?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/140#issuecomment-357543546, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tTZurclvLRBusBj8Fxay6wLPBX38ks5tKnAKgaJpZM4RdSED .

rainmanp7 commented 6 years ago

In the crypto folder location. The hash.h or if you look.. You might have a conglomerate if hash functions tied together. Look inside the src/crypto folder.. Every coin has different gashing functional events. To narrow down one type of hashing ? You must br specific in your question.

rainmanp7 commented 6 years ago

The hashing fuction is referring to many files.. main gash operations are coming from the scr/crypto and some from base58 Depends where people put the multiple hashing operations. 256bit? cryto_hash.h ? blake256.c ...your main hashing is done across .c files For speed. So in the src/crypto folder.. Those .c files.

SoraKohaku commented 6 years ago

that why. if prefer build algorithm self

On Feb 1, 2018 12:27 PM, "PHFirecoin" notifications@github.com wrote:

The hashing fuction is referring to many files.. main gash operations are coming from the scr/crypto and some from base58 Depends where people put the multiple hashing operations. 256bit? cryto_hash.h ? blake256.c ...your main hashing is done across .c files For speed. So in the src/crypto folder.. Those .c files.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/140#issuecomment-362147305, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51teSEZR81OmEKrQq9qU1JY5CeEePqks5tQS8VgaJpZM4RdSED .