Skip to content

Commit 6441993

Browse files
BIP-310: fix version-rolling.min-bit-count parameter spec
1 parent 46858e5 commit 6441993

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
@@ -183,6 +183,9 @@ Example result (unknown extension):
183183
to be stable for the whole mining session. A miner doesn't have to
184184
send the mask, in this case a default full mask is used.
185185

186+
* '''"version-rolling.min-bit-count"''' (REQUIRED, ''Integer'', >= 0)
187+
::- 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.
188+
186189
'''Extension return values''':
187190

188191
* '''"version-rolling"''' (REQUIRED, ''TExtensionResult'')
@@ -192,9 +195,6 @@ send the mask, in this case a default full mask is used.
192195
::- 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.
193196
::- 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.
194197

195-
* '''"version-rolling.min-bit-count"''' (REQUIRED, ''TMask'')
196-
::- 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.
197-
198198
===Notification '''"mining.set_version_mask"'''===
199199

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

0 commit comments

Comments
 (0)