BIP54 proposes constraining the coinbase transaction nLockTime and nSequence fields.
Bitcoin Core’s internal mining code has been doing this since v30.0 (see https://github.com/bitcoin/bitcoin/pull/32155), but currently the fields are only communicated to IPC clients (i.e. Stratum v2, see e.g. https://github.com/bitcoin/bitcoin/pull/33819).
This PR extends BIP54 with the following BIP22 fields (getblocktemplate RPC):
lock_timesequenceversion(not used by BIP54, but it makesgetblocktemplatenow cover all coinbase transaction fields)
Setting these fields makes miners forward compatible with BIP54, if it’s ever activated, but is not the same as version bit signaling.
Reference implementation: https://github.com/bitcoin/bitcoin/pull/34419
Mailinglist post: https://groups.google.com/g/bitcoindev/c/znBz5MA7_Bo/m/CY2uMIenAgAJ