ishitatsuyuki / acominer

An experimental ETH miner powered by Vulkan
Apache License 2.0
18 stars 6 forks source link

Stratumv2 Support #2

Closed Titaniumtown closed 2 years ago

Titaniumtown commented 2 years ago

So I mine on MoneroOcean, which is a multi-coin pool, and acominer seems to fail parsing that. When I run the command ./target/release/acominer stratum2+tcp://[my monero address]:server_gpus~ethash@gulf.moneroocean.stream:11024, I get the error: Error: missing field id at line 1 column 81. For context, column 81 is smack dab in the middle of my wallet address.

ishitatsuyuki commented 2 years ago

Looks like the pool is using some variant of stratum2, while this miner only implements EthereumStratum/1.0.0 (NiceHash). Not sure I can deal with this right now as the pool I mine on and most of the pools I know exclusively use this protocol.

If you want to try this yourself, you can look at the client implementation in https://github.com/ishitatsuyuki/acominer/blob/master/src/stratum.rs.

Titaniumtown commented 2 years ago

Hm ok. I'm poking around with it, I'll see if I can hopefully whip something up.

ishitatsuyuki commented 2 years ago

Your pool is now supported with b527e67. Download from here.

It was in fact not using Stratum2 but just a more out-of-spec version of NiceHash Stratum. I think there are no pools out there using Stratum2.

Titaniumtown commented 2 years ago

Ah ok. Thanks!