Sjors
commented at 2:17 pm on January 27, 2026:
member
BIP54 proposes contraining the cointbase transaction nLockTime and nSequence fields. Our internal mining code has been doing this since #32155, but currently the fields are only communicated to IPC clients (see e.g. #33819).
This PR extends the getblocktemplate RPC to provide these fields.
See the guideline for information on the review process.
A summary of reviews will appear here.
Sjors force-pushed
on Jan 27, 2026
DrahtBot added the label
CI failed
on Jan 27, 2026
Sjors
commented at 3:03 pm on January 27, 2026:
member
Added the coinbase nVersion.
Sjors renamed this:
mining: add coinbase locktime and sequence fields to getblocktemplate RPC
mining: add coinbase locktime, sequence and version fields to getblocktemplate RPC
on Jan 27, 2026
DrahtBot removed the label
CI failed
on Jan 27, 2026
Sjors marked this as ready for review
on Feb 9, 2026
mining: add coinbase locktime and sequence fields
Expand the getblocktemplate RPC result with two fields to prepare
for a possible BIP54 deployment in the future.
e3d4f3f7fe
Sjors force-pushed
on Mar 4, 2026
Sjors
commented at 1:33 pm on March 4, 2026:
member
Although it’s harmless to add, I also dropped it from the implementation here for clarity. It can be added in a followup.
Sjors renamed this:
mining: add coinbase locktime, sequence and version fields to getblocktemplate RPC
mining: add coinbase locktime and sequence fields to getblocktemplate RPC
on Mar 4, 2026
DrahtBot added the label
CI failed
on Mar 4, 2026
DrahtBot removed the label
CI failed
on Mar 5, 2026
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-03-14 06:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me