Pool/Miners communications

Stratum communication methods

Pool needs a stratum server running

Here are the methods that miners and pool use to communicate

Login

(Miner to Pool):
{
id: 1,
jsonrpc: '2.0',
method: 'login',
params: {
login: '0x5f64108cCabE790207d09F514DB76F659E9aa8eb',
pass: 'x',
agent: 'XMRig/6.21.3 (Windows NT 10.0; Win64; x64) libuv/1.48.0 msvc/2019',
algo: [
'rx/0',          'cn/2',
'cn/r',          'cn/fast',
'cn/half',       'cn/xao',
'cn/rto',        'cn/rwz',
'cn/zls',        'cn/double',
'cn/ccx',        'cn-lite/1',
'cn-heavy/0',    'cn-heavy/tube',
'cn-heavy/xhv',  'cn-pico',
'cn-pico/tlo',   'cn/upx2',
'cn/1',          'rx/wow',
'rx/arq',        'rx/graft',
'rx/sfx',        'rx/keva',
'argon2/chukwa', 'argon2/chukwav2',
'argon2/ninja',  'ghostrider'
]
}
}

how to get the data

job_id: must be string can contain letters blob: for miner blob construction please read the BASICS sections Blob, Nonce and Reserved Space. Read Etica Smart Contract

seed_hash: is a global variable Read Etica Smart Contract

height: is the current ETI block height Read Etica Smart Contract

target: it's a target not difficulty, check this page for details Target

Submit Share

nonce: the 4bytes nonce solution result: the 32bytes randomX hash result

Send Job

sends new job to miner

how to get the data

job_id: must be string can contain letters blob: for miner blob construction please read the BASICS sections Blob, Nonce and Reserved Space. Blob

seed_hash: is a global variable Read Etica Smart Contract

height: is the current ETI block height Read Etica Smart Contract

algo: 'rx/0' (it's a zero not O) corresponds to randomX algo

Last updated