if both X11 and DeepCoin algos are the same, then what's the new about DeepCoin algo.?
Or am I missing something here?
The original question referenced some of the algos in the mix:
@Dev
Luffa512, CubeHash512 and Echo512
are those algos the same with the Luffa , CubeHash and Echo of X11 algo?
And indeed they are. I should have mentioned in my earlier response that they do in fact come in 256 output format as well as 512. There is a general sense that Echo means the standard 256-output format, whereas if you mean to reference the 512-output format, you should do so explicitly, i.e. Echo512. The OP's question is very valid.
However, you are asking a different question: if they're the same hashfns, does that mean x11 and Deepcoin algos are the same?
No, they are not the same. But both algos use chains of hash functions and they share some of the links, specifically the three NIST candidates Luffa, CubeHash and Echo. (Algorithm is a general term and is confusingly correct for both X11-the-chain and Luffa-the-hash-function.)
For chained-hash coins, the action usually takes place in src/hashblock.h, the header file that defines which hashfns will make up the chain and their batting order.
The algorithm basically runs: given a hash “256h” that you want to check, call Luffa512(256h), the result becomes a new “512h” hash, then call CubeHash512(512h), the result becomes the new “512h”, then call Echo512(512h) and finally the result gets chopped back to 256 and returned.
Blur the details a bit and you get
256_hash_result = trimto256(Echo512(CubeHash512(Luffa512(256_hash_to_check))))Extend the chain by a couple more hash functions (Fugue, Keccak, etc.) and you're in qubit and NIST5 territory, interweave them randomly but reproducibly and you're off into Quarkland; continue extending and you'll eventually reach chaincoin/x11 (same eleven hashfns, different order for two of 'em), x12, 13, 14, 15 and 17 <- the latter all pretty much just “moar hashfns”.
This time, it's hashblock.h under the lens:
Darkcoin:
https://github.com/darkcoinproject/darkcoin/raw/master/src/hashblock.hDeepcoin:
https://github.com/Deepcoinbiz/Deepcoin/raw/master-0.8/src/hashblock.hDespite a slight difference in coding style it's clear they are related but by no means the same.
There's an interesting-to-me sidenote at the changepoint “62c36”: Deepcoin's chain function is appropriately labelled “Hash5” whereas Darkcoin's chain function is labelled “Hash9” (not 11), apparently a fossilised remnant of Mr. Duffield's design process. Other coin devs appear to have honoured this, at least X15Coin has https://github.com/X15COIN/X15Coin/blob/master/src/hashblock.h#L78Personally, I'm very cautious of statements about the improbability of ASICs for NIST candidates, whichever round ...
(From
http://rijndael.ece.vt.edu/sha3/ -
note, the free giveaway of SHA-3 ASICs has finished.)
I recommend a visit to
Graz Technical University's SHA-3 Zoo where you check up on things like
http://ehash.iaik.tugraz.at/wiki/SHA-3_Hardware_ImplementationsCheers
Graham