Author

Topic: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency - page 138. (Read 688812 times)

sr. member
Activity: 350
Merit: 250
full member
Activity: 140
Merit: 100
And if shinkicker's still awake he may provide a compiled windows client :-)

Just about Smiley

When Sunny commits his code to the repo, I will build another (if I am still awake).

Or you could pastebin your file and we could try that? Is this prime or main.cpp?
full member
Activity: 244
Merit: 101
Another update from Sunny King is upcoming - not only will it bail out after max. 3 secs, it will also bail out if a new block has arrived in the meantime.
-> https://bitcointalksearch.org/topic/m.2702001

And if shinkicker's still awake he may provide a compiled windows client :-)

LoL!  am I a shinkicker?   I like kicker of balls and shins together!!! 

did he release a linux update though.. that doesn't involve need to add code to it?
member
Activity: 70
Merit: 10
Another update from Sunny King is upcoming - not only will it bail out after max. 3 secs, it will also bail out if a new block has arrived in the meantime.
-> https://bitcointalksearch.org/topic/m.2702001

And if shinkicker's still awake he may provide a compiled windows client :-)

Awesome, thanks Mike270 & shinkicker ! Tips to you both Smiley
full member
Activity: 158
Merit: 100
Another update from Sunny King is upcoming - not only will it bail out after max. 3 secs, it will also bail out if a new block has arrived in the meantime.
-> https://bitcointalksearch.org/topic/m.2702001

And if shinkicker's still awake he may provide a compiled windows client :-)
full member
Activity: 238
Merit: 100

Has anyone successfully compiled on Windows with UPNP?  I notice my new optimized binary is much faster, but it seems so have a much worse network connection (and the binary is much smaller).
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
Hi gatra,

with those few blocks/day and primes/s being quite imprecise...
I left optimizations in when they didn't appear to cause an immediately visible (~10min) deterioration in primes/s.


Hi

I didn't try it for primecoin, but for other coin I used this: https://github.com/freewil/bitcoin-testnet-box
It's just a script that allows you to run 2 instances against each other, so it works like a small network of 2 nodes. If you run the optimized against the standard wallet and have them mine for some time, the faster one should have mined more blocks.

Also, using ints for the bool arrays adds only a couple of fast instructions: for example instead of doing vfCompositeBiTwin[nVariableMultiplier] = true;
you would do
vfCompositeBiTwin[nVariableMultiplier >> 5] |= 1 << (nVariableMultiplier & 0x1f )

for testing it's    if( vfCompositeBiTwin[nVariableMultiplier >> 5] & (1 << (nVariableMultiplier & 0x1f )))
full member
Activity: 244
Merit: 101
full member
Activity: 158
Merit: 100
One question...

I'm running the same wallet in two computers (in different places) and I just find a block... how can I know which computer has mined this block... I mean... the wallet I can see at the moment mark the block as mined, but I figured that the other wallet (in other place) will mark the same... so... How can I know which computer have found the block?


Look out for
proof-of-work found
in debug.log
sr. member
Activity: 476
Merit: 250
legendary
Activity: 1246
Merit: 1011
One question...

I'm running the same wallet in two computers (in different places) and I just find a block... how can I know which computer has mined this block... I mean... the wallet I can see at the moment mark the block as mined, but I figured that the other wallet (in other place) will mark the same... so... How can I know which computer have found the block?

sr. member
Activity: 476
Merit: 250
What do you think that asterisk is doing?
Looking for Obelisk? :-)
My guess is that it was the avatar of an imp which just strolled in to have some fun.
full member
Activity: 158
Merit: 100
What do you think that asterisk is doing?
Looking for Obelisk? :-)
sr. member
Activity: 476
Merit: 250
compile error.  Where am I noobing it...?

Code:

unsigned int nBiTwinSeq = 0;

for (; nBiTwinSeq < * nChainLength; nBiTwinSeq++)
{

....

Code:
prime.cpp: In member function 'bool CSieveOfEratosthenes::Weave()':
prime.cpp:532:27: error: invalid type argument of unary '*' (have 'unsigned int')


??
What do you think that asterisk is doing?

-- edit
I assume that "never mind" means you saw it after taking a short break.   Smiley
full member
Activity: 238
Merit: 100
For the two for loop, i get that

[...]

i'm not sure of myself on this one
Should do, but comment out
if (nBiTwinSeq < nChainLength)
in the first for loop, as that was the idea of splitting the loop (don't need to check there as that loop only runs up to nChainLength).
And add
unsigned int nBiTwinSeq = 0;
before the first loop
Rest looks ok (testing something else right now so my code already looks different.... yeah I know, no versioning, but hey... I'm doing this for fun :-) )



compile error.  Where am I noobing it...?


Code:

unsigned int nBiTwinSeq = 0;

for (; nBiTwinSeq < * nChainLength; nBiTwinSeq++)
{

....

Code:
prime.cpp: In member function 'bool CSieveOfEratosthenes::Weave()':
prime.cpp:532:27: error: invalid type argument of unary '*' (have 'unsigned int')


??  EDIT- never mind.  Someone virtual punch me in the face....
full member
Activity: 158
Merit: 100
For the two for loop, i get that

[...]

i'm not sure of myself on this one
Should do, but comment out
if (nBiTwinSeq < nChainLength)
in the first for loop, as that was the idea of splitting the loop (don't need to check there as that loop only runs up to nChainLength).
And add
unsigned int nBiTwinSeq = 0;
before the first loop
Rest looks ok (testing something else right now so my code already looks different.... yeah I know, no versioning, but hey... I'm doing this for fun :-) )
sr. member
Activity: 287
Merit: 250
I'm starting to get a little cheesed off.  Where the heck is the dev on this one?  Any chance of getting an optimized client so (regular) people can actually use this?

+1

It wasn't that hard to optimize it by hand.

Give C++ a try. It'll do you a lot more good than just making a quick speculative buck in the long run.
full member
Activity: 182
Merit: 100
I'm starting to get a little cheesed off.  Where the heck is the dev on this one?  Any chance of getting an optimized client so (regular) people can actually use this?

+1
full member
Activity: 141
Merit: 100
I'm starting to get a little cheesed off.  Where the heck is the dev on this one?  Any chance of getting an optimized client so (regular) people can actually use this?
Jump to: