Bitcoin Forum
May 25, 2024, 09:00:50 AM *
News: Latest Bitcoin Core release: 27.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 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 »
281  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: September 08, 2014, 07:57:01 AM
Hi,pooler,can you give me a instruction about compling the soft in solaris 10 sparc os,thanks very much!
Have you tried the generic *nix build instructions in the README?
282  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: August 20, 2014, 10:54:35 PM
Why this version is not working for solo mining? 2.3.3 works!!!
As far as I know the latest version can do solo mining just fine. If you wish to file a bug report, please include enough information about what you want to do and how you're trying to do it.
283  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: August 07, 2014, 05:10:47 PM
I can see such Stratum requested work restart, stratum_recv_line failed and Stratum connection interrupted quite frequently, but I guess that's normal?

"Stratum requested work restart" is totally normal, and should happen every time a new block appears on the network.
"Stratum connection interrupted", on the other hand, is not normal. It indicates a network failure, which could be due to your Internet connection or to the remote server.
284  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: July 04, 2014, 06:39:04 AM
1) a sharelog
cpuminer runs with debug output, however, the output are often not captured
a share log is needed, i.e. for the shares submitted to a mining pool it would be helpful to log the
- time
- disposition (accept or reject)
- target
- hash
- data

and perhaps some other info in a text sharelog file. this would help with verifying from historical submitted entries if there are issues
As I've already said, this could indeed be useful, but the changes required to implement it properly are nontrivial (cpuminer does not currently keep track of submitted shares). I don't have much free time in this period, but I will put this on my to-do list.

2) a GUI
There was a Qt GUI that interfaced with cpuminer, and it worked quite well. The project is now abandoned, but its source code is still available under the MIT license for anybody to fork.
https://bitcointalk.org/index.php?topic=62414.0
285  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: June 29, 2014, 12:49:31 PM
I'm getting
Code:
fatal error: openssl/sha.h: no such file or directory
while trying to build on windows with mingw. I don't think there's any openssl packages I need to get for this so what have I done wrong?

OpenSSL is referenced nowhere in the source code of cpuminer. You must be trying to compile something else, probably a fork of it.
286  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: June 26, 2014, 10:04:21 PM
does this miner have an api function?
No.
287  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: June 13, 2014, 08:55:03 AM
Thanks, I just don't understand why isn't it simply
Code:
sctx->job.xnonce2++

Because xnonce2 is not an integer, but an array of bytes.
288  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: June 13, 2014, 08:04:02 AM
Do you guys know what stratum_gen_work function does? (cpu-miner.c -> line 653).
For example I don't understand the purpose of this line:
/* Increment extranonce2 */
   for (i = 0; i < sctx->xnonce2_size && !++sctx->job.xnonce2; i++);

As stated in the comment, that line increments the extranonce2 field so that every time that new work is generated it is different. See the Stratum protocol specifications.
289  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: May 28, 2014, 06:42:09 AM
I want to mine X11 with this miner and [...]
Does minerd support X11 coins or Scrypt only?
Please read the FAQ in the first post.

and who can tell me which cpu minerd support x11??
Google.
290  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: May 25, 2014, 08:53:02 PM
I tried to mine with several cpuminers those were mining to the same address and had no signature configured and those miners were finding different blocks, I was not observing collisions. I still don't understand that signature feature...
It is actually pretty easy to produce a collision if the difficulty is low enough: just start two miners of about the same speed and try to keep the getblocktemplate calls synchronized. That way the two miners will be working on the exact same headers (same timestamp, same merkle root hash).
Out of curiosity, I tried this just now on the Litecoin testnet, and I was able to obtain a double submission (one accepted, one rejected) within a few minutes.
291  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: May 24, 2014, 10:15:23 PM
Code:
[2014-05-24 20:38:13] JSON protocol response:
{
   "error": null,
   "result": true,
   "id": 1
}
[2014-05-24 20:38:13] accepted: 0/1 (0.00%), 4.24 khash/s (booooo)

The server implementation you are using is faulty. According to the specs, submitblock should never return a result of "true".
The result must be "null" when a submitted block is accepted, and that's why cpuminer considers any other result as a rejection. ("accepted: 0/1" means that you submitted 1 blocks, and 0 of them got accepted.)
292  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 24, 2014, 05:09:48 PM
Interesting... :-( Is it possible to test availability of submitblock method by a submit of random data after cpuminer start?

It is certainly possible, but it would be a bit pointless in my opinion. If a server provides a getblocktemplate method but no submitblock method, then it is violating the official specifications.
293  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 24, 2014, 02:36:44 PM
When cpuminer tries to submit GBT block, block is rejected with 404 error.
Apparently your daemon does not implement the submitblock method, even though it is part of the non-optional sections of BIP 22.

As a matter of fact, I've mined several blocks on the Litecoin testnet, so I know that the GBT implementation of 2.4 is not (entirely) broken.
294  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 24, 2014, 08:25:46 AM
I think a simple append of the same line that goes to standard output (e.g. timestamp accepted: X/X (XX.XX%), XX.XX khash/s (yay!!!)) to a separate file will be perfect (at least for what I'm trying to keep track). Any other information related to the specific share could be a bonus for some.
If that's all you need then you could simply grep the output stream or the file where you store the log.
295  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 23, 2014, 08:04:58 PM
Re API, I think it could be quite useful when you want to manage several PCs remotely. I currently use a combination of proxy (to switch pools), scripts (to restart the miner with # of threads = 50% of cores when someone is going to use that computer) and manual log review to monitor the status. An API that could let you check the status, switch pools and # of threads would be ideal for that.
I think the main problem with adding an API is that it would greatly complicate the code base. Luckily cpuminer starts up very quickly, so a wrapper script can usually do the job pretty well.

Re logging I'm using the 2 >> logfile.log (Windows) at the end of the line to log to a file. This creates the log file but does not output anything to screen.
That's what tee is for. Or you could tail -f the file where the output is stored.

Also a --sharelog option allows you to output the accepted shares on a different file for easier reviewing.
This could indeed be useful. I will think about it, but keep in mind that the changes required to implement this properly are nontrivial (cpuminer does not currently keep track of submitted shares).

By dynamic screen I didn't mean a GUI. I'm not sure if you can call what the other miners have a "graphical interface", but I was thinking more like the options to manage pools and processors without having to restart the miner with different parameters. An API could solve this issues too.
Personally, I think cpuminer was never designed to be interactive... and I actually like it the way it is, because I value simplicity. But then again, this is probably a matter of personal taste, just like the old vi-vs-Emacs debate.

(By the way, I just learned that there's a name for the kind of user interface that cgminer sports: TUI, i.e. Textual User Interface.)
296  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: May 22, 2014, 01:41:47 PM
For me, looks to be, the pool is not picking up 2.4 shares.

pooler-cpuminer-2.2.3-win64 works fine.
Quote
[2014-05-22 08:33:03] Stratum detected new block

I see no difference between the log you just posted above and the one you posted before. The message "Stratum detected new block" was changed to "Stratum requested work restart" in version 2.4, as that's a more correct description of what is happening.
Neither of the two logs you've posted so far shows any accepted share.
297  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: May 22, 2014, 12:49:18 PM
Code:
Stratum requested work restart

Why?

Because your pool's server sent you new work and asked you to start working on it immediately.
This is usually normal and completely harmless. If you think that a work restart means that your past hashing is now "lost" then you are committing a fallacy, as there is no "progress" when you mine.
298  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 22, 2014, 07:56:56 AM
It does seems to be faster. Don't have hard #s yet, but I estimate 5-10% faster.
The hashing code hasn't changed since version 2.3.2, as you can see for yourself from the commit history. Any hash rate variation you might see is purely accidental.

Quote
Any chance of adding more options and features? Like API, logging, dynamic screen info (a la BFGMiner or cpuminer-gc3355).
I'm not sure what you mean by "logging", given that cpuminer has always produced a log.
Regarding APIs and integrated graphical interfaces, they will probably never happen, as I don't think they conform to the KISS philosophy.
299  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (CPU-only) on: May 21, 2014, 01:31:48 PM
What signature is used in the case when it is not specified at cpuminer command line (--coinbase-sig parameter is missing)?
No particular signature is included in the coinbase if you don't specify one. Just the block height as per BIP 34.
300  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: May 21, 2014, 01:18:02 PM
Anyway, is it technically possible, to add a parameter that will work like signature but will be used only by miner and will not be published in the block-chain as signature?
No, it is not possible.

Quote
Block-chain, it is huge data structure replicated to millions of disks and every useless ballast there consumes significant disk space...
This is not "ballast". It is something necessary, and actually very small when you consider the size of a block.
The same mechanism is used by poolservers to distribute different work to miners, and even by the old getwork method to ensure that every requested work be unique. And all the extra nonces have always ended up in the block chain.

The truth is, if your signature is short, your coinbases will be smaller than those produced by getwork. Thus, if you are concerned about block size, using a single-byte signature is definitely the best solution (assuming you don't have more than 256 miners).
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!