Author

Topic: [ANN][Q2C] QubitCoin new secure hashing (CPU/GPU) (NEW) Update 0.8.4.1 - page 110. (Read 351556 times)

member
Activity: 119
Merit: 10
ill put this out to the forum and maybe someone knows a work around. I have 1 amd 6 core, 1 I7 and 1 Centrino. I tried the same command line on all 3 but it wont work on the intel chips, only works on the amd. it  just starts and crashes for the intel chips. the batch file is as follows:

minerd.exe -a qubit -o http://pool-us.qbit-chain.com:9372 -u xxxxxxxxxxxxxxxxxxxxxxx -p xxx
maybe someone can see something im missing.

What version of miner? What Windows do you have on these pcs?
hero member
Activity: 560
Merit: 504
I know the voices in my head aren't real.
ill put this out to the forum and maybe someone knows a work around. I have 1 amd 6 core, 1 I7 and 1 Centrino. I tried the same command line on all 3 but it wont work on the intel chips, only works on the amd. it  just starts and crashes for the intel chips. the batch file is as follows:

minerd.exe -a qubit -o http://pool-us.qbit-chain.com:9372 -u xxxxxxxxxxxxxxxxxxxxxxx -p xxx
maybe someone can see something im missing.
legendary
Activity: 1050
Merit: 1000
I couldn't get the cpu miner from page 1 to work on 2 of my computers so I have to use the wallet miner. is the wallet miner an effective miner? is it better or just as good as a command cpu miner?

what is the problem with ??  it should work for all cpus
member
Activity: 108
Merit: 10
Online Webstore of Bitcointalk Accounts and Merit
wallet miner isn't as good but i suppose there is no harm using it untill you get the cpu miner working... anyone know if pools were attacked i get none accepted all boos and very fast
hero member
Activity: 560
Merit: 504
I know the voices in my head aren't real.
I couldn't get the cpu miner from page 1 to work on 2 of my computers so I have to use the wallet miner. is the wallet miner an effective miner? is it better or just as good as a command cpu miner?
member
Activity: 108
Merit: 10
Online Webstore of Bitcointalk Accounts and Merit
why am i getting all boos again??
member
Activity: 119
Merit: 10
Hi,

I have optimized a little the ig0tik3d cpu miner. Not much, but I have obtained a 5% more khs/sec on my cpu (an old E6400, it was about 64kh/sec per thread and now it is about 67 kh/sec per thread).

It is a little modify, so I think that maybe it's better that ig0tik3d updates his github project, if he has time, instead than I fork it...

Anyway, this is the qubit.c file modified:

Code:
#include "cpuminer-config.h"
#include "miner.h"

#include
#include

#include "x5/luffa_for_sse2.h" //sse2 opt
//--ch h----
#include "x5/cubehash_sse2.h" //sse2
//----------
#include "x5/sph_shavite.h"
//#include "x5/low-mem/SHA3api_ref.h"
//-----simd vect128---------
#include "x5/vect128/nist.h"
//---echo ----------------
#include "x5/sph_echo.h"


/* Move init out of loop, so init once externally, and then use one single memcpy with that bigger memory block */
//-----(by elmad -> one struct for one copy, as the original miner)
typedef struct {
hashState luffa1;
cubehashParam cubehash1;
sph_shavite512_context  shavite1;
sph_echo512_context echo1;
hashState_sd simd1;
} qubithash_context_holder;

qubithash_context_holder base_contexts;

void init_qubithash_contexts()
{
  //-- luffa init --
  init_luffa(&base_contexts.luffa1,512);
  //--cubehash init--
  cubehashInit(&base_contexts.cubehash1,512,16,32);
  //---------------
  sph_shavite512_init(&base_contexts.shavite1);
   //-------------------------------
  sph_echo512_init(&base_contexts.echo1);
  //--simd init----
  Init(&base_contexts.simd1,512);
}

static void qubithash(void *state, const void *input)
{
qubithash_context_holder ctx;

uint32_t hashA[16], hashB[16];


        //(by elmad -> Again just one memcopy for loop, as the first QubitCoin miner
memcpy(&ctx, &base_contexts, sizeof(base_contexts));


//-------luffa sse2--------
        //----------(by elmad -> I fixed argument DataBitLength to 512, it was 640 in the ig0tik3d, maybe a typo? )
update_luffa(&ctx.luffa1,(const BitSequence *)input,512);
final_luffa(&ctx.luffa1,(BitSequence *)hashA);
    //---cubehash sse2---    
cubehashUpdate(&ctx.cubehash1,(const byte *)hashA,64);
cubehashDigest(&ctx.cubehash1,(byte *)hashB);
  //------shavite  ------
sph_shavite512 (&ctx.shavite1, hashB, 64);  
sph_shavite512_close(&ctx.shavite1, hashA);  
 //Hash_sh(512,(const BitSequence *)hashB,512,(BitSequence *)hashA);
//-------simd512 vect128 --------------
Update(&ctx.simd1,(const BitSequence *)hashA,512);
Final(&ctx.simd1,(BitSequence *)hashB);
//-----------------
sph_echo512 (&ctx.echo1, hashB, 64);  
    sph_echo512_close(&ctx.echo1, hashA);


memcpy(state, hashA, 32);

}

int scanhash_qubit(int thr_id, uint32_t *pdata, const uint32_t *ptarget,
uint32_t max_nonce, unsigned long *hashes_done)
{
uint32_t n = pdata[19] - 1;
const uint32_t first_nonce = pdata[19];
const uint32_t Htarg = ptarget[7];

uint32_t hash64[8] __attribute__((aligned(32)));
uint32_t endiandata[32];


int kk=0;
for (; kk < 32; kk++)
{
be32enc(&endiandata[kk], ((uint32_t*)pdata)[kk]);
};

if (ptarget[7]==0) {
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (((hash64[7]&0xFFFFFFFF)==0) &&
fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);
}
else if (ptarget[7]<=0xF)
{
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (((hash64[7]&0xFFFFFFF0)==0) &&
fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);
}
else if (ptarget[7]<=0xFF)
{
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (((hash64[7]&0xFFFFFF00)==0) &&
fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);
}
else if (ptarget[7]<=0xFFF)
{
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (((hash64[7]&0xFFFFF000)==0) &&
fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);

}
else if (ptarget[7]<=0xFFFF)
{
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (((hash64[7]&0xFFFF0000)==0) &&
fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);

}
else
{
do {
pdata[19] = ++n;
be32enc(&endiandata[19], n);
qubithash(hash64, &endiandata);
if (fulltest(hash64, ptarget)) {
*hashes_done = n - first_nonce + 1;
return true;
}
} while (n < max_nonce && !work_restart[thr_id].restart);
}


*hashes_done = n - first_nonce + 1;
pdata[19] = n;
return 0;
}


I mine just with that processor, so I have just 3500 Q2c... If you have an improvement, and if you like Cheesy, this is my Q2C address:

Q2C: GKSF2cqksVEAJEDhifPVrWkDtv9rvKrJZD
sr. member
Activity: 364
Merit: 250
Owner of Poloniex
I need to recompile the Q2C daemon for Poloniex, and I just can't get past this error:

net.cpp:1196:6: warning: character constant too long for its type [enabled by default]
net.cpp:1196:30: warning: character constant too long for its type [enabled by default]
net.cpp:1197:6: warning: character constant too long for its type [enabled by default]
net.cpp:1197:32: warning: character constant too long for its type [enabled by default]
net.cpp:1199:1: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
net.cpp:1199:1: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
net.cpp:1199:1: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
net.cpp:1199:1: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
make: *** [obj/net.o] Error 1

It looks like an actual error in the source, but that seems unlikely. Does anyone know what to do about this?
hero member
Activity: 560
Merit: 504
I know the voices in my head aren't real.
was block 89868 orphaned??? I see my transaction on the block chain but nothing has come into my wallet.


GTRAqh8ULcGFmBTSXSWjFC6RC3hLPoQSyx  54.57373

Yes, it was orphaned. I'll work on fixing block explorer to handle orphaned blocks correctly.
thank you for the reply Lest
member
Activity: 75
Merit: 10
was block 89868 orphaned??? I see my transaction on the block chain but nothing has come into my wallet.


GTRAqh8ULcGFmBTSXSWjFC6RC3hLPoQSyx  54.57373

Yes, it was orphaned. I'll work on fixing block explorer to handle orphaned blocks correctly.
hero member
Activity: 560
Merit: 504
I know the voices in my head aren't real.
was block 89868 orphaned??? I see my transaction on the block chain but nothing has come into my wallet.


GTRAqh8ULcGFmBTSXSWjFC6RC3hLPoQSyx  54.57373
legendary
Activity: 1050
Merit: 1000
Oh its stupid vote system) if who want https://www.torproject.org/ - I give bounty 5k q2c who vote 5000 with tor browser)))

how about 6000 Cheesy

give me a min working on it ^.^

I think the LemonCoin-guys where just a bit faster Wink
]

agree they using bot ....


they need fast exhcange for fast dump
newbie
Activity: 34
Merit: 0
Oh its stupid vote system) if who want https://www.torproject.org/ - I give bounty 5k q2c who vote 5000 with tor browser)))

how about 6000 Cheesy

give me a min working on it ^.^

I think the LemonCoin-guys where just a bit faster Wink
newbie
Activity: 56
Merit: 0
just voting 6 times..and i will vote 6 times / hour from now

If i vote a lot via proxies, can i get a bounty too ?

Qbit: GYWj3BAVVyknZdPqN6g8ihdqeSUBT8HQUp

do not take me seriously! I'm just explaining how to chiter the poll of such systems!!! Stupid system...

Just be with us!
full member
Activity: 182
Merit: 100
just voting 6 times..and i will vote 6 times / hour from now

If i vote a lot via proxies, can i get a bounty too ?



Qbit: GYWj3BAVVyknZdPqN6g8ihdqeSUBT8HQUp
newbie
Activity: 56
Merit: 0
Oh its stupid vote system) if who want https://www.torproject.org/ - I give bounty 5k q2c who vote 5000 with tor browser)))

how about 6000 Cheesy

give me a min working on it ^.^

easily)
member
Activity: 98
Merit: 10
Below is a list of coins that we're considering adding, ordered by the most voted. Please vote for your chosen coin below, unregistered users are allowed up to 3 votes per hour, whilst registered users are allowed 6 votes per hour.


https://www.mintpal.com/voting



i got account there since i use that exchange for karma ... just added 6 votes for q2c ...



I also put up some votes for Q2C
legendary
Activity: 1050
Merit: 1000
Oh its stupid vote system) if who want https://www.torproject.org/ - I give bounty 5k q2c who vote 5000 with tor browser)))

how about 6000 Cheesy

give me a min working on it ^.^
newbie
Activity: 56
Merit: 0
Oh its stupid vote system) if who want https://www.torproject.org/ - I give bounty 5k q2c who vote 5000 with tor browser)))
legendary
Activity: 1050
Merit: 1000
Below is a list of coins that we're considering adding, ordered by the most voted. Please vote for your chosen coin below, unregistered users are allowed up to 3 votes per hour, whilst registered users are allowed 6 votes per hour.


https://www.mintpal.com/voting



i got account there since i use that exchange for karma ... just added 6 votes for q2c ...

Jump to: