Bitcoin Forum
May 17, 2024, 01:21:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 »  All
  Print  
Author Topic: [ANN] [DSK] DarkCash | PoW/PoS | StackHash | I2P | TOR | Markets  (Read 15560 times)
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 07, 2015, 02:19:57 AM
Last edit: October 20, 2015, 07:47:18 AM by Artificially Intelligent
 #1

DarkCash
http://www.godark.cf/

Binaries | GitHub

Compiled Daemon  



Releasing 22nd October 2015 @ 00:00:00 GMT




Specifications :

Name: DarkCash
Ticker: DSK
RPC Port: 10085
P2P Port: 10058
Block Time: 30 Seconds
PoS Reward: 0.025 DSK
PoW Reward: 0.25 DSK to 5 DSK to 2.5 DSK
Signing Algorithm: NIST5


Bitcoininspace
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250


View Profile
October 07, 2015, 02:22:45 AM
 #2

Isn't the name way too familiar to ShadowCash and formerly known Darkcoin?

Also don't expect much trust with brand new accounts.
Sir_Astral
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
October 07, 2015, 02:29:52 AM
 #3

Countdown?
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 07, 2015, 02:32:04 AM
 #4

Countdown?

PRE-ANN, after suggestions - trial and error, then I can give a difinitive date
notsofast
Legendary
*
Offline Offline

Activity: 1517
Merit: 1042


@notsofast


View Profile WWW
October 07, 2015, 02:32:38 AM
Last edit: October 17, 2015, 07:27:43 PM by notsofast
 #5

This sounds like a decent experiment, and there's no ICO or premine going on.

If your windows wallet doesn't contain a RAT, trojan, or other malicious code, this could be pretty cool to mine. Just know that lately all the CPU-only mineable coins have been released for the purposes of getting infected wallets onto miners' machines with the intention of clearing out their stashes.

I will set up a VM and mine this. If anyone else decides to mine this, do so in a virtual machine or on a secure machine with no cryptocurrency wallets or browsers logged into exchanges on that machine.


I'll remove the above warning once the coin becomes a little less new and the dev's honourable intentions bear out.

PLEASE NOTE:

The dev appropriated my above quote as an "endorsement" without my knowledge or permission.

Based on that dishonest act I recommend you stay the hell away from this coin.

twitter.com/notsofast
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 07, 2015, 02:40:35 AM
 #6

This sounds like a decent experiment, and there's no ICO or premine going on.

If your windows wallet doesn't contain a RAT, trojan, or other malicious code, this could be pretty cool to mine. Just know that lately all the CPU-only mineable coins have been released for the purposes of getting infected wallets onto miners' machines with the intention of clearing out their stashes.

I will set up a VM and mine this. If anyone else decides to mine this, do so in a virtual machine or on a secure machine with no cryptocurrency wallets or browsers logged into exchanges on that machine.

I'll remove the above warning once the coin becomes a little less new and the dev's honourable intentions bear out.

That is a very good idea.
Wheatclove
Hero Member
*****
Offline Offline

Activity: 606
Merit: 500


View Profile
October 07, 2015, 03:20:54 AM
 #7

10 second block times? Would that not be a threat to network security?
wildduck
Legendary
*
Offline Offline

Activity: 966
Merit: 1001


View Profile
October 07, 2015, 08:53:14 AM
 #8

This project look very good, i want to mine this, i will listen to notsofast a set it up on vm.
lulla.by
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
October 07, 2015, 09:28:27 AM
 #9

ocminer/stoner19 will be happy to see a PoW coin hahaha Cheesy
fartbags
Legendary
*
Offline Offline

Activity: 1190
Merit: 1004


View Profile
October 07, 2015, 08:04:51 PM
 #10

10 second block times? Would that not be a threat to network security?



There will be problems with latency using a 10 second block time. Lot's of forks and orphans.



Bobekko
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
October 07, 2015, 11:38:31 PM
 #11

Looks interesting. Got a time-frame for the release of this bad mamma jamma?

Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 08, 2015, 02:14:31 AM
 #12

10 second block times? Would that not be a threat to network security?

Latency Issues

10 second block times? Would that not be a threat to network security?



There will be problems with latency using a 10 second block time. Lot's of forks and orphans.




Solutions:

1) We increase the block time to 27.5 Seconds (Safe In My Opinion)
2) We increase minimum difficulty?Huh (Experimentally Risky)

ocminer/stoner19 will be happy to see a PoW coin hahaha Cheesy

How is that so? So many coins are released in one day



notsofast, I will quote your Post on the OP



Looks interesting. Got a time-frame for the release of this bad mamma jamma?

This is severely bleeding edge so I can release the source code right now or later but not with a production network, so I need to know is it doable, so far our fork contains ShadowCoin/ShadowCash + FlutterCoin + DASH (Still Looking Into It) Code + StealthCash (Is it worth it?)
Sir_Astral
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
October 08, 2015, 03:41:31 PM
 #13

So CPU only?
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 08, 2015, 03:54:32 PM
 #14

So CPU only?

It is also GPU Compatible but it will not make sense as the GPU will work inefficiently compared to the CPU's

It's as good as - CPU - 12 H/s and GPU - 3 H/s
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 08, 2015, 04:59:51 PM
 #15

Thank you for your interest in DarkCash
chris190
Legendary
*
Offline Offline

Activity: 1059
Merit: 1000



View Profile
October 08, 2015, 09:57:19 PM
 #16

when it will be launched?  Wink

                  ▄▄
                 ████▄
                 ██████▄
                 ███ ▀███▄
         ▄████▄▄ ███   ▀███▄
       ▄████████████▄    ▀███▄
     ▄███▀ ███▀▀▀██████▄▄  ███
   ▄███▀  ███    ███ ▀▀███████
 ▄███▀    ███    ███     ▀███
████▄▄▄▄▄███▄▄▄▄  ▀  ▄▄▄▄███▄▄▄▄▄▄▄
█████████████████   █████████████████
  ▀▀▀▀▀▀▀███▀▀▀▀  ▄  ▀▀▀▀███▀▀▀▀▀████
        ███▄     ███    ███    ▄███▀
       ███████▄▄ ███    ███  ▄███▀
       ███  ▀▀██████▄▄▄███ ▄███▀
       ▀███▄    ▀████████████▀
         ▀███▄   ███ ▀▀████▀
           ▀███▄ ███
             ▀██████
               ▀████
                 ▀▀
4NEW
███
███  █
███  █  █
███  █  █
███  █  █
███  █  █
███  █  █
███  █  █
███  █  █
███  █
███
THE WORLD'S FIRST TANGIBLE WASTE TO ENERGY BLOCKCHAIN
✥     ANN Thread     ✥     Whitepaper     ✥     Facebook     ✥     Twitter     ✥     Telegram     ✥

        ███
    █  ███
█  █  ███
█  █  ███
█  █  ███
█  █  ███
█  █  ███
█  █  ███
█  █  ███
    █  ███
        ███

                                ███
                                ███
                                ███
                        ███  ███
                        ███  ███
                ███  ███  ███
                ███  ███  ███
        ███  ███  ███  ███
███  ███  ███  ███  ███
███  ███  ███  ███  ███
Bobekko
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
October 08, 2015, 11:41:49 PM
 #17

This wouldn't be the first DarkCash,

https://bitcointalk.org/index.php?topic=709322.0

Don't know if it makes a difference, it was quite a while ago.

Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 09, 2015, 01:24:42 AM
 #18

when it will be launched?  Wink

It's an experiment, after my satisfaction it is stable, I can tell
Artificially Intelligent (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
October 09, 2015, 02:38:03 AM
 #19

Code:
#ifndef STACKHASH_H
#define STACKHASH_H

#include "uint256.h"
#include "sph_blake.h"
#include "sph_bmw.h"
#include "sph_groestl.h"
#include "sph_jh.h"
#include "sph_keccak.h"
#include "sph_skein.h"
#include "sph_luffa.h"
#include "sph_cubehash.h"
#include "sph_shavite.h"
#include "sph_simd.h"
#include "sph_echo.h"
#include "sph_hamsi.h"
#include "sph_fugue.h"
#include "sph_shabal.h"
#include "sph_whirlpool.h"
#include "sph_sha2.h"

#ifndef QT_NO_DEBUG
#include <string>
#endif

#ifdef GLOBALDEFINED
#define GLOBAL
#else
#define GLOBAL extern
#endif

GLOBAL sph_blake512_context     z_blake;
GLOBAL sph_bmw512_context       z_bmw;
GLOBAL sph_groestl512_context   z_groestl;
GLOBAL sph_jh512_context        z_jh;
GLOBAL sph_keccak512_context    z_keccak;
GLOBAL sph_skein512_context     z_skein;
GLOBAL sph_luffa512_context     z_luffa;
GLOBAL sph_cubehash512_context  z_cubehash;
GLOBAL sph_shavite512_context   z_shavite;
GLOBAL sph_simd512_context      z_simd;
GLOBAL sph_echo512_context      z_echo;
GLOBAL sph_hamsi512_context     z_hamsi;
GLOBAL sph_fugue512_context     z_fugue;
GLOBAL sph_shabal512_context    z_shabal;
GLOBAL sph_whirlpool_context    z_whirlpool;
GLOBAL sph_sha512_context       z_sha2;

#define fillz() do { \
    sph_blake512_init(&z_blake); \
    sph_bmw512_init(&z_bmw); \
    sph_groestl512_init(&z_groestl); \
    sph_jh512_init(&z_jh); \
    sph_keccak512_init(&z_keccak); \
    sph_skein512_init(&z_skein); \
    sph_luffa512_init(&z_luffa); \
    sph_cubehash512_init(&z_cubehash); \
    sph_shavite512_init(&z_shavite); \
    sph_simd512_init(&z_simd); \
    sph_echo512_init(&z_echo); \
    sph_hamsi512_init(&z_hamsi); \
    sph_fugue512_init(&z_fugue); \
    sph_shabal512_init(&z_shabal); \
    sph_whirlpool_init(&z_whirlpool); \
    sph_sha512_init(&z_sha2); \
} while (0)


#define ZBLAKE (memcpy(&ctx_blake, &z_blake, sizeof(z_blake)))
#define ZBMW (memcpy(&ctx_bmw, &z_bmw, sizeof(z_bmw)))
#define ZGROESTL (memcpy(&ctx_groestl, &z_groestl, sizeof(z_groestl)))
#define ZJH (memcpy(&ctx_jh, &z_jh, sizeof(z_jh)))
#define ZKECCAK (memcpy(&ctx_keccak, &z_keccak, sizeof(z_keccak)))
#define ZSKEIN (memcpy(&ctx_skein, &z_skein, sizeof(z_skein)))
#define ZHAMSI (memcpy(&ctx_hamsi, &z_hamsi, sizeof(z_hamsi)))
#define ZFUGUE (memcpy(&ctx_fugue, &z_fugue, sizeof(z_fugue)))
#define ZSHABAL (memcpy(&ctx_shabal, &z_shabal, sizeof(z_shabal)))
#define ZWHIRLPOOL (memcpy(&ctx_whirlpool, &z_whirlpool, sizeof(z_whirlpool)))
#define ZSHA2 (memcpy(&ctx_sha2, &z_sha2, sizeof(z_sha2)))

template<typename T1>
inline uint256 Hash9(const T1 pbegin, const T1 pend)

{
    sph_blake512_context      ctx_blake;
    sph_bmw512_context        ctx_bmw;
    sph_groestl512_context    ctx_groestl;
    sph_jh512_context         ctx_jh;
    sph_keccak512_context     ctx_keccak;
    sph_skein512_context      ctx_skein;
    sph_luffa512_context      ctx_luffa;
    sph_cubehash512_context   ctx_cubehash;
    sph_shavite512_context    ctx_shavite;
    sph_simd512_context       ctx_simd;
    sph_echo512_context       ctx_echo;
    sph_hamsi512_context      ctx_hamsi;
    sph_fugue512_context      ctx_fugue;
    sph_shabal512_context     ctx_shabal;
    sph_whirlpool_context     ctx_whirlpool;
    sph_sha512_context        ctx_sha2;

static unsigned char pblank[1];

#ifndef QT_NO_DEBUG
    //std::string strhash;
    //strhash = "";
#endif
   
    uint512 hash[17];

    sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, (pbegin == pend ? pblank : static_cast<const void*>(&pbegin[0])), (pend - pbegin) * sizeof(pbegin[0]));
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[0]));
   
    sph_bmw512_init(&ctx_bmw);
    sph_bmw512 (&ctx_bmw, static_cast<const void*>(&hash[0]), 64);
    sph_bmw512_close(&ctx_bmw, static_cast<void*>(&hash[1]));

    sph_groestl512_init(&ctx_groestl);
    sph_groestl512 (&ctx_groestl, static_cast<const void*>(&hash[1]), 64);
    sph_groestl512_close(&ctx_groestl, static_cast<void*>(&hash[2]));

    if ((hash[2] & mask) != zero)
    {
        sph_keccak512_init(&ctx_keccak);
        sph_keccak512 (&ctx_keccak, static_cast<const void*>(&hash[2]), 64);
        sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[3]));
    }
    else
    {
sph_skein512_init(&ctx_skein);
sph_skein512 (&ctx_skein, static_cast<const void*>(&hash[2]), 64);
sph_skein512_close(&ctx_skein, static_cast<void*>(&hash[3]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[3]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[4]));

if ((hash[4] & mask) != zero)
    {
sph_jh512_init(&ctx_jh);
sph_jh512 (&ctx_jh, static_cast<const void*>(&hash[4]), 64);
sph_jh512_close(&ctx_jh, static_cast<void*>(&hash[5]));
    }
    else
    {
sph_cubehash512_init(&ctx_cubehash);
sph_cubehash512 (&ctx_cubehash, static_cast<const void*>(&hash[4]), 64);
sph_cubehash512_close(&ctx_cubehash, static_cast<void*>(&hash[5]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[5]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[6]));

if ((hash[6] & mask) != zero)
    {
sph_keccak512_init(&ctx_keccak);
sph_keccak512 (&ctx_keccak, static_cast<const void*>(&hash[6]), 64);
sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[7]));
    }
    else
    {
sph_cubehash512_init(&ctx_cubehash);
sph_cubehash512 (&ctx_cubehash, static_cast<const void*>(&hash[6]), 64);
sph_cubehash512_close(&ctx_cubehash, static_cast<void*>(&hash[7]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[7]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[8]));

if ((hash[8] & mask) != zero)
    {
sph_luffa512_init(&ctx_luffa);
sph_luffa512 (&ctx_luffa, static_cast<void*>(&hash[8]), 64);
sph_luffa512_close(&ctx_luffa, static_cast<void*>(&hash[9]));
    }
    else
    {
sph_simd512_init(&ctx_simd);
sph_simd512 (&ctx_simd, static_cast<const void*>(&hash[8]), 64);
sph_simd512_close(&ctx_simd, static_cast<void*>(&hash[9]));
    }

  sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[9]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[10]));

if ((hash[10] & mask) != zero)
    {
sph_echo512_init(&ctx_echo);
sph_echo512 (&ctx_echo, static_cast<const void*>(&hash[10]), 64);
sph_echo512_close(&ctx_echo, static_cast<void*>(&hash[11]));
    }
    else
    {
sph_hamsi512_init(&ctx_hamsi);
sph_hamsi512 (&ctx_hamsi, static_cast<const void*>(&hash[10]), 64);
sph_hamsi512_close(&ctx_hamsi, static_cast<void*>(&hash[11]));
    }

if ((hash[11] & mask) != zero)
    {
sph_fugue512_init(&ctx_fugue);
sph_fugue512 (&ctx_fugue, static_cast<const void*>(&hash[11]), 64);
sph_fugue512_close(&ctx_fugue, static_cast<void*>(&hash[12]));
    }
    else
    {
sph_whirlpool_init(&ctx_whirlpool);
sph_whirlpool (&ctx_whirlpool, static_cast<const void*>(&hash[11]), 64);
sph_whirlpool_close(&ctx_whirlpool, static_cast<void*>(&hash[12]));
    }

if ((hash[12] & mask) != zero)
    {
sph_sha512_init(&ctx_sha2);
sph_sha512 (&ctx_sha2, static_cast<const void*>(&hash[12]), 64);
sph_sha512_close(&ctx_sha2, static_cast<void*>(&hash[13]));
    }
    else
    {
sph_blake512_init(&ctx_blake);
sph_blake512 (&ctx_blake, static_cast<const void*>(&hash[11]), 64);
sph_blake512_close(&ctx_blake, static_cast<void*>(&hash[12]));
    }

    return hash[12].trim256();
}

#endif // STACKHASH_H

Current Hash Algorithm without RandMemoHash Implementation
YOLOMAN
Full Member
***
Offline Offline

Activity: 154
Merit: 104



View Profile
October 09, 2015, 12:04:23 PM
 #20

Code:
#ifndef STACKHASH_H
#define STACKHASH_H

#include "uint256.h"
#include "sph_blake.h"
#include "sph_bmw.h"
#include "sph_groestl.h"
#include "sph_jh.h"
#include "sph_keccak.h"
#include "sph_skein.h"
#include "sph_luffa.h"
#include "sph_cubehash.h"
#include "sph_shavite.h"
#include "sph_simd.h"
#include "sph_echo.h"
#include "sph_hamsi.h"
#include "sph_fugue.h"
#include "sph_shabal.h"
#include "sph_whirlpool.h"
#include "sph_sha2.h"

#ifndef QT_NO_DEBUG
#include <string>
#endif

#ifdef GLOBALDEFINED
#define GLOBAL
#else
#define GLOBAL extern
#endif

GLOBAL sph_blake512_context     z_blake;
GLOBAL sph_bmw512_context       z_bmw;
GLOBAL sph_groestl512_context   z_groestl;
GLOBAL sph_jh512_context        z_jh;
GLOBAL sph_keccak512_context    z_keccak;
GLOBAL sph_skein512_context     z_skein;
GLOBAL sph_luffa512_context     z_luffa;
GLOBAL sph_cubehash512_context  z_cubehash;
GLOBAL sph_shavite512_context   z_shavite;
GLOBAL sph_simd512_context      z_simd;
GLOBAL sph_echo512_context      z_echo;
GLOBAL sph_hamsi512_context     z_hamsi;
GLOBAL sph_fugue512_context     z_fugue;
GLOBAL sph_shabal512_context    z_shabal;
GLOBAL sph_whirlpool_context    z_whirlpool;
GLOBAL sph_sha512_context       z_sha2;

#define fillz() do { \
    sph_blake512_init(&z_blake); \
    sph_bmw512_init(&z_bmw); \
    sph_groestl512_init(&z_groestl); \
    sph_jh512_init(&z_jh); \
    sph_keccak512_init(&z_keccak); \
    sph_skein512_init(&z_skein); \
    sph_luffa512_init(&z_luffa); \
    sph_cubehash512_init(&z_cubehash); \
    sph_shavite512_init(&z_shavite); \
    sph_simd512_init(&z_simd); \
    sph_echo512_init(&z_echo); \
    sph_hamsi512_init(&z_hamsi); \
    sph_fugue512_init(&z_fugue); \
    sph_shabal512_init(&z_shabal); \
    sph_whirlpool_init(&z_whirlpool); \
    sph_sha512_init(&z_sha2); \
} while (0)


#define ZBLAKE (memcpy(&ctx_blake, &z_blake, sizeof(z_blake)))
#define ZBMW (memcpy(&ctx_bmw, &z_bmw, sizeof(z_bmw)))
#define ZGROESTL (memcpy(&ctx_groestl, &z_groestl, sizeof(z_groestl)))
#define ZJH (memcpy(&ctx_jh, &z_jh, sizeof(z_jh)))
#define ZKECCAK (memcpy(&ctx_keccak, &z_keccak, sizeof(z_keccak)))
#define ZSKEIN (memcpy(&ctx_skein, &z_skein, sizeof(z_skein)))
#define ZHAMSI (memcpy(&ctx_hamsi, &z_hamsi, sizeof(z_hamsi)))
#define ZFUGUE (memcpy(&ctx_fugue, &z_fugue, sizeof(z_fugue)))
#define ZSHABAL (memcpy(&ctx_shabal, &z_shabal, sizeof(z_shabal)))
#define ZWHIRLPOOL (memcpy(&ctx_whirlpool, &z_whirlpool, sizeof(z_whirlpool)))
#define ZSHA2 (memcpy(&ctx_sha2, &z_sha2, sizeof(z_sha2)))

template<typename T1>
inline uint256 Hash9(const T1 pbegin, const T1 pend)

{
    sph_blake512_context      ctx_blake;
    sph_bmw512_context        ctx_bmw;
    sph_groestl512_context    ctx_groestl;
    sph_jh512_context         ctx_jh;
    sph_keccak512_context     ctx_keccak;
    sph_skein512_context      ctx_skein;
    sph_luffa512_context      ctx_luffa;
    sph_cubehash512_context   ctx_cubehash;
    sph_shavite512_context    ctx_shavite;
    sph_simd512_context       ctx_simd;
    sph_echo512_context       ctx_echo;
    sph_hamsi512_context      ctx_hamsi;
    sph_fugue512_context      ctx_fugue;
    sph_shabal512_context     ctx_shabal;
    sph_whirlpool_context     ctx_whirlpool;
    sph_sha512_context        ctx_sha2;

static unsigned char pblank[1];

#ifndef QT_NO_DEBUG
    //std::string strhash;
    //strhash = "";
#endif
   
    uint512 hash[17];

    sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, (pbegin == pend ? pblank : static_cast<const void*>(&pbegin[0])), (pend - pbegin) * sizeof(pbegin[0]));
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[0]));
   
    sph_bmw512_init(&ctx_bmw);
    sph_bmw512 (&ctx_bmw, static_cast<const void*>(&hash[0]), 64);
    sph_bmw512_close(&ctx_bmw, static_cast<void*>(&hash[1]));

    sph_groestl512_init(&ctx_groestl);
    sph_groestl512 (&ctx_groestl, static_cast<const void*>(&hash[1]), 64);
    sph_groestl512_close(&ctx_groestl, static_cast<void*>(&hash[2]));

    if ((hash[2] & mask) != zero)
    {
        sph_keccak512_init(&ctx_keccak);
        sph_keccak512 (&ctx_keccak, static_cast<const void*>(&hash[2]), 64);
        sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[3]));
    }
    else
    {
sph_skein512_init(&ctx_skein);
sph_skein512 (&ctx_skein, static_cast<const void*>(&hash[2]), 64);
sph_skein512_close(&ctx_skein, static_cast<void*>(&hash[3]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[3]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[4]));

if ((hash[4] & mask) != zero)
    {
sph_jh512_init(&ctx_jh);
sph_jh512 (&ctx_jh, static_cast<const void*>(&hash[4]), 64);
sph_jh512_close(&ctx_jh, static_cast<void*>(&hash[5]));
    }
    else
    {
sph_cubehash512_init(&ctx_cubehash);
sph_cubehash512 (&ctx_cubehash, static_cast<const void*>(&hash[4]), 64);
sph_cubehash512_close(&ctx_cubehash, static_cast<void*>(&hash[5]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[5]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[6]));

if ((hash[6] & mask) != zero)
    {
sph_keccak512_init(&ctx_keccak);
sph_keccak512 (&ctx_keccak, static_cast<const void*>(&hash[6]), 64);
sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[7]));
    }
    else
    {
sph_cubehash512_init(&ctx_cubehash);
sph_cubehash512 (&ctx_cubehash, static_cast<const void*>(&hash[6]), 64);
sph_cubehash512_close(&ctx_cubehash, static_cast<void*>(&hash[7]));
    }

sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[7]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[8]));

if ((hash[8] & mask) != zero)
    {
sph_luffa512_init(&ctx_luffa);
sph_luffa512 (&ctx_luffa, static_cast<void*>(&hash[8]), 64);
sph_luffa512_close(&ctx_luffa, static_cast<void*>(&hash[9]));
    }
    else
    {
sph_simd512_init(&ctx_simd);
sph_simd512 (&ctx_simd, static_cast<const void*>(&hash[8]), 64);
sph_simd512_close(&ctx_simd, static_cast<void*>(&hash[9]));
    }

  sph_shabal512_init(&ctx_shabal);
    sph_shabal512 (&ctx_shabal, static_cast<const void*>(&hash[9]), 64);
    sph_shabal512_close(&ctx_shabal, static_cast<void*>(&hash[10]));

if ((hash[10] & mask) != zero)
    {
sph_echo512_init(&ctx_echo);
sph_echo512 (&ctx_echo, static_cast<const void*>(&hash[10]), 64);
sph_echo512_close(&ctx_echo, static_cast<void*>(&hash[11]));
    }
    else
    {
sph_hamsi512_init(&ctx_hamsi);
sph_hamsi512 (&ctx_hamsi, static_cast<const void*>(&hash[10]), 64);
sph_hamsi512_close(&ctx_hamsi, static_cast<void*>(&hash[11]));
    }

if ((hash[11] & mask) != zero)
    {
sph_fugue512_init(&ctx_fugue);
sph_fugue512 (&ctx_fugue, static_cast<const void*>(&hash[11]), 64);
sph_fugue512_close(&ctx_fugue, static_cast<void*>(&hash[12]));
    }
    else
    {
sph_whirlpool_init(&ctx_whirlpool);
sph_whirlpool (&ctx_whirlpool, static_cast<const void*>(&hash[11]), 64);
sph_whirlpool_close(&ctx_whirlpool, static_cast<void*>(&hash[12]));
    }

if ((hash[12] & mask) != zero)
    {
sph_sha512_init(&ctx_sha2);
sph_sha512 (&ctx_sha2, static_cast<const void*>(&hash[12]), 64);
sph_sha512_close(&ctx_sha2, static_cast<void*>(&hash[13]));
    }
    else
    {
sph_blake512_init(&ctx_blake);
sph_blake512 (&ctx_blake, static_cast<const void*>(&hash[11]), 64);
sph_blake512_close(&ctx_blake, static_cast<void*>(&hash[12]));
    }

    return hash[12].trim256();
}

#endif // STACKHASH_H

Current Hash Algorithm without RandMemoHash Implementation

Will you supply cpu and gpu miner on release?

Pages: [1] 2 3 4 5 6 7 8 9 »  All
  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!