Skip to content

Add a BIP to define 24 bits of nVersion as nonce space not 16#2116

Open
TheBlueMatt wants to merge 1 commit intobitcoin:masterfrom
TheBlueMatt:2026-02-more-bits
Open

Add a BIP to define 24 bits of nVersion as nonce space not 16#2116
TheBlueMatt wants to merge 1 commit intobitcoin:masterfrom
TheBlueMatt:2026-02-more-bits

Conversation

@TheBlueMatt
Copy link
Contributor

No description provided.

<pre>
BIP: ?
Title: 24 nVersion bits for general purpose use
Author: Matt Corallo <bips@bluematt.me>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Author: Matt Corallo <bips@bluematt.me>
Authors: Matt Corallo <bips@bluematt.me>

Author: Matt Corallo <bips@bluematt.me>
Status: Draft
Type: Specification
Created: 2026-02-26
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Created: 2026-02-26
Assigned: ?


==Rationale==

Headers-only mining avoids mining devices (either ASICs or the firmware) from having to concern itself with the vast space of consensus logic (handling transactions, merkle trees, etc). It is widely deployed in ASICs, but requires a substantial number of jobs fed across an entire device, keeping the ASIC controller busy. Providing additional nonce space for the ASICs to roll without needing fresh work from the controller may simplify ASIC design somewhat, and as been apparently adopted in some miners by using extra space in nTime as extra nonce space. Doing so in nVersion instead is preferable to using nTime.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Headers-only mining avoids mining devices (either ASICs or the firmware) from having to concern itself with the vast space of consensus logic (handling transactions, merkle trees, etc). It is widely deployed in ASICs, but requires a substantial number of jobs fed across an entire device, keeping the ASIC controller busy. Providing additional nonce space for the ASICs to roll without needing fresh work from the controller may simplify ASIC design somewhat, and as been apparently adopted in some miners by using extra space in nTime as extra nonce space. Doing so in nVersion instead is preferable to using nTime.
Headers-only mining avoids mining devices (either ASICs or the firmware) from having to concern themselves with the vast space of consensus logic (handling transactions, merkle trees, etc). It is widely deployed in ASICs, but requires a substantial number of jobs fed across an entire device, keeping the ASIC controller busy. Providing additional nonce space for the ASICs to roll without needing fresh work from the controller may simplify ASIC design somewhat, and has been apparently adopted in some miners by using extra space in nTime as extra nonce space. Doing so in nVersion instead is preferable to using nTime.

Also, for legibility of review comments, it would be preferable if you limited the length of the lines in the document.

Comment on lines +8 to +9
License: BSD-3-Clause
CC0-1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since BIP3 deployed, we are using License Expressions for the License header values: https://github.com/bitcoin/bips/blob/master/bip-0003.md#specification-1

Suggested change
License: BSD-3-Clause
CC0-1.0
License: BSD-3-Clause OR CC0-1.0


Timo Hanke and Sergio Lerner for originally proposing 15-bit extra nNonce2. Btc Drak for writing BIP 320.

==Changelog==
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: It would be preferable to only add this section when it has content.

Created: 2026-02-26
License: BSD-3-Clause
CC0-1.0
Replaces: 320
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that this was discussed on the mailing list. Please add a Discussion header:

Suggested change
Replaces: 320
Discussion: 2026-02-26: https://gnusha.org/pi/bitcoindev/6fa0cb45-37d6-4b41-9ff8-03730fd96d6e@mattcorallo.com/
Replaces: 320

Please also add the corresponding Proposed-Replacement header to BIP 320.

@murchandamus murchandamus added New BIP PR Author action required Needs updates, has unaddressed review comments, or is otherwise waiting for PR author labels Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New BIP PR Author action required Needs updates, has unaddressed review comments, or is otherwise waiting for PR author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants