Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question: command line configuration for --coin=monero #349

Closed
ghost opened this issue Oct 28, 2019 · 5 comments
Closed

Question: command line configuration for --coin=monero #349

ghost opened this issue Oct 28, 2019 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 28, 2019

xmrig allows --coin=monero so that we can auto switch when the fork happens

is there a way to configure xmrig-proxy from the command line in a similar way?

@xmrig
Copy link
Owner

xmrig commented Oct 28, 2019

https://github.com/xmrig/xmrig-proxy/releases/tag/v3.2.0 it should works exactly same way.
Thank you.

@xmrig xmrig added the question label Oct 28, 2019
@ghost
Copy link
Author

ghost commented Oct 28, 2019

using config.json it seems to work but from command line i am trying to guess a permutation that will let me log on to the pool.

if i specify --algo cn/r i can log on to the pool

if i specify --coin=monero it fails whereas with config.json it works

  • ABOUT xmrig-proxy/3.2.0 gcc/6.3.1
  • LIBS libuv/1.7.5 OpenSSL/1.0.2k
  • MODE nicehash

./xmrig-proxy: unrecognized option '--coin=monero'
or
./xmrig-proxy: unrecognized option '--coin'

this is on a fedora 24 build in case there is a command parse dependency

@xmrig xmrig added bug and removed question labels Oct 28, 2019
@xmrig
Copy link
Owner

xmrig commented Oct 28, 2019

You are right, I confirm the bug. Thank you.

@ghost
Copy link
Author

ghost commented Oct 31, 2019

adding a line after line 48 in src/core/config/Config_platform.h
"coin", 1, nullptr, IConfig::CoinKey
seems to clear this up for me

xmrig added a commit that referenced this issue Nov 1, 2019
@xmrig
Copy link
Owner

xmrig commented Nov 2, 2019

Fixed in v3.2.1 and v4.5.0-beta.

@xmrig xmrig closed this as completed Nov 2, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant