Skip to content

Commit f17b00b

Browse files
committed
release-notes: Combine NOP2->CLTV asm change into "RPC: Low-level API changes" section
1 parent e20704b commit f17b00b

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

doc/release-notes.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -276,23 +276,26 @@ RPC: Low-level API changes
276276
* The `asm` property of each scriptSig now contains the decoded signature hash
277277
type for each signature that provides a valid defined hash type.
278278

279+
* OP_NOP2 has been renamed to OP_CHECKLOCKTIMEVERIFY by [BIP 65](https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki)
280+
279281
The following items contain assembly representations of scriptSig signatures
280282
and are affected by this change:
281283

282284
- RPC `getrawtransaction`
283285
- RPC `decoderawtransaction`
286+
- RPC `decodescript`
284287
- REST `/rest/tx/` (JSON format)
285288
- REST `/rest/block/` (JSON format when including extended tx details)
286289
- `bitcoin-tx -json`
287290

288291
For example, the `scriptSig.asm` property of a transaction input that
289292
previously showed an assembly representation of:
290293

291-
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c509001
294+
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c509001 400000 OP_NOP2
292295

293296
now shows as:
294297

295-
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c5090[ALL]
298+
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c5090[ALL] 400000 OP_CHECKLOCKTIMEVERIFY
296299

297300
Note that the output of the RPC `decodescript` did not change because it is
298301
configured specifically to process scriptPubKey and not scriptSig scripts.
@@ -350,20 +353,6 @@ caching. A sample config for apache2 could look like:
350353

351354
</VirtualHost>
352355

353-
Asm script outputs now contain OP_CHECKLOCKTIMEVERIFY in place of OP_NOP2
354-
-------------------------------------------------------------------------
355-
356-
OP_NOP2 has been renamed to OP_CHECKLOCKTIMEVERIFY by [BIP
357-
65](https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki)
358-
359-
The following outputs are affected by this change:
360-
- RPC `getrawtransaction` (in verbose mode)
361-
- RPC `decoderawtransaction`
362-
- RPC `decodescript`
363-
- REST `/rest/tx/` (JSON format)
364-
- REST `/rest/block/` (JSON format when including extended tx details)
365-
- `bitcoin-tx -json`
366-
367356
0.12.0 Change log
368357
=================
369358

0 commit comments

Comments
 (0)