-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathAlephium_NiceHash_v1.0.txt
48 lines (32 loc) · 1.46 KB
/
Alephium_NiceHash_v1.0.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-------------------------------------------------------------------------
NiceHash presents
=========================================================================
Alephium mining protocol modification v1.0
=========================================================================
I. Introduction & Concept
II. Specifications (RFC)
III. Contact
I. Introduction & Concept
-------------------------
This specification is placing additional restriction for nonce length
provided by the pools.
II. Specifications (RFC)
-------------------------
a. Subscribe response
Pool provides fixed "nonceprefix" miners should use when rolling
nonce on login with "mining.set_extranonce" message.
Example:
{"id":null,"method":"mining.set_extranonce","params":["515a"]}
Response provides nonceprefix "515a" which is 2 bytes long. To prevent duplicate shares
and properly distribute work load, NiceHash adds at least additional byte for the miners, which
sets nonceprefix to 3 bytes.
b. Nonceprefix
While nonce is 192 bit (24 bytes) wide, ASICs are hardcoded in hardware to only consider the first
two (2) bytes of pool nonceprefix, while the rest are freely rolled and overwritten by the miner.
Setting the nonceprefix to 3 or more bytes is therefore not an option.
Thus, the allowed nonceprefix provided by the pool is limited to either 0 or 1 bytes.
If set to 0 bytes, the "mining.set_extranonce" message can be skipped.
III. Contact
-----------
www.nicehash.com