RPC - Update getblock - add cbTx

This commit is contained in:
thephez 2019-04-02 13:16:46 -04:00
parent 8dad4f164e
commit b09853cf92
No known key found for this signature in database
GPG key ID: BBC8A06DBE236099

View file

@ -3,6 +3,7 @@ This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/getblock.md" %}
<!--__-->
##### GetBlock
{% include helpers/subhead-links.md %}
@ -96,6 +97,26 @@ The `getblock` RPC {{summary_getBlock}}
p: "Required<br>(1 or more)"
d: "The TXID of a transaction in this block, encoded as hex in RPC byte order"
- n: "→<br>`cbTx`"
t: "object"
p: "Required<br>(exactly 1)"
d: "Coinbase special transaction details"
- n: "→ →<br>`version`"
t: "number (int)"
p: "Required<br>(exactly 1)"
d: "The version of the Coinbase special transaction (CbTx)"
- n: "→ →<br>`height`"
t: "number (int)"
p: "Required<br>(exactly 1)"
d: "The height of this block on its block chain"
- n: "→ →<br>`merkleRootMNList`"
t: "string (hex)"
p: "Required<br>(exactly 1)"
d: "The merkle root for the masternode list"
- n: "→<br>`time`"
t: "number (int)"
p: "Required<br>(exactly 1)"
@ -191,6 +212,26 @@ The `getblock` RPC {{summary_getBlock}}
{{INCLUDE_DECODE_RAW_TRANSACTION}}
- n: "→<br>`cbTx`"
t: "object"
p: "Required<br>(exactly 1)"
d: "Coinbase special transaction details"
- n: "→ →<br>`version`"
t: "number (int)"
p: "Required<br>(exactly 1)"
d: "The version of the Coinbase special transaction (CbTx)"
- n: "→ →<br>`height`"
t: "number (int)"
p: "Required<br>(exactly 1)"
d: "The height of this block on its block chain"
- n: "→ →<br>`merkleRootMNList`"
t: "string (hex)"
p: "Required<br>(exactly 1)"
d: "The merkle root for the masternode list"
- n: "→<br>`time`"
t: "number (int)"
p: "Required<br>(exactly 1)"