ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

-P why? #964

Closed holyr00d closed 6 years ago

holyr00d commented 6 years ago

was there really a need to add this. or am i missing something?

it is not compatible with a lot of pools and I do not expect the pools to adjust anything for the sake of this miner.....

ghost commented 6 years ago

its compatible with most just wait for proper syntax have mine working with ethermine ssl atm

alexmannen commented 6 years ago

for an idiot can you explain how to setup. previous was ethminer -g -s URL -o login when i tried ethminer -g -p url -p login , it just crash on minergate

ghost commented 6 years ago

-P stratum+ssl://address.Theta:x@us1.ethermine.org:5555 -U -RH is my current one. replace ssl with tcp for normal stratum

Zohaib2018 commented 6 years ago

snd me link i want ethmine :(

On Tue, Apr 3, 2018 at 7:23 AM, ThetaProtocol notifications@github.com wrote:

-P stratum+ssl://address.Theta:x@us1.ethermine.org:5555 -U -RH is my current one. replace ssl with tcp for normal stratum

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ethereum-mining/ethminer/issues/964#issuecomment-378107177, or mute the thread https://github.com/notifications/unsubscribe-auth/AkMo91YP86CQDrXJXEIlHktf89LYlq34ks5tkt0SgaJpZM4TCy_6 .

AndreaLanfranchi commented 6 years ago

@alexmannen

Syntax is (values in square brackets are optional). Just replace with YOUR values

-P <scheme>://<youretheraddress>[.<workername>]@<poolhostname:poolconnectionport>

where <scheme> can be any of
stratum+ssl 
stratum+tcp 
stratum+tls 
stratum+tls12 
stratum1+ssl 
stratum1+tcp 
stratum1+tls 
stratum1+tls12 
stratum2+ssl 
stratum2+tcp 
stratum2+tls 
stratum2+tls12

Mostly you may want tu use stratum+tcp

Note that

stratum is equivalent to "old" syntax -SP 0 (default)
stratum1 is equivalent to "old" syntax -SP 1
stratum2 is equivalent to "old" syntax -SP 2 
kkkrackpot commented 6 years ago

New URL scheme (-P) is rather inconvenient when you have to deal with it in a terminal over SSH or edit shell scripts with nano, etc...

AnjinMeili commented 6 years ago

New scheme allows you to easily define primary and standby pools using unique wallets, workers, and passwords.

gituser-4 commented 6 years ago

And what is the analog of the command --stratum-ssl [] (deprecated)

   **2: Allow self-signed or invalid certs and any TLS version**

???

AndreaLanfranchi commented 6 years ago

And what is the analog of the command --stratum-ssl [] (deprecated)

What about -P stratum+ssl://.... ?

bitkevin commented 5 years ago

ssl is old name, should use TLS instead, so "stratum+tls" is better.