Bitcoin Forum
May 24, 2024, 12:53:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 19, 2013, 08:18:45 AM
Quote
I could be wrong, but I'm not convinced this change will make any significant difference. The primorial of 7 is the same as that of 9, since 8 and 9 aren't primes.
No this is not what primorial means.  

primorial(1) = 2
primorial(2) = 2 * 3
primorial(3) = 2 * 3 * 5
and so forth.
primorial(7) = 2 * 3 * 5 * 7 * 11 * 13 * 17 = 510510
primorial(9) = 2 * 3 * 5 * 7 * 11 * 13 * 17 * 19 * 23 = 223092870



Notice the list of divisors this produces when using p#9 * some random price
> bc
print 223092870 * 498497689
111211280127377430

http://www.wolframalpha.com/input/?i=factor+%28111211280127377430%29



Honestly I can't say I really understand what the code is doing here, but based on some the comments from Kooooooj and running through gprof, Weave is sucking up all the time -- so I was trying to push some of the work out of there and into the caller function.  I am 100% speculating also that the increases in difficulty may make the primorial a little more important. But anyway, mostly just hacking.


oh well, off to bed.

Sorry, I was thinking of this definition, where the primorial of a number is defined as the product of all primes ≤ n.

It seems to be implemented this way in prime.cpp, as the Primorial function stops at the first prime greater than the given number:

Code:
void Primorial(unsigned int p, mpz_class& mpzPrimorial)
{
    mpzPrimorial = 1;
    BOOST_FOREACH(unsigned int nPrime, vPrimes)
    {
        if (nPrime > p) break;
        mpzPrimorial *= nPrime;
    }
}
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 19, 2013, 07:20:29 AM
2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

I could be wrong, but I'm not convinced this change will make any significant difference. The primorial of 7 is the same as that of 9, since 8 and 9 aren't primes.
3  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Record Books on: July 10, 2013, 08:49:28 AM
Has it been confirmed that these are valid prime chains? If I'm not mistaken (please correct me if I am), primecoin only checks for probable primality.
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 09, 2013, 02:27:51 PM
could you please post the codelines you've changed?

cheers!

My lines are gonna be off since I also removed the printf statements that were inside the loops. The debug file isn't important to me anymore so eh.
But here ya go, no changes to the algorithm itself yet, my knowledge of math isn't in this area.
...

If you're changing the max sieve size, I think you can also change the vector sizes on lines 102-104.
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 09, 2013, 04:57:11 AM
Typing 'primespersec' in the console returns 'Method not found (code -32601)'. Anyone else getting this?

However, 'getmininginfo' shows:

{
"blocks" : 3449,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : 2,
"primespersec" : 76,
"pooledtx" : 0,
"testnet" : false
}

The CPU certainly sounds like it's mining! Though no blocks found over night  Sad

Try 'getprimespersec'  Wink
6  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 08, 2013, 10:30:53 AM
Anyone compiled an OS X version yet (or got it running on OS X)?

I had no trouble building it with Qt Creator on OS X. Compiling primecoind with the OS X makefile works too.
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 08, 2013, 04:42:50 AM
Well whatdayaknow, I got my first mined block just now, hah.


Hey guys, I got notification from the icon saying I got one block. But I couldn't find it in "transaction" or the "unconfirmed" amount.

What is the problem? Orphan?
Yeah, if nothing's in your transaction list, it's an orphan. Bad luck.

You could type "listtransactions" in the debug console just to be sure.
8  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin Logo Vote - Moderated on: July 03, 2013, 01:26:01 AM
Skull 88: 85 (I love the idea, but agree that the 'D' could be improved)
Dead Sea 33: 80
Marticps: 70
Tosku: 60
Mjbmonetarymetals: 50
9  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: May 29, 2013, 01:15:04 PM
Is it my imagination or is void_s_life Ender's Game with names changed and paraphrased. Void is Ender. Jewels is Valentine. Dan is Peter. Flob's are the Buggers. Space Fleet are the Astronaughts. The device is the monitor. Stailson is Stilson. How does devtome protect against this sort of thing generally?
bump can someone check this please? i have not read ender's game so I do not know

Yeah, it definitely looks like it has been copied from Ender's Game. It's essentially a shortened and paraphrased version of the first two chapters.
10  Alternate cryptocurrencies / Altcoin Discussion / Re: Compiling Mac Clients for ANY Alt Coin, Your Choice! on: May 15, 2013, 04:32:09 AM
Another tip: the locate command can be very helpful when your client doesn't find all the dependencies.

Oh PLEASE! I would LOVE an iXCoin and Devcoin QT for Mac!! Even better, tell me your secrets so I can make my own? The only other one I care about would be MinCoin, can you make one for MinCoin too?

OH PLEASE PLEASE PLEASE Cheesy Cheesy

Have you tried this Devcoin client?
11  Alternate cryptocurrencies / Altcoin Discussion / Re: Junkcoin/Litecoin Exchange! Google Spreadsheet! on: May 06, 2013, 06:38:30 AM
Success trade with grc 1k!Good trading!

Thanks for the very fast response and trade! Successfully traded 1000 JKC for 5 LTC.
12  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: May 05, 2013, 03:20:58 AM
It picks a random lbock number at which to go get next set of receiver files, I think it would have been round 19 it would have already got before reaching block  76000, then sometime before block 8000 it would try to get round 20. Possibly block 76221 is the random block number at which it decided to do that.

Is the receivers list number 20 in the receiver subdirectory of the data directory?

Extra copies of receiver files lying around elsewhere it likely will not even be seeing, unless by change they happen to be in the directrory that was the program's "current working directory" when it was run. (In which case it should have copied them to the receiver directory of the data directory).

I guess with all the flavours of coins though there is always the weird times when people seem to end up deleting the blockchain and re-getting it from scratch. Hate to blindly try that without knowing the actual problem though.

Is there any clue in the debug.log file that is in the data directrory?

Does it write something to console maybe about files it got being identical or not?

Does it actually have connections? It is not some old version is it?

-MarkM-

Thanks for the help.

Devcoin didn't ever create a receiver directory in ~/Library/Application Support/Devcoin, although it did create an empty receiver directory in ~/Library/ApplicationSupport/Devcoin (missing a space). Is there any chance that devcoin can't handle spaces in the path to the receiver files?

I noticed lots of these messages towards the beginning of the log, but none have come up recently:

Code:
The file /Users/grc/Library/Application Support/Devcoin/receiver/receiver_19.csv can not be written to.
Warning, no coin lists were found for the file: receiver.csv

Is there meant to be a receiver.csv file? There are also thousands of 'got inventory: block _ have' messages in the log.

I have about 8 connections at the moment. The client looks old, but I haven't been able to find any newer devcoin clients. I think I got it here.

I'm happy to just download the blockchain again as long as I won't lose my address. Which files should I delete?
13  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: May 04, 2013, 01:23:40 PM
Does anyone know where the receiver files are meant to go on mac os x?

No, but, in general if you locate yourself (change directrory to; use the cd command) where they are, it will pick them up and put them where it actually wants them.

So basically if you compiled from a taraball it should have come with a bunch of them, in the main dir of the tarball. Both tarballs contain enough receiver files to get you started, so if you fire up the program while sitting right there it should pick them up and put them wherever it likes to put its datadir on your type of system, in a subdir named receiver of the data dir.

You could also try searching for wallet.dat, as where it ends up putting them should be in subdir named receiver of the dir where the wallet.dat is kept.

(If you have many coin types on your system, you'll need to guess which one is the devcoin one, hopefully the directory will have "devcoin" somewhere in its name to help you figure that part out.)

If mac os X is as similar to Linux as I have sometimes heard, then try looking for ~/.devcoin (a directory named .devcoin in the home directory of the user who runs devcoin.) The receiver files go in a subdirectoty named receiver inside that directory.

-MarkM-


Thanks for the response.

I have copies of the receiver files in several of those places, so I'm starting to think that that isn't the problem. The client is stuck at block 76221, which was mined well before I got devcoin, and I have only ever used it to get an address. I downloaded devcoin-qt from one of the links on devtome and built it with qt creator. This has worked fine for other altcoin clients, so I'm not really sure what I've done wrong.
14  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: May 04, 2013, 12:00:44 PM
Does anyone know where the receiver files are meant to go on mac os x?
15  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: April 25, 2013, 12:56:31 PM
Another button design to add to the mix:



Larger version
16  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] The JokeCoin Project: Not-So-Serious Altchains Galore on: April 19, 2013, 12:46:33 AM
Can we preorder BFLCoins?
17  Alternate cryptocurrencies / Altcoin Discussion / Re: Devcoin on: April 17, 2013, 11:51:31 PM
Also, I have a couple of questions about how to earn devcoins by writing. Where should I put my DVC address? The payments are automatic or I have to say someone to make the transfer? I know they last a little. Can someone help me here?
Also, I've put the link on my signature.

You need to create a user page as explained here.

Is this the definitive logo? It is only a proposal? A contest? Can we propose other logos? I like this one but I also wanna take part in this party, so my ideas are (based a little on yours):

Nice logos! My logo is just one idea; you can see the other logos and banners here. There was a bounty being offered for the next _ people to make one. I think it's still going, but I'm not entirely sure.
18  Alternate cryptocurrencies / Altcoin Discussion / Re: is btc-e down for anyone else? on: April 17, 2013, 06:31:17 AM
Turns out it was maintenance. They edited their message since google last cached it.
19  Alternate cryptocurrencies / Altcoin Discussion / Re: is btc-e down for anyone else? on: April 17, 2013, 06:30:25 AM
Back up now  Cheesy
20  Alternate cryptocurrencies / Altcoin Discussion / Re: is btc-e down for anyone else? on: April 17, 2013, 05:51:46 AM
There was an announcement near the top of their page all day today saying they will have scheduled maintenance... that might be why the site is down.

According to google the announcement said:

Quote
Dear Customers. 04/16/2013 we close our BTC-E site for Maintenance from 7-00 to 8-00 MSK. With regards, support BTC-E.
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!