mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
release-notes: Combine NOP2->CLTV asm change into "RPC: Low-level API changes" section
This commit is contained in:
parent
e20704ba71
commit
f17b00b66f
@ -276,11 +276,14 @@ RPC: Low-level API changes
|
|||||||
* The `asm` property of each scriptSig now contains the decoded signature hash
|
* The `asm` property of each scriptSig now contains the decoded signature hash
|
||||||
type for each signature that provides a valid defined hash type.
|
type for each signature that provides a valid defined hash type.
|
||||||
|
|
||||||
|
* OP_NOP2 has been renamed to OP_CHECKLOCKTIMEVERIFY by [BIP 65](https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki)
|
||||||
|
|
||||||
The following items contain assembly representations of scriptSig signatures
|
The following items contain assembly representations of scriptSig signatures
|
||||||
and are affected by this change:
|
and are affected by this change:
|
||||||
|
|
||||||
- RPC `getrawtransaction`
|
- RPC `getrawtransaction`
|
||||||
- RPC `decoderawtransaction`
|
- RPC `decoderawtransaction`
|
||||||
|
- RPC `decodescript`
|
||||||
- REST `/rest/tx/` (JSON format)
|
- REST `/rest/tx/` (JSON format)
|
||||||
- REST `/rest/block/` (JSON format when including extended tx details)
|
- REST `/rest/block/` (JSON format when including extended tx details)
|
||||||
- `bitcoin-tx -json`
|
- `bitcoin-tx -json`
|
||||||
@ -288,11 +291,11 @@ and are affected by this change:
|
|||||||
For example, the `scriptSig.asm` property of a transaction input that
|
For example, the `scriptSig.asm` property of a transaction input that
|
||||||
previously showed an assembly representation of:
|
previously showed an assembly representation of:
|
||||||
|
|
||||||
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c509001
|
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c509001 400000 OP_NOP2
|
||||||
|
|
||||||
now shows as:
|
now shows as:
|
||||||
|
|
||||||
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c5090[ALL]
|
304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c5090[ALL] 400000 OP_CHECKLOCKTIMEVERIFY
|
||||||
|
|
||||||
Note that the output of the RPC `decodescript` did not change because it is
|
Note that the output of the RPC `decodescript` did not change because it is
|
||||||
configured specifically to process scriptPubKey and not scriptSig scripts.
|
configured specifically to process scriptPubKey and not scriptSig scripts.
|
||||||
@ -350,20 +353,6 @@ caching. A sample config for apache2 could look like:
|
|||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
Asm script outputs now contain OP_CHECKLOCKTIMEVERIFY in place of OP_NOP2
|
|
||||||
-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
OP_NOP2 has been renamed to OP_CHECKLOCKTIMEVERIFY by [BIP
|
|
||||||
65](https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki)
|
|
||||||
|
|
||||||
The following outputs are affected by this change:
|
|
||||||
- RPC `getrawtransaction` (in verbose mode)
|
|
||||||
- RPC `decoderawtransaction`
|
|
||||||
- RPC `decodescript`
|
|
||||||
- REST `/rest/tx/` (JSON format)
|
|
||||||
- REST `/rest/block/` (JSON format when including extended tx details)
|
|
||||||
- `bitcoin-tx -json`
|
|
||||||
|
|
||||||
0.12.0 Change log
|
0.12.0 Change log
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user