Bitcoin Forum
May 23, 2024, 04:55:23 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 »
201  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 20, 2017, 03:29:08 PM

damn, thanks for looking into it though, most profitable coins for cpu mining are either cryptonight or zoin/zcoin or something else/new


Did you try ccminer-tpruvot? It's coded differently and doesn't have the rpc2-login call in workio_thread.

just tried, it issues the following rpc method:
Code:
[2017-03-20 16:17:33] JSON protocol request:
{"method":"getwork","params":[],"id":0}

which results in
Code:
[2017-03-20 16:17:34] JSON decode failed(1): '[' or '{' expected near 'Requested'
[2017-03-20 16:17:34] Requested url is not found
[2017-03-20 16:17:34] get_work failed, retry after 30 seconds

seems ccminer is not compatible with solo mining as else it has to request the getblocktemplate method (?)
202  Alternate cryptocurrencies / Mining (Altcoins) / Re: EHS Miner coming soon! on: March 20, 2017, 09:22:27 AM
They have been working on that miner for like 2-3 years  Huh .  My favorite part about the pictures is that the circuit boards do not have circuits -- lol

its a rendering, no actual image Cheesy
203  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Zcoin (XZC) - Implementing Zerocoin technology for financial privacy on: March 20, 2017, 08:28:34 AM
id love if the solo mining bug introduced with some commits could be fixed Smiley

you can contact hexxodev, he fixed it in his coin already (https://github.com/hexxcointakeover/hexxcoin/commit/49ce0cf58a0277e60161e59d8b1243675e2b05e9)
204  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 20, 2017, 08:22:00 AM
Same bugs there, zcoin, zcoinc, but you could try gbt since the miner is now fixed.

i have done so, didnt work out sadly
205  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 19, 2017, 07:52:31 AM

with the workio_login thing commented out i get:
Code:
[2017-03-18 23:28:23] 1 miner threads started, using 'cryptonight' algorithm.
[2017-03-18 23:28:23] Tried to call rpc2 command before authentication
[2017-03-18 23:28:23] getblocktemplate failed, falling back to getwork
[2017-03-18 23:28:23] Tried to call rpc2 command before authentication
[2017-03-18 23:28:23] json_rpc_call failed, retry after 10 seconds

i then commented out line 242 and got the same output as above

i then uncommented the workio_login thingy and it went back to the initial output posted before

rpc2_workio_login is called regardless of gbt or not. The login method isn't recongnized
and skipping it results in no authentication. With no working model and no real understanding of the
protocol I think I'm stuck.

damn, thanks for looking into it though, most profitable coins for cpu mining are either cryptonight or zoin/zcoin or something else/new

as a matter of fact i also tested zcoinclassic over this night but it seems their wallet contains the same bug hexxdev encountered in the imported changes from zcoin which my old wallet hadnt had: zcoin classics avg ttf is 0.6h with my hashrate but no block found over the last 7h, might be the same for zcoin itself (not tested)
206  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 10:34:53 PM

no matter which features is disable it always uses "login" method it seems (no-stratum, no-getwork, etc)

edit: after taking a look at this (https://github.com/sammy007/monero-stratum/blob/master/go-pool/rpc/rpc.go), im pretty sure for solo mining to work cpuminer(-opt) needs the getblocktemplate support for cryptonight coins integrated first

Yeah, no login method, but I don't think it's GBT related. I found an intereting bit of code

cpu-miner.c line 1264
Code:
        if(jsonrpc_2 && !have_stratum)
                ok = rpc2_workio_login(curl);
        while (ok)
        {

Notice no "else" clause so no login attempt here for other algos. You could try commenting out the login to see what happens.

I also looked at GBT code. I'm not sure now why I defaulted to disable GBT for RPC2. cpuminer-multi doesn't do it. You could try
commenting that out in ago-gate-api.c line 242.

I don't really expect either of these to fix it but it might eliminate some of the noise.

with the workio_login thing commented out i get:
Code:
[2017-03-18 23:28:23] 1 miner threads started, using 'cryptonight' algorithm.
[2017-03-18 23:28:23] Tried to call rpc2 command before authentication
[2017-03-18 23:28:23] getblocktemplate failed, falling back to getwork
[2017-03-18 23:28:23] Tried to call rpc2 command before authentication
[2017-03-18 23:28:23] json_rpc_call failed, retry after 10 seconds

i then commented out line 242 and got the same output as above

i then uncommented the workio_login thingy and it went back to the initial output posted before


207  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 09:08:30 PM
Looks like a problem with longpoll, try --no-longpoll.

edit: also try cpuminer-multi, if it works I can compare.

i have executed it with the --no-longpoll option, same error it seems, also tested with cpuminer-multi with and without --no-longpoll, same result:

Code:
felix@mobile:~/local projects/cpuminer-multi$ ./cpuminer -a cryptonight -t 3  -o http://10.1.1.173:41264 -DP --no-longpoll
** cpuminer-multi 1.3.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-03-18 22:06:50] Using JSON-RPC 2.0
[2017-03-18 22:06:50] CPU Supports AES-NI: YES
[2017-03-18 22:06:50] JSON protocol request:
{"method": "login", "params": {"login": "", "pass": "", "agent": "cpuminer-multi/1.3.1"}, "id": 1}

* Rebuilt URL to: http://10.1.1.173:41264/
*   Trying 10.1.1.173...
* TCP_NODELAY set
[2017-03-18 22:06:50] Binding thread 0 to cpu 0 (mask 1)
[2017-03-18 22:06:50] Binding thread 1 to cpu 1 (mask 2)
[2017-03-18 22:06:50] 3 miner threads started, using 'cryptonight' algorithm.
[2017-03-18 22:06:50] Binding thread 2 to cpu 2 (mask 4)
* Connected to 10.1.1.173 (10.1.1.173) port 41264 (#0)
* Server auth using Basic with user ''
> POST / HTTP/1.1
Host: 10.1.1.173:41264
Authorization: Basic Og==
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 98
User-Agent: cpuminer-multi/1.3.1
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Content-Length: 77
< Server: CryptoNote-based HTTP server
<
* Connection #0 to host 10.1.1.173 left intact
[2017-03-18 22:06:51] JSON protocol response:
{
   "error": {
      "code": -32601,
      "message": "Method not found"
   },
   "id": 1,
   "jsonrpc": "2.0"
}
[2017-03-18 22:06:51] JSON-RPC call failed: Method not found
[2017-03-18 22:06:51] ...retry after 10 seconds
^C[2017-03-18 22:06:54] SIGINT received, exiting

i have tested this with the wallet rpc port, with the daemon rpc port i get:
Code:
felix@mobile:~/local projects/cpuminer-multi$ ./cpuminer -a cryptonight -t 3  -o http://10.1.1.173:41263 -DP --no-longpoll
** cpuminer-multi 1.3.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-03-18 22:20:39] Using JSON-RPC 2.0
[2017-03-18 22:20:39] CPU Supports AES-NI: YES
[2017-03-18 22:20:39] JSON protocol request:
{"method": "login", "params": {"login": "", "pass": "", "agent": "cpuminer-multi/1.3.1"}, "id": 1}

* Rebuilt URL to: http://10.1.1.173:41263/
*   Trying 10.1.1.173...
* TCP_NODELAY set
[2017-03-18 22:20:39] Binding thread 0 to cpu 0 (mask 1)
[2017-03-18 22:20:39] 3 miner threads started, using 'cryptonight' algorithm.
[2017-03-18 22:20:39] Binding thread 1 to cpu 1 (mask 2)
[2017-03-18 22:20:39] Binding thread 2 to cpu 2 (mask 4)
* Connected to 10.1.1.173 (10.1.1.173) port 41263 (#0)
* Server auth using Basic with user ''
> POST / HTTP/1.1
Host: 10.1.1.173:41263
Authorization: Basic Og==
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 98
User-Agent: cpuminer-multi/1.3.1
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 404 Not Found
< Content-Length: 27
< Server: CryptoNote-based HTTP server
* HTTP error before end of send, stop sending
<
* Closing connection 0
[2017-03-18 22:20:40] JSON decode failed(1): '[' or '{' expected near 'Requested'
[2017-03-18 22:20:40] ...retry after 10 seconds
^C[2017-03-18 22:20:41] SIGINT received, exiting

to me it seems the rpc request method is "login" but this only works for pools

afaik one needs to connect to the daemon and use getblocktemplate?
atleast for the wallet there is no mining related method (https://getmonero.org/knowledge-base/developer-guides/wallet-rpc)
whereas the daemon rpc has a getblocktemplate method (https://getmonero.org/knowledge-base/developer-guides/daemon-rpc)

no matter which features is disable it always uses "login" method it seems (no-stratum, no-getwork, etc)

edit: after taking a look at this (https://github.com/sammy007/monero-stratum/blob/master/go-pool/rpc/rpc.go), im pretty sure for solo mining to work cpuminer(-opt) needs the getblocktemplate support for cryptonight coins integrated first
208  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 04:42:22 PM

What one needs to do is thus adding this new communications protocol to the miner and adjust it accordingly. This way the miner can solo mine this and similar coins without problem.

Thanks but the code already exists in the miner, it just hasn't been tested since I forked it.

i get the following:

Code:
felix@mobile:~/local projects/WebstormProjects/wallet-miner-agent$ bin/cpuminer -a cryptonight -t 3  -o http://10.1.1.173:41264 -DP

         **********  cpuminer-opt 3.6.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
CPU features: SSE2 AES AVX AVX2
SW built on Mar 16 2017 with GCC 5.4.0
SW features: SSE2 AES AVX AVX2
Algo features: SSE2 AES
Start mining with SSE2 AES

[2017-03-18 17:40:53] JSON protocol request:
{"method": "login", "params": {"login": "", "pass": "", "agent": "cpuminer-opt/3.6.0"}, "id": 1}

* Rebuilt URL to: http://10.1.1.173:41264/
*   Trying 10.1.1.173...
* TCP_NODELAY set
[2017-03-18 17:40:53] Binding thread 0 to cpu 0 (mask 1)
[2017-03-18 17:40:53] Binding thread 1 to cpu 1 (mask 2)
[2017-03-18 17:40:53] 3 miner threads started, using 'cryptonight' algorithm.
[2017-03-18 17:40:53] Binding thread 2 to cpu 2 (mask 4)
* Connected to 10.1.1.173 (10.1.1.173) port 41264 (#0)
* Server auth using Basic with user ''
> POST / HTTP/1.1
Host: 10.1.1.173:41264
Authorization: Basic Og==
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 96
User-Agent: cpuminer-opt/3.6.0
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Content-Length: 77
< Server: CryptoNote-based HTTP server
<
* Connection #0 to host 10.1.1.173 left intact
[2017-03-18 17:40:54] JSON protocol response:
{
   "error": {
      "code": -32601,
      "message": "Method not found"
   },
   "id": 1,
   "jsonrpc": "2.0"
}
[2017-03-18 17:40:54] JSON-RPC call failed: Method not found
[2017-03-18 17:40:54] ...retry after 10 seconds
^C[2017-03-18 17:40:58] SIGINT received, exiting
209  Alternate cryptocurrencies / Mining (Altcoins) / Re: Burned PCIe to PSU connector on: March 18, 2017, 04:31:18 PM
thanks for the feedback/options, will "measure" temps with my fingers and see if it gets hot, but the new psu will not arrive/get ordered till later this year as it is getting hotter in my country and my gpu rigs are not running till winter
210  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 03:38:30 PM
@ Felix

-u mustmatch coin conf
-p as in coin conf too

one of the benefits is with coinbase adr, you dont need to have the wallet started (usually)
try this pls and report us if it works for you

for me i have done so some time ago  and it has worked


Cryptonight uses a different version of RPC and doesn't support GBT. Coinbase addr is not used
for getwork.

i will try to test getwork later today, will report findings
211  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 03:37:35 PM
@ Felix

-u mustmatch coin conf
-p as in coin conf too

one of the benefits is with coinbase adr, you dont need to have the wallet started (usually)
try this pls and report us if it works for you

for me i have done so some time ago  and it has worked


i see, i think this only applies to non cryptonight algos, as joblo pointed out below they dont use coinbase-addr
212  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 18, 2017, 01:46:34 PM
i noticed this branch of ccminer: https://github.com/hyc/ccminer-cryptonight/commits/daemon

might it be possible to get cryptonight solo mining working with these modifications, ie are they easily portable to cpuminer-opt?

No one has reported it not working.

ah yes, i assumed it doesnt work

anything different as with "normal" coins like hexx?

my cmdline would look like this (blockchain still syncing):

cpuminer -a cryptonight -t 3 --coinbase-addr=<ADDR> -o http://localhost:RPC_PORT -u ?? -p ??

not sure about the username and pass param, will see if needed and/or how to set in coin config
213  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 17, 2017, 11:09:17 PM
i noticed this branch of ccminer: https://github.com/hyc/ccminer-cryptonight/commits/daemon

might it be possible to get cryptonight solo mining working with these modifications, ie are they easily portable to cpuminer-opt?
214  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 17, 2017, 08:32:05 PM
Also gcc 5.4 tested, OK!

These guys are trolling you.
Why waste the time.. It is history.
This is 2017

Even the centos is just as dead as dead can be. But original redhat.. Like from museum.

It is like asking to compile it on commodore 16.
Ok, my nintedo is faster..

everybody with compile problems and running linux can use docker btw, this approach is clean and neat
215  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner on: March 16, 2017, 06:05:02 PM
anybody knows some coins which can still be solomined (besides hexxcoin)? i want to test cpuminer-opt getwork/gbt support as well as my wrapper Tongue
216  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.5.13, open source optimized multi-algo CPU miner on: March 15, 2017, 06:33:35 PM
yes, its strange indeed, his reply is in the hexx thread: https://bitcointalk.org/index.php?topic=1171724.msg18200444#msg18200444

What was your wallet version?
It is possible if you had older it will work.
Else i just cannot tell how it is possible.

wallet is 3.0.0.8, will test latest version later and confirm still working
217  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.5.13, open source optimized multi-algo CPU miner on: March 15, 2017, 05:26:51 PM
yes, its strange indeed, his reply is in the hexx thread: https://bitcointalk.org/index.php?topic=1171724.msg18200444#msg18200444
218  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [HXX SWAP] |HexxCoin| CPU | Anonymous Zerocoin | on: March 15, 2017, 04:41:34 PM
it would be super great if you could implement rpcallowips as in bitcoin (ranges): 10.1.2.0/24

right now it doesnt work, plain ips seem to work though but its tedious

hexx: https://github.com/hexxcointakeover/hexxcoin/blob/master/src/bitcoinrpc.cpp#L546
bitcoin: https://github.com/bitcoin/bitcoin/blob/master/src/httpserver.cpp#L186

HexxCoin supports old format:
rpcallow=192.168.0.*




Getwork fixed.
Solomining with cpuminer-opt 3.6.0 will be possible.
Source updated, new wallets soon.

I will be back with my original hexxodev nick.

thanks, will test soon

i successfully mined a block with 3.5.13 modified (as per the instructions in the cpuminer-opt thread), what part of getwork was broken? i used the default hexx windows wallet, no modifications
219  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.5.13, open source optimized multi-algo CPU miner on: March 15, 2017, 04:31:57 PM

Getwork doesn't work, yet, wait for 3.6.0.

i have tested with the modifications mentioned, it works!

regarding cryptonight/cryptolight: if i understood correctly their getwork and/or gbt code is nonexistent and/or different, so coins utilizing this algo might very likely not work with solo mining?

Did you get the wallet fixes?

Cryptonight doesn't support gbt and the miner will automatically disable it. In addition the getwork code, all the rpc code, is
different from all other algos, so you presumption is correct.

It is my hope that any other coin that supports getwork should now work.

i was using the standard hexx wallet, no modifications

will test some other coins when i find some where the nethash is low and the wallet doesnt take forever to sync
220  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.5.13, open source optimized multi-algo CPU miner on: March 15, 2017, 04:15:55 PM

That's excellent news. It's looking like the miner side is working and it's just a wallet issue now.
That means it should work with almost any coin who's wallet already supports getwork.

Keep me updated on your progress. The next release will be 3.6.0 with getwork support.


i have thought about writing a small tool to setup multiple wallets and only mine when nethashrate is below a certain limit
this is intended for me walking through the ann section, finding a new coin with no pools which just launched, setting it up in the tool and boom, miner starts working there till there are enough other people so its unlikely to be profitable

awesomeminer might be able to do that already im not sure, but i want it to be able to run on linux as well

will see if this project is possible in a short timeframe and if mining even works, so im glad getwork/gbt is being worked on Smiley

edit: im interested in testing as well, i have noticed the api hashrate isnt updated when using getwork it seems, it always returns 0

Getwork doesn't work, yet, wait for 3.6.0.

i have tested with the modifications mentioned, it works!

hashrate gets displayed via api after some time (i just went shopping and returned to block found and api working)







until 3.6.0 is released i will continue testing with this modified version, maybe i find some bugs when using other wallets/coins Cheesy

regarding cryptonight/cryptolight: if i understood correctly their getwork and/or gbt code is nonexistent and/or different, so coins utilizing this algo might very likely not work with solo mining?

edit: the hashrate api bug is no bug, i just noticed its the same with stratum, only after the first submitted share the api hashrate gets updated, with getwork and solomining that can take a while, maybe the api hashrate can be updated even when no shares got submitted yet?
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!