SmartMining is a protocol allowing you to switch coins during your mining session.
The server will send the best algorithm and associated jobs based on the listed coins.
miner pool
| |
| --> mining.subscribe |
| <--- response |
| <--- smart_mining.set_algo |
| <--- smart_mining.set_extra_nonce |
| |
mining.subscribe:
{
"id": 1,
"method": "mining.subscribe",
"params":
[
"WORKERNAME",
"PASSWORD",
[
[
"COIN_TAG",
"POOL_HOST",
POOL_PORT,
"YOUR_WALLET"
]
],
...
]
}WORKERNAME -> string: name or loging of the worker
PASSWORD -> string: password
COIN_TAG -> string: name of coin, examples RVN, FIRO,...
POOL_HOST -> string: pool host, examples "rvn.2miners.com", "pool.eu.woolypooly.com",...
POOL_PORT -> integer: pool port, examples 2020,3126,...
YOUR_WALLET -> string: your wallet linked to COIN_TAG.
smart_mining.set_algo:
{
"id": 1,
"method": "smart_mining.set_algo",
"params": "ALGORITHM"
}ALGORITHM -> string name of algorithm, example kawpow, ethash,...
smart_mining.set_extra_nonce:
{
"id": 2,
"method": "smart_mining.set_extra_nonce",
"params": PARAMS_EXTRA_NONCE
}PARAMS_EXTRA_NONCE -> array or integer contains the extraNonce(s)