diff --git a/_includes/devdoc/dash-core/rpcs/quick-reference.md b/_includes/devdoc/dash-core/rpcs/quick-reference.md index 69e4efea..618c83b5 100644 --- a/_includes/devdoc/dash-core/rpcs/quick-reference.md +++ b/_includes/devdoc/dash-core/rpcs/quick-reference.md @@ -216,11 +216,11 @@ These RPCs are all Dash-specific and not found in Bitcoin Core {% autocrossref %} -* [CreateRawTransaction][rpc createrawtransaction]: {{summary_createRawTransaction}} {{UPDATED0_14_1}} +* [CreateRawTransaction][rpc createrawtransaction]: {{summary_createRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_1}} * [DecodeRawTransaction][rpc decoderawtransaction]: {{summary_decodeRawTransaction}} {{UPDATED0_13_0}} * [DecodeScript][rpc decodescript]: {{summary_decodeScript}} -* [FundRawTransaction][rpc fundrawtransaction]: {{summary_fundRawTransaction}} {{NEW0_12_0}}, {{UPDATED0_14_0}} -* [GetRawTransaction][rpc getrawtransaction]: {{summary_getRawTransaction}} {{UPDATED0_14_0}} +* [FundRawTransaction][rpc fundrawtransaction]: {{summary_fundRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}} +* [GetRawTransaction][rpc getrawtransaction]: {{summary_getRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}} * [SendRawTransaction][rpc sendrawtransaction]: {{summary_sendRawTransaction}} * [SignRawTransaction][rpc signrawtransaction]: {{summary_signRawTransaction}} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/createrawtransaction.md b/_includes/devdoc/dash-core/rpcs/rpcs/createrawtransaction.md index 99e92915..72a3940f 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/createrawtransaction.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/createrawtransaction.md @@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT. ##### CreateRawTransaction {% include helpers/subhead-links.md %} + + {% assign summary_createRawTransaction="creates an unsigned serialized transaction that spends a previous output to a new output with a P2PKH or P2SH address. The transaction is not stored in the wallet or transmitted to the network." %} {% autocrossref %} @@ -39,7 +41,7 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}} - n: "→ →
`Sequence`" t: "number (int)" p: "Optional
(0 or 1)" - d: "NOT IMPLEMENTED IN DASH.

The sequence number to use for the input" + d: "Added in Dash Core 0.12.3.0.

The sequence number to use for the input" {% enditemplate %} @@ -56,6 +58,11 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}} p: "Required
(1 or more)" d: "A key/value pair with the address to pay as a string (key) and the amount to pay that address (value) in Dash" +- n: "→
Data/Hex" + t: "data : hex" + p: "Required
(1 or more)" + d: "A key/value pair where the key is 'data' and the value is hex encoded data" + {% enditemplate %} *Parameter #3---locktime* diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/fundrawtransaction.md b/_includes/devdoc/dash-core/rpcs/rpcs/fundrawtransaction.md index 7c490135..e233500c 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/fundrawtransaction.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/fundrawtransaction.md @@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT. ##### FundRawTransaction {% include helpers/subhead-links.md %} + + {% assign summary_fundRawTransaction="adds inputs to a transaction until it has enough in value to meet its out value." %} {% autocrossref %} @@ -29,15 +31,7 @@ All existing inputs must have their previous output transaction be in the wallet *Parameter #2---Additional options* -{% itemplate ntpd1 %} -- n: "`includeWatching`" - t: "bool" - p: "Optional
(0 or 1)" - d: "Inputs from watch-only addresses are also considered. The default is `false`" - -{% enditemplate %} - -The following options from Bitcoin are not implemented in Dash Core. +Note: For backwards compatibility, passing in a `true` instead of an object will result in {\"includeWatching\":true}\n" {% itemplate ntpd1 %} - n: "Options" @@ -55,6 +49,11 @@ The following options from Bitcoin are not implemented in Dash Core. p: "Optional
(0 or 1)" d: "The index of the change output. If not set, the change position is randomly chosen" +- n: "`includeWatching`" + t: "bool" + p: "Optional
(0 or 1)" + d: "Inputs from watch-only addresses are also considered. The default is `false`" + - n: "→
`lockUnspent`" t: "bool" p: "Optional
(0 or 1)" diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/getgenerate.md b/_includes/devdoc/dash-core/rpcs/rpcs/getgenerate.md index aa8d6021..42860925 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/getgenerate.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/getgenerate.md @@ -9,7 +9,7 @@ http://opensource.org/licenses/MIT. -{% assign summary_getGenerate="returns if the server is set to generate coins or not." %} +{% assign summary_getGenerate="was removed in Dash Core 0.12.3." %} {% autocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/getrawtransaction.md b/_includes/devdoc/dash-core/rpcs/rpcs/getrawtransaction.md index 39fabadc..77d85687 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/getrawtransaction.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/getrawtransaction.md @@ -7,12 +7,19 @@ http://opensource.org/licenses/MIT. ##### GetRawTransaction {% include helpers/subhead-links.md %} + + {% assign summary_getRawTransaction="gets a hex-encoded serialized transaction or a JSON object describing the transaction. By default, Dash Core only stores complete transaction data for UTXOs and your own transactions, so the RPC may fail on historic transactions unless you use the non-default `txindex=1` in your Dash Core startup settings." %} {% autocrossref %} The `getrawtransaction` RPC {{summary_getRawTransaction}} +Note: By default this function only works for mempool transactions. If the +`-txindex` option is enabled, it also works for blockchain transactions. For now, +it also works for transactions with unspent outputs although this feature is +deprecated. + {{reindexNote}} *Parameter #1---the TXID of the transaction to get* @@ -31,7 +38,7 @@ The `getrawtransaction` RPC {{summary_getRawTransaction}} - n: "Format" t: "bool" p: "Optional
(0 or 1)" - d: "For Dash:
Set to `0` (the default) to return the serialized transaction as hex. Set to `1` to return a decoded transaction.

*Updated in Bitcoin Core 0.14.0*

Set to `false` (the default) to return the serialized transaction as hex. Set to `true` to return a decoded transaction. Before 0.14.0, use `0` and `1`, respectively" + d: "*Updated in Dash Core 0.12.3 / Bitcoin Core 0.14.0*

Set to `false` (the default) to return the serialized transaction as hex. Set to `true` to return a decoded transaction. Before 0.12.3, use `0` and `1`, respectively" {% enditemplate %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/setgenerate.md b/_includes/devdoc/dash-core/rpcs/rpcs/setgenerate.md index de25edb5..9de1db84 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/setgenerate.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/setgenerate.md @@ -7,7 +7,7 @@ http://opensource.org/licenses/MIT. ##### SetGenerate {% include helpers/subhead-links.md %} -{% assign summary_setGenerate="enables or disables hashing to attempt to find the next block." %} +{% assign summary_setGenerate="was removed in Dash Core 0.12.3." %} diff --git a/_includes/helpers/summaries.md b/_includes/helpers/summaries.md index 56810035..3f8b3223 100644 --- a/_includes/helpers/summaries.md +++ b/_includes/helpers/summaries.md @@ -47,7 +47,7 @@ This file is licensed under the terms of its source texts{%endcomment%} {% assign summary_getChainTips="returns information about the highest-height block (tip) of each local block chain." %} {% assign summary_getConnectionCount="returns the number of connections to other nodes." %} {% assign summary_getDifficulty="returns the proof-of-work difficulty as a multiple of the minimum difficulty." %} -{% assign summary_getGenerate="returns if the server is set to generate coins or not." %} +{% assign summary_getGenerate="was removed in Dash Core 0.12.3." %} {% assign summary_getGovernanceInfo="returns an object containing governance parameters." %} {% assign summary_getHashesPerSec="was removed in Bitcoin Core 0.11.0 and is not part of Dash." %} {% assign summary_getInfo="prints various information about the node and the network." %} @@ -124,7 +124,7 @@ This file is licensed under the terms of its source texts{%endcomment%} {% assign summary_sentinelPing="sends a Sentinel Ping to the network." %} {% assign summary_setAccount="puts the specified address in the given account." %} {% assign summary_setBan="attempts add or remove a IP/Subnet from the banned list." %} -{% assign summary_setGenerate="enables or disables hashing to attempt to find the next block." %} +{% assign summary_setGenerate="was removed in Dash Core 0.12.3." %} {% assign summary_setNetworkActive="disables/enables all P2P network activity." %} {% assign summary_setTxFee="sets the transaction fee per kilobyte paid by transactions created by this wallet." %} {% assign summary_signMessage="signs a message with the private key of an address." %} diff --git a/_includes/helpers/vars.md b/_includes/helpers/vars.md index 5be65729..b3ba1ee9 100644 --- a/_includes/helpers/vars.md +++ b/_includes/helpers/vars.md @@ -427,4 +427,4 @@ NOT IN DASH {% assign WARNING="![Warning icon](/img/icons/icon_warning.svg) **Warning:**" %} {% assign WARNING_ICON="![Warning icon](/img/icons/icon_warning.svg)" %} -{% assign reindexNote="Note: if you begin using `txindex=1` after downloading the block chain, you must rebuild your indexes by starting Bitcoin Core with the option `-reindex`. This may take several hours to complete, during which time your node will not process new blocks or transactions. This reindex only needs to be done once." %} +{% assign reindexNote="Note: if you begin using `txindex=1` after downloading the block chain, you must rebuild your indexes by starting Dash Core with the option `-reindex`. This may take several hours to complete, during which time your node will not process new blocks or transactions. This reindex only needs to be done once." %} diff --git a/_includes/layout/base/rpc-table.html b/_includes/layout/base/rpc-table.html index e40d7b9e..3cbef0fe 100644 --- a/_includes/layout/base/rpc-table.html +++ b/_includes/layout/base/rpc-table.html @@ -308,13 +308,13 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header:: 0.12.3.0+ - Generating + Removed GetGenerate Y Removed in 0.12.3.0 - Generating + Removed SetGenerate Y Removed in 0.12.3.0 @@ -425,7 +425,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header:: Rawtransactions CreateRawTransaction Y - + Updated in 0.12.3.0 Rawtransactions @@ -443,13 +443,13 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header:: Rawtransactions FundRawTransaction Y - + Updated in 0.12.3.0 Rawtransactions GetRawTransaction Y - + Updated in 0.12.3.0 Rawtransactions