menu

Algorithm

X11 is the name of a chained hashing algorithm, which is used for the ‘Proof of Work’ calculations which secure the network of some cryptocurrencies. It is known as a chained algorithm because it uses 11 different algorithms which are chained together. These are: blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, and echo. The first coin to use it was Darkcoin, which has since rebranded itself as ‘Dashcoin’. hashingblock.c.


uint512 hash[17];
    sph_blake512_init(&ctx;_blake);
    sph_blake512 (&ctx;_blake, (pbegin == pend ? pblank : static_cast(&pbegin;[0])), (pend - pbegin) * sizeof(pbegin[0]));
    sph_blake512_close(&ctx;_blake, static_cast(&hash;[0]));
    sph_bmw512_init(&ctx;_bmw);
    sph_bmw512 (&ctx;_bmw, static_cast(&hash;[0]), 64);
    sph_bmw512_close(&ctx;_bmw, static_cast(&hash;[1]));
    sph_groestl512_init(&ctx;_groestl);
    sph_groestl512 (&ctx;_groestl, static_cast(&hash;[1]), 64);
    sph_groestl512_close(&ctx;_groestl, static_cast(&hash;[2]));
    sph_skein512_init(&ctx;_skein);
    sph_skein512 (&ctx;_skein, static_cast(&hash;[2]), 64);
    sph_skein512_close(&ctx;_skein, static_cast(&hash;[3]));
    sph_jh512_init(&ctx;_jh);
    sph_jh512 (&ctx;_jh, static_cast(&hash;[3]), 64);
    sph_jh512_close(&ctx;_jh, static_cast(&hash;[4]));
    sph_keccak512_init(&ctx;_keccak);
    sph_keccak512 (&ctx;_keccak, static_cast(&hash;[4]), 64);
    sph_keccak512_close(&ctx;_keccak, static_cast(&hash;[5]));
    sph_luffa512_init(&ctx;_luffa);
    sph_luffa512 (&ctx;_luffa, static_cast(&hash;[5]), 64);
    sph_luffa512_close(&ctx;_luffa, static_cast(&hash;[6]));
    sph_cubehash512_init(&ctx;_cubehash);
    sph_cubehash512 (&ctx;_cubehash, static_cast(&hash;[6]), 64);
    sph_cubehash512_close(&ctx;_cubehash, static_cast(&hash;[7]));
    sph_shavite512_init(&ctx;_shavite);
    sph_shavite512(&ctx;_shavite, static_cast(&hash;[7]), 64);
    sph_shavite512_close(&ctx;_shavite, static_cast(&hash;[8]));
    sph_simd512_init(&ctx;_simd);
    sph_simd512 (&ctx;_simd, static_cast(&hash;[8]), 64);
    sph_simd512_close(&ctx;_simd, static_cast(&hash;[9]));
    sph_echo512_init(&ctx;_echo);
    sph_echo512 (&ctx;_echo, static_cast(&hash;[9]), 64);
    sph_echo512_close(&ctx;_echo, static_cast(&hash;[10]));
    return hash[10].trim256();        

Pros and Cons

Pros

Effectiveness: The X11 Algorithm gives amazingly fast hashes for both GPU’s and CPU’s. It also keeps GPU’s over 30% cooler making your expensive graphic cards less prone to overheating. The reason? Graphic cards don’t require as much processing power in order to mine the coins with this algorithm

Security: The algorithm uses eleven hashing functions from the Blake algorithm to the Keccak algorithm making it very secure which really is needed for coins that do so well for CPU’s.

Intention: Why was the X11 Algorithm is great? It’s what Satoshi Nakamoto intended Bitcoin to be. It decentralizes hashing power by making it easy to mine through affordable hardware which is what Satoshi Nakamoto originally wanted. (Increases people’s faith in the algorithm and helps build hype).

Cons

ASIC: Despite its best efforts, x11 has been broken and now has an ASIC. One of the main reasons why people enjoyed x11 Blockchains was because it was CPU & GPU only. With an ASIC miner available we do not see to many x11 Blockchains around anymore. However this is still a great Blockchain and can have many uses.

(Lack of) Network Effect: The X11 algorithm may sound like a miner’s dream come true; however, newcomers to mining will be ill equipped to fully appreciate any of the aforementioned pros.

Botnet Attacks: The algorithm has not seen any botnet attacks of significant magnitude, but it is a concern. CPU’s mine at hashrates of GPU’s on SCRYPT that makes it susceptible to botnet attacks.

Source

Conclusion

CryptoCoderz liked this algorithm because of its ability to provide a fair game to as many people as possible by increasing the effectiveness of mining with either a CPU or GPU. This algorithm is very useful with projects outside of cryptocurrency and likewise should still be considered in any project. However for most project this algorithm is not beneficial due mainly to the ASIC miner.

CPU Mining Guide

        Coming Soon!!!
        
GPU Mining Guide

          Coming Soon!!!