Bitcoin Forum
July 03, 2022, 06:29:12 PM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 »
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: June 28, 2014, 04:27:18 PM
Right, I think I should clarify that pooled mining is different. In pooled mining you're always targeting the network difficulty but you're allowed to submit shorter chains to the pool. The ratios between lengths 7, 8, 9 and 10 should always be approximately 10 (at least for CPU miners). That's because each number has nearly the same probability of being prime after it's being sieved. Since the ratio is 10, the probability is about 0.1.

However, you can find a lot more 7-chains if you change the sieve parameters. This is what I did in my previous post. That's why the ratios are more than 10.

Anyway I have calculated money supply cap using ratio=30 here. According to it 5 years after release XPM diff won't reach 14, and the total supply is going to be ~55 Millions XPM.
I haven't checked the numbers, but the eventual total supply of 55 million sounds reasonable. Primecoin is definitely intended to sustain a healthy mining market, since only about 11% of that has been mined in the first year.
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: June 28, 2014, 01:21:07 PM
I did a quick benchmark with regards to the difficulty ratio between chain lengths. I used the CPU miner in my Primecoin High Performance wallet (latest HP14 release). It allows targeting different chain lengths using the -sievetargetlength parameter.

Code:
Target          Chains/day      Difficulty ratio compared to previous (how many times harder)
7               1493
8               91.6            16.3
9               4.05            22.6
10              0.155           26.1
11              0.00541         28.7
12              0.000170        31.8
13              0.00000502      33.9

So 11-chains should be about 28.7 times harder to find than 10-chains. So that number is definitely closer to 30 rather than 10. Sunny King originally assumed that the ratio would be about 32. Also note that the ratio keeps growing as the chain length increases.

I also compared these numbers to some earlier benchmarks. It seems that the ratios are smaller with more optimized code. So my guess is that for GPU miners the ratios may be slightly smaller. (Anyone want to confirm that?)

My network charts page at http://xpm.muuttuja.org/charts/ tries to estimate the total network computation power in terms of chains per minute. It shows that chains/min peaked at 20 chains/min on May 13th, which is definitely not enough to push difficulty above 11. Last December we actually needed about 40 chains/min to go above 10.

Currently the network is mining at about 8.5 chains/min, which is equivalent to about 1500 GPUs mining at 8.2 chains/day.
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: June 25, 2014, 04:21:25 PM
edit: resolved.  I'm not sure what the root cause was here but once the blockchain caught up to the current best height getblock calls began functioning properly again.  I'll edit again if this issue recurs and I am able to track down the issue.

Good to hear that the issue is solved. I think your wallet wasn't done synchronizing with the network. Your getinfo output showed that you only had 237209 blocks while currently the network is at 601597 blocks.
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP14 released! on: April 26, 2014, 05:16:38 PM
HP14 released! This is a big release with a huge speed boost for CPU miners. Download links are in the first post.

Changes in -hp14:
 * Huge CPU mining speedup. Up to 73% higher chains/day on Intel's Haswell.
 * Developer fee is now 1% (-donationpercentage defaults to 1.0).
 * Sieve now uses the BTS instruction (same as RapidPrime miner).
 * Added compile-time support for using BMI2 instructions on Haswell.
 * Added compile-time support for SSE2 and AVX2 bitwise operations.
 * New extended sieve algorithm similar to rdebourbon's beta4 code.
 * New default values for the tuning parameters:
   . sievefilterprimes defaults to 14000 (up from 7849)
   . sievesize defaults to 1376256 (up from 917504)
   . sieveextensions defaults to 10 (up from 9)
 * Lots of other minor improvements.
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP13 with OpenSSL fix on: April 17, 2014, 01:17:39 PM
Mac OS X version will be delayed because it failed to build this time.

I fixed the OS X build and it's now available for download.
6  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP13 with OpenSSL fix on: April 10, 2014, 10:24:50 AM
HP13 released! Download links are on the first page. Links point to my own server because SourceForge is being especially slow for me.

Changes:
 * Binaries compiled with OpenSSL 1.0.1g which addresses the Heartbleed vulnerability
 * Faster blockchain download
 * Bonus: Also compiled with GMP 6.0.0a

Mac OS X version will be delayed because it failed to build this time.
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: April 09, 2014, 09:46:22 PM
I'm working on a new release with updated OpenSSL. AFAIK, there's two ways to exploit the OpenSSL bug in the wallet:
1.) Using -rpcssl with a wallet daemon. This turns the RPC port into an SSL server which can be exploited. If the port is open to the internet, your wallet may be compromised.
2.) Opening payment protocol links which makes the wallet connect to an SSL server. If the server is malicious, your wallet may be compromised. So don't open any links starting with primecoin: .
8  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: April 05, 2014, 03:24:59 PM

Yes, that will install the latest version of GMP in /usr/local. However, you then need to use some special flags to link against it. Here's a snippet from my Linux compilation guide which modifies makefile.unix.

Code:
cp makefile.unix makefile.my
sed -i -e 's/$(OPENSSL_INCLUDE_PATH))/$(OPENSSL_INCLUDE_PATH) \/usr\/local\/include)/' makefile.my
sed -i -e 's/$(OPENSSL_LIB_PATH))/$(OPENSSL_LIB_PATH) \/usr\/local\/lib)/' makefile.my
sed -i -e 's/$(LDHARDENING) $(LDFLAGS)/$(LDHARDENING) -Wl,-rpath,\/usr\/local\/lib $(LDFLAGS)/' makefile.my

After that run "make -f makefile.my clean" and then "make -f makefile.my".

Also, it's possible to check that you're using your own custom libgmp by typing "ldd primecoind". The output should say something like this:
Code:
        libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x0000003822600000)

That means it's using the libgmp installed in /usr/local.
9  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: April 05, 2014, 08:27:08 AM

Yes, that will install the latest version of GMP in /usr/local. However, you then need to use some special flags to link against it. Here's a snippet from my Linux compilation guide which modifies makefile.unix.

Code:
cp makefile.unix makefile.my
sed -i -e 's/$(OPENSSL_INCLUDE_PATH))/$(OPENSSL_INCLUDE_PATH) \/usr\/local\/include)/' makefile.my
sed -i -e 's/$(OPENSSL_LIB_PATH))/$(OPENSSL_LIB_PATH) \/usr\/local\/lib)/' makefile.my
sed -i -e 's/$(LDHARDENING) $(LDFLAGS)/$(LDHARDENING) -Wl,-rpath,\/usr\/local\/lib $(LDFLAGS)/' makefile.my

After that run "make -f makefile.my clean" and then "make -f makefile.my".
10  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: April 04, 2014, 08:00:28 AM
To donate 1% of the blocks you will find, add this line to the .conf file:
Code:
donationpercentage=1.0

Any other command-line option also works in the .conf file the same way. The source code tarball for HP12 is still the latest code. There's nothing new on Github yet.

If you really want to optimize, you can try getting the latest version of libgmp which was released a few days ago.
11  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: March 08, 2014, 10:42:22 AM
Quote
Linux x64 and x86 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp12/primecoin-0.1.2-hp12-linux.tar.bz2/download
SHA1SUM: 40873216e702407b92a583437ca2311ac8ae7bc0
This is the old version. Can you provide the new ?

"version" : "v0.1.2.0xpm-hp11-unk-beta",

I checked the link and it's the latest version. The binaries in that archive say they are version v0.1.2xpm-hp12-beta. Make sure you don't have an old binary in /usr/local/bin or something.
12  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: March 03, 2014, 10:57:29 PM

 * Added an automatic donation feature when a new block is found. The -donationpercentage allows a percentage of the block reward to be donated to an address. E.g. passing the command-line parameter -donationpercentage=1.5 will donate 1.5% of every block to the developer. Alternatively, this value can be set in primecoin.conf. Also, the default address can be changed using -donationaddress.

was wondering why he updated this, I know why now.

Just to be clear: that feature is disabled by default. Still, if someone wants to donate, it would be very much appreciated.
13  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance | HP12 released on: March 03, 2014, 05:23:09 PM
HP12 released! The download links are on the first page as usual. Since people keep running into the bugs in older releases, I have finally decided to make a new release. This is a recommended upgrade for all users. Note that this release does not contain my very latest experimental optimizations. Nevertheless, many smaller optimizations and improvements are included.

Release highlights:
 * Fix for shared wallet files. If the same wallet.dat file is copied to multiple machines, they should all try to solve unique blocks now.
 * Fix for getwork protocol. Some versions of jhPrimeminer support solo mining using a patched getwork protocol. That patch is included in this release.
 * OS X binaries of the Qt client.
 * Fix for the assertion failure crash.

Changes:
 * IMPORTANT: Fix for multiple machines doing the same work if wallet is shared.
 * New chain statistics in debug.log.
 * Removed 'primespersec' from the output of getmininginfo.
 * Removed 'chainspermin' metric.
 * Replaced -sievepercentage parameter with -sievefilterprimes.
 * New parameter -l1cachesize for specifying the size of sieve segments.
 * Added new blocks/day metric which tries to estimate how many blocks will be found at current difficulty.
 * Better automatic adjustment of primorial factor.
 * New parameter -primorial for manual adjustment of primorial.
 * Implemented early support for v0.2 proposal (needs to be enabled with -miningprotocol=2).
 * David's fix for getwork.
 * Updated to Bitcoin v0.8.6 codebase.
 * Improved the checking of BiTwin chain candidates. As a consequence, short BiTwin chains (1 or 2 primes) are now counted correctly in the mining statistics. Primes/h is now much higher due to this.
 * The Qt application is now titled Primecoin High Performance.
 * Fixes for Mac OS X and the Clang compiler.
 * Revised default sieve parameters.
 * Added an automatic donation feature when a new block is found. The -donationpercentage allows a percentage of the block reward to be donated to an address. E.g. passing the command-line parameter -donationpercentage=1.5 will donate 1.5% of every block to the developer. Alternatively, this value can be set in primecoin.conf. Also, the default address can be changed using -donationaddress.
14  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: February 13, 2014, 04:35:38 PM
hi, is it possible to run miner on SPARC?

I have only tested my code on x86 and x86-64, so some issues will likely arise on other platforms. You would probably need to do some porting to get the code running on SPARC.
15  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin High Performance Linux Compilation Guide on: February 05, 2014, 08:48:29 AM
That's normal. The miner chooses an unused address from the wallet.
16  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: February 01, 2014, 10:23:30 AM
Oh yeah, I forgot to add prime.h to the commit. It's fixed now. It was a problem with commit b6a92cd8b9.

Works now, thanks. Any plans to include xpm protocol functionality into the wallet so we can use it as a hub ? Having to download the entire blockchain on every node is a pain ... plus it would allow us to experiment with current pool miners, jhprimeminer, xolominer, etc..

No plans for that currently. I've been hoping that the stand-alone miner devs would eventually implement either getwork or getblocktemplate (GBT). GBT is working and getwork should be fixed but I haven't tried it. There's a few forks of jhPrimeminer out there that do that but it looks like the code hasn't spread to the more popular forks. Also, I don't know the specs of the pool protocols so I don't know exactly what the advantages are.
17  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: February 01, 2014, 01:19:15 AM
Oh yeah, I forgot to add prime.h to the commit. It's fixed now. It was a problem with commit b6a92cd8b9.
18  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: January 18, 2014, 06:20:10 PM
I think the best way to support the developers is if he can post referral links to VPS that's recommended to solo mining with this HP. I would certainly sign up with more than 10 instances on the ones that are good to mine on a couple of different hosts.

Well, more support is always welcome. However, I see two problems with advertising VPS mining:
1) The AUP of many providers forbids mining. For example, Linode pretty clearly states that you're not allowed to use excessive CPU resources. So if you try mining there, they may terminate your account at any time citing violation of AUP.
2) VPS mining isn't always profitable. Many VPS providers are actually quite expensive, which means that you'll only be able to profit when XPM prices are high.

As far as I know, Amazon and DigitalOcean are the only big providers that allow mining. And for what it's worth, here's my referral link for DigitalOcean:
https://www.digitalocean.com/?refcode=a285e54b94da

The cheapest droplet costs $5/month and mines at about 0.01 chains/day. At current difficulty, that's about 0.006 blocks/day. So in a month you could earn (in theory):
0.006 blocks/day * 30 days/month * 9.2 XPM/block * 3.20 USD/XPM = 5.30 USD/month

So VPS mining at DigitalOcean should still be profitable (in theory). Note that if you are solo mining, then the expected time to block is 166 days. With 100 droplets, the time will be 1.66 days. So solo mining only makes sense if you have lots of droplets. If you don't like waiting for blocks, check out beeeeer.org for pooled mining.

I haven't done the math for Amazon's EC2 recently but I'd expect it to not be profitable. Even the spot prices are usually too high.

Also my BTC, LTC, PPC and XPM donation addresses are in my signature below.
19  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: January 15, 2014, 01:25:11 PM
Official Windows binaries coming anytime soon ?

They are coming out when I'm done with testing and I'm fairly confident there are no more bugs lurking around. Or in other words, when it's ready™.
20  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: January 14, 2014, 12:41:18 PM
Can you add this to the next release so that we all can at least see it when running getmininginfo/getinfo?

The latest code already shows blocks/day when running getmininginfo.

On another note, I pushed more fixes to Github. I think I finally fixed the CCheckQueueControl assertion errors with this commit:
https://github.com/mikaelh2/primecoin/commit/e1784f808908e5ac5c17125091ab3666e8e8c591
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!