Skip to content

Commit ced2410

Browse files
authored
Merge pull request #2065 from lisenokdonbassenok/fix/bip310-min-bit-count-param
2 parents 0f30778 + 6441993 commit ced2410

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-0310.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ Example result (unknown extension):
180180
to be stable for the whole mining session. A miner doesn't have to
181181
send the mask, in this case a default full mask is used.
182182

183+
* '''"version-rolling.min-bit-count"''' (REQUIRED, ''Integer'', >= 0)
184+
::- The miner also provides a minimum number of bits that it needs for efficient version rolling in hardware. Note that this parameter provides important diagnostic information to the pool server. If the requested bit count exceeds the limit of the pool server, the miner always has the chance to operate in a degraded mode without using full hashing power. The pool server SHOULD NOT terminate miner connection if this rare mismatch case occurs.
185+
183186
'''Extension return values''':
184187

185188
* '''"version-rolling"''' (REQUIRED, ''TExtensionResult'')
@@ -189,9 +192,6 @@ send the mask, in this case a default full mask is used.
189192
::- Bits set to 1 are allowed to be changed by the miner. If a miner changes bits with mask value 0, the server will reject the submit.
190193
::- The server SHOULD return the largest mask possible (as many bits set to 1 as possible). This can be useful in a mining proxy setup when a proxy needs to negotiate the best mask for its future clients. There is a [https://github.com/bitcoin/bips/pull/661/files Draft BIP] describing available nVersion bits. The server SHOULD pick a mask that preferably covers all bits specified in the BIP.
191194

192-
* '''"version-rolling.min-bit-count"''' (REQUIRED, ''TMask'')
193-
::- The miner also provides a minimum number of bits that it needs for efficient version rolling in hardware. Note that this parameter provides important diagnostic information to the pool server. If the requested bit count exceeds the limit of the pool server, the miner always has the chance to operate in a degraded mode without using full hashing power. The pool server SHOULD NOT terminate miner connection if this rare mismatch case occurs.
194-
195195
===Notification '''"mining.set_version_mask"'''===
196196

197197
Server notifies the miner about a new mask valid for the

0 commit comments

Comments
 (0)