Pages:
Author

Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) - page 14. (Read 1958546 times)

hero member
Activity: 842
Merit: 507
Aren't there memory leaks in cpuminer 2.4.3 win64 version? Its virtual memory increases roughly 4GB per day while mining 1MB blocks. When remote node restarts these GB disappear and miner then tries to resolve host with four random characters even it was configured to connect at 127.0.0.1.

You are right, I just checked and there is indeed a memory leak in the GBT code. I'll push a quick fix to GitHub shortly. Hopefully I'll also be able to publish new binaries soon.
newbie
Activity: 20
Merit: 0
Aren't there memory leaks in cpuminer 2.4.3 win64 version? Its virtual memory increases roughly 4GB per day while mining 1MB blocks. When remote node restarts these GB disappear and miner then tries to resolve host with four random characters even it was configured to connect at 127.0.0.1.
newbie
Activity: 14
Merit: 0
Need help!!!!!!!!!!!!
Error Message is: minerd.exe: unknown algorithm -- 'm7'
Command is: 
minerd.exe -a m7 -o stratum+tcp://xcnpool2.1gh.com:7333 -u CWxqU4gkPz57JuDQ3RDs8avrtcyaP7cCZT -p x

I download miner from http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.4.3-win64.zip
hero member
Activity: 629
Merit: 500
so i've been toying with a fork of the most current bitcoin source code, and im trying to cpumine the new genesis block and 1st block after..

Code:
./minerd -a sha256d -o http://127.0.0.1:8228 -t 1 -u rpcuser -p rpcpassword -D -P
[2016-02-05 12:33:00] 1 miner threads started, using 'sha256d' algorithm.
[2016-02-05 12:33:00] ...retry after 10 seconds
[2016-02-05 12:33:10] ...retry after 10 seconds
[2016-02-05 12:33:20] ...retry after 10 seconds

odd thing is, i can telnet to that port and see its open, but the miner doesn't seem to care what my rpc user/pass info is, because ive even entered the wrong info and it just does the same thing..

i get no info from -D debug either..

*update

so i used a binary from the sourceforge site:

Code:
./minerd -a sha256d -o http://localhost:8288 -t 1 -u rpcuser -p rpcpassword -D -P
[2016-02-05 15:27:18] 1 miner threads started, using 'sha256d' algorithm.
[2016-02-05 15:27:18] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"]}], "id":0}


* Rebuilt URL to: http://localhost:8228/
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Adding handle: conn: 0x7f0e10012b10
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f0e10012b10) send_pipe: 1, recv_pipe: 0
* Connected to localhost (127.0.0.1) port 8228 (#0)
* Server auth using Basic with user 'rpcuser'
> POST / HTTP/1.1
Authorization: Basic cnBjdXNlcjpycGNwYXNzd29yZA==
Host: localhost:8228
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 126
User-Agent: cpuminer/2.4.3
X-Mining-Extensions: midstate

* The requested URL returned error: 500 Internal Server Error
* Closing connection 0
[2016-02-05 15:27:18] HTTP request failed: The requested URL returned error: 500 Internal Server Error
[2016-02-05 15:27:18] json_rpc_call failed, retry after 30 seconds

still isnt working properly.. no info in the daemon's debug.log either..


hero member
Activity: 842
Merit: 507
Version 2.4.3

  • The miner can now take advantage of the VIA PadLock Hash Engine (PHE), but only in 64-bit mode.
  • Version-4 blocks are now recognized.

The source code is, as always, available at GitHub. Source tarball and binaries are available at Sourceforge.
member
Activity: 108
Merit: 10
hero member
Activity: 842
Merit: 507
Latest version is not working on my Windows 10 Pro PC.

What issue did you experience exactly?

When I click on miner, it just blink and disappear.

That is normal. This is a command-line application, it has no graphical interface.
hero member
Activity: 672
Merit: 500
Latest version is not working on my Windows 10 Pro PC.

What issue did you experience exactly?

When I click on miner, it just blink and disappear.
newbie
Activity: 9
Merit: 0
there is some problem in block version
Unrecognized block version: 4

on latest bitcoin wallet 0.11.99

Thank you for pointing this out. I've just pushed a commit to the git repo to support the new block version.

I'm using the Bitcoin version v0.11.2 (64-bit) and I'm having the same issue with the blocks... Sad
legendary
Activity: 1109
Merit: 1000
Is there a version of this miner which supports the ScryptJaneNf16 algo?
This latest version  2.4.2 supports it.  Scrypt Jane A.K.A scrypt-chacha
You must be thinking of some fork. The miner discussed in this thread only supports scrypt and SHA-256d.

Trying to compile, but getting errors:

./configure: line 6517: syntax error near unexpected token `,'
./configure: line 6517: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
See the FAQ in the first post.
Thanks, the FAQ did enable me to get it compiled, and I verified that it doesn't include the ScryptJane branch.
full member
Activity: 235
Merit: 100
Is there a version of this miner which supports the ScryptJaneNf16 algo?
This latest version  2.4.2 supports it.  Scrypt Jane A.K.A scrypt-chacha
You must be thinking of some fork. The miner discussed in this thread only supports scrypt and SHA-256d.

Yes, my mistake, my version is cpuminer-2.4.0. I'm pretty sure it's from here:  https://github.com/milancoin-project/cpuminer
hero member
Activity: 842
Merit: 507
Is there a version of this miner which supports the ScryptJaneNf16 algo?
This latest version  2.4.2 supports it.  Scrypt Jane A.K.A scrypt-chacha
You must be thinking of some fork. The miner discussed in this thread only supports scrypt and SHA-256d.

Trying to compile, but getting errors:

./configure: line 6517: syntax error near unexpected token `,'
./configure: line 6517: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
See the FAQ in the first post.
legendary
Activity: 1109
Merit: 1000
Trying to compile, but getting errors:

./configure: line 6517: syntax error near unexpected token `,'
./configure: line 6517: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

$ make
make: *** No targets specified and no makefile found.  Stop.
legendary
Activity: 1109
Merit: 1000
Is there a version of this miner which supports the ScryptJaneNf16 algo?
This latest version  2.4.2 supports it.  Scrypt Jane A.K.A scrypt-chacha

Ahh, ok. I think I have cpuminer 2.4.1
Let me pull a new version and see if that helps.
full member
Activity: 235
Merit: 100
Is there a version of this miner which supports the ScryptJaneNf16 algo?
EDIT:
This latest version  2.4.2 supports it.  Scrypt Jane A.K.A scrypt-chacha

My version is cpuminer-2.4.0. I'm pretty sure it's from here:  https://github.com/milancoin-project/cpuminer
legendary
Activity: 1109
Merit: 1000
Is there a version of this miner which supports the ScryptJaneNf16 algo?
hero member
Activity: 842
Merit: 507
there is some problem in block version
Unrecognized block version: 4

on latest bitcoin wallet 0.11.99

Thank you for pointing this out. I've just pushed a commit to the git repo to support the new block version.
newbie
Activity: 13
Merit: 0
there is some problem in block version
Unrecognized block version: 4

on latest bitcoin wallet 0.11.99
newbie
Activity: 13
Merit: 0
hero member
Activity: 842
Merit: 507
How can i use minerd with latest litecoin and bitcoin wallets (0.10+)
they stop support getwork.
So is there any command line options for getblocktemplate, please provide usage example  Smiley
(ps need it for solo mining, testing purposes)

GBT support has been there since version 2.4. Check out the man page for minerd for the full documentation and a couple examples. Basically you just need to provide a payout address by using the --coinbase-addr option, like this:
Code:
minerd -a sha256d -o http://localhost:18332 -O rpcuser:rpcpass --coinbase-addr=mpXwg4jMtRhuSpVq4xS3HFHmCmWp9NyGKt
Pages:
Jump to: