Bitcoin Forum
May 25, 2024, 01:04:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Problem submitting Monero stratum results on: January 20, 2018, 01:14:58 AM
One line in my stratum code treats the nonce, as an int, instead of unsigned..... argh!!  Still it works now..  New miner features now finally under development!!
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Problem submitting Monero stratum results on: January 17, 2018, 09:04:36 PM
Quick bump!  I'm currently building my own stratum test socket, with blackjack, and hookers so I can get direct wireshark captures of a working miner vs mine!  Someone must know why a pool would disconnect though!
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: Problem submitting Monero stratum results on: January 16, 2018, 11:42:28 PM
Don't suppose there's a dev group, for this sort of stuff, most of the discussion here is on the actual mining itself!
4  Bitcoin / Mining software (miners) / Re: Help with stratum protocol/transport questions on: January 16, 2018, 11:09:57 PM
Currently having problems with stratum from the opposite side, while building my own mining software.  I've spent the last couple of days, trying to simply submit a result to a stratum pool...

The original spec, pretty clearly dislikes the whole HTTP / long poll approach, and I agree, I barely considered anything other than a plain socket (with cJSON to handle the data), it's way simpler than anything else and does *almost* everything needed... only potential extra feature needed, is SSL...  So I think a proxy just supporting TCP sockets would do for most miners.

I've looked through a couple of the open source Monero miners today, and everything I've checked just uses plain TCP sockets.

I'm using Claymore for Ethereum and that's stratum+tcp also.

Thx Monerofox
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: Problem submitting Monero stratum results on: January 16, 2018, 09:50:25 PM
Hi again,, still a bit stuck at this point.  Have tried with another pool and got the same result ... is there any way to check a result?  I think it is more likely my stratum code is wrong, rather than the hashing, because I have done a test hashing a known blob and get the expected result..

But as an example I've got this here job:

"blob":"060692baefd2057a0fe6dd28e539071344e333eea1515f5be7e881d70a01f6db8e6ee2051b08fd0 00000007178596eb1deae148f4a8b6b8b33eff4d5d05079c4ffab302aae88ba941addfb08"
"target":"711b0d00"

Which is mined to this result:

"nonce":"53aeaaaa"
"result":"834433beab3e3ade4bf575dcecfbb0fc6f757fadc88fa486a0c4c5827ea60200"

Which looks right to me.  Am now trying to pull apart another miner, to check it, but wondering if there's any ready made tools I could use here...

Thx Monerofox
6  Alternate cryptocurrencies / Mining (Altcoins) / Problem submitting Monero stratum results on: January 16, 2018, 01:23:13 AM
Hi!

I'm trying to build my own Monero pool mining software,,, and struggling with submitting results ...

So I thought I'd got the build to a stage where it should work and connected up to one of the pools...  Things start off well, connected and logged in fine, processed the job correctly I think and started mining.  But when it gets a result, and sends the submit back to the pool, it immediately gets a disconnect on the socket...

FYI was running Wireshark to see independently of my own code what goes over the wire... my submit call goes out in a packet, and 284ms later, I am getting a FIN, ACK in reply..  I've tried to test some of my results as well with an open source cryptonight implementation, to validate that my result is valid, and it seems OK there also.

Anyone seen that sort of thing before?  What does it mean if the pool disconnects me on submit?

Thx Monerofox
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!