Bitcoin Forum
June 21, 2024, 11:21:39 PM *
News: Voting for pizza day contest
 
  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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ... 166 »
201  Bitcoin / Development & Technical Discussion / Re: Q: Converting diff to hash on: August 25, 2019, 01:12:11 AM
Thanks for refocussing my thinking. Your suggestion presumes a pre-existing bug
causing incorrect sharediff and my fix was the second wrong that made things right.

The more I think about it the more plausible it seems. I had assumed the sharediff was correct,
but it's never used except for user info so an error would have no side effects.

I've got some work to do.

202  Bitcoin / Development & Technical Discussion / Re: Running two instances of Bitcoin Core on the same computer on: August 24, 2019, 08:32:12 PM
Run as different users, that will automatically choose unique datadirs.

Running different versions won't do it, both will use the same datadir by default.

203  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 24, 2019, 03:24:22 PM
pinpin

You still think that this is normal starting/lower difficulty for x25x coin? really? 7 shares in 12 min?

https://cdn1.imggmi.com/uploads/2019/8/23/77d60e4afb4305b5d6a931018c9dd96e-full.jpg

+1,

A high default starting diiff can be tolerated but the bigger problem is the minimum diff is too high for
a single GPU, even worse for CPU. The ability to set a lower starting diff or automatic adjustment
to a reasonable diff would be greatly appreciated.
204  Bitcoin / Development & Technical Discussion / Q: Converting diff to hash on: August 23, 2019, 04:10:41 AM
I'm an altcoin guy but this question applies to bitcoin.

The formula for converting share difficulty to an equivalent number of hashes
is documented on the bitcoin wiki: https://en.bitcoin.it/wiki/Difficulty

However, in my testing this formula produced incorrect results for altcoin algos.
I couldn't test sha256d as I don't have HW capable of supporting the extremely
high stratum diff. But since most altcoins were cloned from bitcoin I see no reason
why sha256d/bitcoin would be an exception.

Following are the comments I added to my code to explain my modification.
I arrived at the value through trial and error. Averaging over 100 shares the results
converged nicely to the miner's calculated hash rate for a cross section of algos.

Code:
// Bitcoin formula for converting a share's difficulty to an equivalent
// number of hashes.
//
//   https://en.bitcoin.it/wiki/Difficulty
//
//   H = D * 2**48 / 0xffff
//     = D * 2**32
//
// That formula doesn't seem to be accurate but an adjustment to the
// constant produces correct results.
//
// The formula used is:
//
//   hash = sharediff * 2**48 / 0x3fff
//        = sharediff * 2**30
//        = sharediff * diff2hash

const uint64_t diff2hash = 0x40000000ULL;

Although the numbers work I have no explanation for the discrepency with the documented
formula. I chose to decrease the denominator by a factor of 4 but increasing the numerator
would have the same effect so I don't know which one is "in error".

Is it simply a documentation error or am I missing something?
205  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 21, 2019, 04:46:16 AM
You misunderstand, you can't choose the merged coins,

THE MERGE FLAG WOULD ONLY APPLY TO MERGE-MINEABLE COINS--

I'd like to see merge-mineable coins available as an flag option.       --scryptr

Sigh!
206  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 20, 2019, 09:04:11 PM
You misunderstand, you can't choose the merged coins, the coin devs do. One coin is primary and you mine
that, Any coins merged with it also receive your hash.

Merged mining is only supported for coins designed for it.

The available parasite coins are always listed at the bottom and always have hash assigned to them.
The hash display is gray to indicate merged hash.

In most cases you can identify the host coin because the hash rates match, but scrypt is more complicated
because there are multiple hosts and multiple parasites. It would be nice to be able to identify which
parasites merge with which hosts.
207  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 20, 2019, 06:59:28 PM
I've been trying to follow but I'm lost. I can't figure whether you're compaining about
allocating hash to coins in the multipool or merged mining. They aren't related.

A clear problem definition would help.
208  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 20, 2019, 04:12:12 AM
yaamp/yiimp has had merged mining for a long time. Take a look at scrypt, all those coins at the
bottom of the list with the hashrate in gray are merge mined.



209  Alternate cryptocurrencies / Announcements (Altcoins) / Re: 🗲[ANN] [POW] LightBit - CPU mineable coin [No Premine] [Fair Launch]🗲 on: August 15, 2019, 02:44:55 AM
No need for a new miner, the official cpu-optiminer works fine

cpuminer.exe -a yespower -N 2048 -R 32 -K "LITBpower: The number of LITB working or available for proof-of-work mini" -o stratum+tcp://XXX -u YYY

Note how the personalisation string cuts off with just 73 chars instead of the full string.

Yep. Got it. Thanks again for the information and support. Much appreciated.  Cheesy

The wallet accepts hash generated using the truncated pers string so it's not a miner issue.
That pers string is now part of the POW specification for the coin. Changing it now is changing
the specification.

Having a seperate parameter for the pers length is bad design. It is not necessary, strlen works fine,
and just creates opportunities for errors, as happened here.
210  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.7, open source optimized multi-algo CPU miner on: August 14, 2019, 06:23:21 PM

I noticed this too, how to fix it?
There is a working miner from the pool

https://github.com/cpu-pool/cpuminer-opt-cpupower/blob/master/algo/yespower/yespower.c

Thank you

It's a coin issue, there's nothing for me to fix.
211  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.7, open source optimized multi-algo CPU miner on: August 14, 2019, 12:20:17 AM
You need the correct parameter values, ask the coin's devs.

Edit: Actually the real problem is too funny. The litb miner screwed up the key length:

Code:
	static const yespower_params_t v5 = {YESPOWER_0_9, 2048, 32, "LITBpower: The number of LITB working or available for proof-of-work mining", 73};

The string is actually 75 chars but the length is hardcoded at 73. This means the key is actually the first 73 chars of the string:

Code:
"LITBpower: The number of LITB working or available for proof-of-work mini"
212  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] ZERGPOOL.com - Multialgo, autoexchange, 0.5% fee, 250+ coins on: August 09, 2019, 05:49:00 AM
If someone wants to mine 50% solo and 50% shared they can split their
hash accordingly. I prefer to keep the pool egalitarian, it's less like a lottery.

Just my opinion.
213  Alternate cryptocurrencies / Mining (Altcoins) / Re: Solar powered CPU mining on: August 05, 2019, 06:47:42 PM
for the miner it is necessary the whole field of solar batteries. energy consumption is too high and large storage batteries are needed


An extension of that is that mining requires a constant supply of energy, and solar alone
can't provide that.  Either the mining equipment sits idle at night or the system requires
batteries for storage. Either reduces the potential for profit significantly.

Solar power works best when the energy can be stored cheaply in a different form,
or when it's consuption can be scheduled to coincide with generation.
214  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.7, open source optimized multi-algo CPU miner on: August 03, 2019, 08:51:16 PM
Copy & paste the entire key including the quotes.
215  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.7, open source optimized multi-algo CPU miner on: August 03, 2019, 03:08:51 PM
cpuminer-opt-3.9.7 makes changes to command line options.

-R is no longer used as a shortcut for retry-pause, users must use the long option.

New options have been added to facilitate mining algos based on yescrypt or
yespower with different parameters:

Code:
  -N, --param-n         N parameter for scrypt based algos
  -R, --param-r         R parameter for scrypt based algos
  -K, --param-key       Key parameter for algos that use it

These parameters can be used to mine existing algos or new algos.
Existing algos may still be mined using their original unique name without extra parameters.

Any new algos based on yescrypt or yespower which only differ in parameters can be mined immediately
without requiring a new release of cpuminer-opt by using the generic algo name and specifying the parameters.

For example the recent cpupower algo can be mined using the following parameters:

Code:
-a yespower -N 2048 -R 32 -K "CPUpower: The number of CPU working or available for proof-of-work mining"

Edit: Be carefull with the key, it's very long in this case and contains spaces and special characters, the quotes are necessary.

Parameter values are determined by the developpers of the coin and/or algo and should be listed in the coin's specifications
or mining instructions. Cpuminer has no knowledge of the parameter values except for algos previously
defined with a customized name.

Only the N parameter is supported for scrypt, R is harcoded with 1.  -a scrypt -N n has the same effect as -a scrypt:n.

216  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.6.2, open source optimized multi-algo CPU miner on: August 02, 2019, 06:57:02 PM
-R option is deprecated

Plans have accelerated. There will be no grace period which would delay new features.
In the next release -R will have a totally different meaning, there will be no warning message.

This is a heads up for a proposed user interface change to cpuminer-opt.

I am intending in the next release to remove -R as a shortcut for the --retry-pause option:

Code:
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)

I have plans to use -R for something else, --retry-pause will still be avaiable.
Retry is a rarely used option as most users prefer to exit and failover to a backup
pool when a connection is lost.

Until -R is repurposed its use will produce a warning message.

https://github.com/JayDDee/cpuminer-opt/issues/206
217  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.6.2, open source optimized multi-algo CPU miner on: August 01, 2019, 04:19:35 PM
I Initially declined to include cpupower algo in cpuminer-opt due to a number of  concerns.

Algo bloat: the number of supported algos is now around 100, that's 100 different
options for the -a argument. Many are almost identical with only parameter differences.

Single coin algos: I want to avoid algos that are tied to one specific coin and unlikely to be
used by any other coin in the future.

Algo branding: I prefer generic algo names instead of names that are closely associated with
a single coin.

Planned obsolescence: Coins that have plans to change algos are more work to support.

Unfortunately cpuchain/cpupower hits on all those points. The devs have expressed a desire
to maintain a tight coupling between the coin and algo, objected to a generic and more
descriptive algo name, and have plans to change algos.

All these factors led me to conclude the algo did not have much of a future and would likely
become obsolete.

Given the level of control the devs wanted over the algo I suggested it would be better to have
a dedicated cpuchain miner where the devs would have total control and freedom over their
algo of choice.

The existing cpuchain miner is forked from cpuminer-opt and can easilly import any missing
optimizations.

I'm looking at ways to simplify support for multiple algo variants to reduce the bloat and provide
some forward compatibility with new variants that don't require code changes.
218  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.6.2, open source optimized multi-algo CPU miner on: August 01, 2019, 03:12:17 AM
This is a heads up for a proposed user interface change to cpuminer-opt.

I am intending in the next release to remove -R as a shortcut for the --retry-pause option:

Code:
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)

I have plans to use -R for something else, --retry-pause will still be avaiable.
Retry is a rarely used option as most users prefer to exit and failover to a backup
pool when a connection is lost.

Until -R is repurposed its use will produce a warning message.

https://github.com/JayDDee/cpuminer-opt/issues/206
219  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.6.2, open source optimized multi-algo CPU miner on: July 31, 2019, 04:24:13 PM
hello,
how to compile it in windows?

If you can't be bothered to read the instructions I can't be bothered to help you.
220  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.9.6.1, open source optimized multi-algo CPU miner on: July 29, 2019, 12:12:26 PM

With Windows, use Visual Studio 2013

Both your posts make no sense, cpuminer-opt will not compile with VS.

Both of you RTFM!
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ... 166 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!