From 6441993757169c8503ee826ebd3333708cf8c7ed Mon Sep 17 00:00:00 2001 From: lisenokdonbassenok Date: Thu, 18 Dec 2025 14:46:10 +0200 Subject: [PATCH] BIP-310: fix version-rolling.min-bit-count parameter spec --- bip-0310.mediawiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bip-0310.mediawiki b/bip-0310.mediawiki index 34522bea3f..a838a66ee5 100644 --- a/bip-0310.mediawiki +++ b/bip-0310.mediawiki @@ -183,6 +183,9 @@ Example result (unknown extension): to be stable for the whole mining session. A miner doesn't have to send the mask, in this case a default full mask is used. +* '''"version-rolling.min-bit-count"''' (REQUIRED, ''Integer'', >= 0) +::- 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. + '''Extension return values''': * '''"version-rolling"''' (REQUIRED, ''TExtensionResult'') @@ -192,9 +195,6 @@ send the mask, in this case a default full mask is used. ::- 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. ::- 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. -* '''"version-rolling.min-bit-count"''' (REQUIRED, ''TMask'') -::- 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. - ===Notification '''"mining.set_version_mask"'''=== Server notifies the miner about a new mask valid for the