Bitcoin Forum
June 18, 2025, 10:11:43 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 [164] 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 »
  Print  
Author Topic: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency  (Read 689143 times)
Trillium
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500



View Profile
November 02, 2013, 01:12:48 PM
 #3261

Hi, I'm having trouble syncing my wallet now...
I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.

Did you have the built-in miner running at the same time? AFAIK, those crashes occur randomly when mining. Also, some of your database files may be corrupt now because of the crash.

29 miners running here and never seen that error? Maybe I'm lucky.

BTC:1AaaAAAAaAAE2L1PXM1x9VDNqvcrfa9He6
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 02, 2013, 01:28:42 PM
 #3262

Hi, I'm having trouble syncing my wallet now...
I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.

Did you have the built-in miner running at the same time? AFAIK, those crashes occur randomly when mining. Also, some of your database files may be corrupt now because of the crash.

I used to...I now have an unconfirmed transaction there, stuck it seems.



It's been like that since yesterday. I erased all the files except for the wallet.dat but still get the same thing. Should I re download the wallet? Use a different folder, or what?

Thanks.
IlyaVak
Member
**
Offline Offline

Activity: 195
Merit: 29


View Profile WWW
November 02, 2013, 09:07:13 PM
 #3263

What is best miner for solo mining XPM?  Huh

★  ALTCOINLOG  ★  Oбзopы  ★  Кaк нacтpoить мaйнинг? Инcтpyкция!  ★
TWITTER   ▬  FACEBOOK   ▬  VKONTAKTE   ▬  OK   ▬  INSTAGRAM
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 03, 2013, 12:54:42 AM
 #3264

What is best miner for solo mining XPM?  Huh

Easy, the High Performance HP11 (or whatever version's the latest at any given time).
Search for it here, it's made by mikaelh, one of the developers.
liquiddrool
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
November 03, 2013, 02:04:05 AM
 #3265

What is best miner for solo mining XPM?  Huh

hp11 search this forum for it

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
https://bitcointalk.org/index.php?topic=623937
Bwincoin - 100% Free POS. B5Yw8kpu6ZUT6HEj6aMxrpkXtCmmNJWwb4
coin@coin
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000



View Profile
November 03, 2013, 04:52:11 AM
 #3266

Is there an HP12 being worked on at the moment? Seems like so long ago HP11 came out...
But then I guess most people is pool mining on Ypool or Beeeeer.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
November 03, 2013, 11:20:49 AM
 #3267

Quote
Primecoin is looking for chains that are at least 9 primes long (so k >= 9). The current mining algorithm is producing numbers that are about 300-bits long which is about 90 digits. The origin is always a multiple of the block header hash which is 256 bits long. This hash is then multiplied by a few small prime numbers and a multiplier produced by our sieve algorithm. The miner can occasionally try using big multipliers which may result in a new record if the numbers are primes.

Ah interesting. Sorry I'm not very good in c++ neither can I just simply change the code, compile and then find out. So in the miner you just multiply the block header (which is different to the showed hash in the explorer which is very confusing) which different primes? So the CSieveOfEratosthenes tries just to find this multipliers?

Sorry, I don't want to disturb u all the time. Are there somewhere more informations to the code?

Multiplying the hash with small prime factors is simply a trick to increase the chances of finding a prime chain. Lets say we have a number N such that N = 2 * 3 * 5 * 7 * n, i.e. N is divisible by 2, 3, 5 and 7. Now we know that none of these numbers are divisible by these prime factors: N - 1, N + 1, 2N - 1, 2N + 1, 4N - 1, 4N + 1, ... .

Filtering out the prime factor p_i from a random number M increases the chances M being prime by 1 / (1 - 1/p_i). So if you filter out all even numbers, you double the chances. If you filter all numbers divisible by 3, you increase the chances by 50%. And if you filter out both, the chances are tripled.

CSieveOfEratosthenes is also increasing the chances of finding prime chains by filtering out all numbers divisible by slightly larger primes. The chances of finding a prime chain increase slightly with every prime factor that is filtered out. The details of this process are pretty complicated. I think the only place where the algorithm is described is the code itself.
satriani
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
November 04, 2013, 04:36:11 PM
 #3268

i think now the most important thing to primecoin is go to chines exchange or do something to aware chines people about how many advantages has primecoin vs bitcoin.

also invent better miner for PrimeCoin could cause higher difficult and lower reward, which could impact on price. Higher market-cap = more attention = faster introduct Primecoin on online shops
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 04, 2013, 06:16:35 PM
 #3269

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested.
Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
November 04, 2013, 08:58:58 PM
 #3270

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested.
Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.

Well, you can try looking at the debug.log file to see if there's a cause there. The file is in the %APPDATA%\Primecoin folder since you're on Windows. If all else fails, you can try deleting the database files in that folder. Make sure to preserve wallet.dat though.
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 05, 2013, 12:55:41 AM
 #3271

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested.
Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.

Well, you can try looking at the debug.log file to see if there's a cause there. The file is in the %APPDATA%\Primecoin folder since you're on Windows. If all else fails, you can try deleting the database files in that folder. Make sure to preserve wallet.dat though.

Done that, didn't work...I don't get it. How can I tell if the time is incorrectly set? I have a few coins stuck there. Sad
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
November 05, 2013, 10:16:57 AM
 #3272

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested.
Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.

Well, you can try looking at the debug.log file to see if there's a cause there. The file is in the %APPDATA%\Primecoin folder since you're on Windows. If all else fails, you can try deleting the database files in that folder. Make sure to preserve wallet.dat though.

Done that, didn't work...I don't get it. How can I tell if the time is incorrectly set? I have a few coins stuck there. Sad

Check the date (including year), the time and the timezone. Which block are you getting stuck on? You can compare that to the block count here:
http://primecoin.21stcenturymoneytalk.org/
muto
Sr. Member
****
Offline Offline

Activity: 457
Merit: 250


View Profile
November 05, 2013, 10:53:10 AM
 #3273

What is best miner for solo mining XPM?  Huh

Easy, the High Performance HP11 (or whatever version's the latest at any given time).
Search for it here, it's made by mikaelh, one of the developers.

Are you sure? I solomine with  rdebourbon miner and get pretty good results.

ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 06, 2013, 02:22:29 PM
 #3274

Ok, rolled back to the primecoin client found at primecoin.org (not the high perf one) and erased all blocks and stuff but not my dat.
Got a new payment in, but the aforementioned stuck deposit is still stuck at 0 confirmations.
Here's the txid: 368f08fc87b8712432be07549201de515122345f26583ba4409bc42f6e78d618-000

Any clues?
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
November 06, 2013, 07:13:13 PM
 #3275

Ok, rolled back to the primecoin client found at primecoin.org (not the high perf one) and erased all blocks and stuff but not my dat.
Got a new payment in, but the aforementioned stuck deposit is still stuck at 0 confirmations.
Here's the txid: 368f08fc87b8712432be07549201de515122345f26583ba4409bc42f6e78d618-000

Any clues?

Looks like that transaction never made it to the network. Unsent transactions are stored in the wallet.dat file. If you keep the wallet running, it should eventually resend that transaction. Did you check whether the date and time were correct?

If you want to get rid of the unconfirmed transaction, you can use -salvagewallet which will extract only the private keys from your wallet and ignores the transactions. As always, it's best to make a copy of your wallet.dat before doing this.
donut
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


View Profile
November 06, 2013, 07:31:30 PM
 #3276

I actually just did getrawtransaction to get the signed tx and then broadcasted via sendrawtransaction from another node.
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
November 06, 2013, 09:08:48 PM
 #3277

Ok, rolled back to the primecoin client found at primecoin.org (not the high perf one) and erased all blocks and stuff but not my dat.
Got a new payment in, but the aforementioned stuck deposit is still stuck at 0 confirmations.
Here's the txid: 368f08fc87b8712432be07549201de515122345f26583ba4409bc42f6e78d618-000

Any clues?

Looks like that transaction never made it to the network. Unsent transactions are stored in the wallet.dat file. If you keep the wallet running, it should eventually resend that transaction. Did you check whether the date and time were correct?

If you want to get rid of the unconfirmed transaction, you can use -salvagewallet which will extract only the private keys from your wallet and ignores the transactions. As always, it's best to make a copy of your wallet.dat before doing this.

I didn't send any $$ from my wallet...I think it's an inbound transaction, a pool payment (probably).
Supercomputing
Sr. Member
****
Offline Offline

Activity: 278
Merit: 250


View Profile
November 06, 2013, 11:14:34 PM
 #3278

Sunny King
Primecoin Mining Research
http://www.peercointalk.org/index.php?topic=813


I am not sure if the Primecoin forum is very active, therefore I am posting my response to the posting above here also.

@Sunny
I am new to Primecoin but by no means new to Number Theory. I briefly looked at the source code of the latest version of mikaelh2's enhancements and I did not see much room for improvement. Using GMP for the modular exponentiation seems to be the biggest improvement. You can use the mod 60 wheel (sieve of Atkin) for the sieving step but I do not see that improving the overall run-time by any significant amount. The bottle neck is with the modular exponentiation of large numbers and Montgomery multiplication can be used to reduce multiplication time. But off course, Montgomery multiplication has its drawbacks, you are working with many different residue classes.

So now, there are two possible directions for the research of finding longer chains faster. The first direction is to continue making incremental improvements to the sieving and modular exponentiation arithmetic (brute force). And the second direction (which I prefer) is to analyze all of the data collected so far and come up with better arithmetic for finding longer chains. I assume that this was the reason that made Primecoin unique, otherwise it is no different from Bitcoin mining.

Unfortunately, carrying out the research to analyze collected data will require funding. I have been running "Primecoin version v0.1.2.0xpm-hp11-unk-beta" for 4 days now on a 32/64 core/thread server and I have only mined a block (primemeter  43807850 prime/h 663367364 test/h  180 7-chains/h 8.075400 chain/d). I just cannot see how anyone, other that people who have access to botnets, can be profitable at mining Primecoin.

Also, I am currently working on a GPU (Nvidia CUDA/PTX) off-load engine for the modular exponentiation (Montgomery) for the Primecoin miner. A GTX 580 should have the same throughput as all 32 cores/64 threads combined when performing Montgomery modular exponentiation. The sieve (of Atkin) will remain on the CPU to maximize performance.

@All
You can donate to the address below if you will like to see this research progress.
ALAxNNtF2hBPUpXFdN8Xexp1HbKwh4JeEK (Primecoin)
1MCqoWLA3eyqovRXKCydoDSfNN8C28y3k2 (Bitcoin)

Electrical Engineering & Computer Science
http://www.eecs.mit.edu/
satriani
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
November 06, 2013, 11:46:39 PM
 #3279

Supercomputing: can you tell us if GPU could mine 10x faster then CPU in the nearest future ? Is it possible? Or other FGPA/ASIC stuff could be used to mine PrimeCoin?
Supercomputing
Sr. Member
****
Offline Offline

Activity: 278
Merit: 250


View Profile
November 07, 2013, 12:10:33 AM
 #3280

Supercomputing: can you tell us if GPU could mine 10x faster then CPU in the nearest future ? Is it possible? Or other FGPA/ASIC stuff could be used to mine PrimeCoin?

Montgomery multiplication - Coarsely integrated operand scanning (CIOS) @ 256-bit
An Nvidia GTX 580 (reference design ) is about 7x faster than an AMD Phenom II X6 1100T using all six cores

Montgomery multiplication for GPU - must use hand optimized PTX (unrolled)
Montgomery multiplication for CPU - must use hand optimized x64 assembly (unrolled)

I would put the GPU at about 7x that of the CPU since modular multiplication is the bottle neck and not sieving.


FPGA's will only be useful for primorial searching, they are not cost effective for modular multiplication.

Electrical Engineering & Computer Science
http://www.eecs.mit.edu/
Pages: « 1 ... 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 [164] 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 »
  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!