Skip to content

Commit a7bbd65

Browse files
committed
[Content] v12.3 RPC changes (dash-docs#38)
* content - Mempool related RPC updates - Add getmempoolancestors, getmempooldescendants, and getmempoolentry RPCs - Update Ref and Table * content - Generate RPCs updated - Mark get/setgenerate as removed - Add generatetoaddress details - Update Ref and Table * content - Debug RPC updated - Change delimiter to + instead of comma - Update Ref and Table * content - GetInfo RPCs updated - getaddednodeinfo, getmemoryinfo, getnetworkinfo - Update Ref and Table * content - Added PreciousBlock RPC - Update Ref and Table * content - Added and update RPCs - Debug, estimatepriority, estimatesmartpriority, listunspent, signmessagewithprivkey, validateaddress - Update Ref and Table * Update GObject Getcurrentvotes with shortened outpoint output - Update example and Vote Info field - Ref dash-docs#24 * content - Update generate RPC - Add iterations parameter - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663) * content - Update rawtransaction and generate RPCs - CreateRawTransaction, GetRawTransaction, and FundRawTransaction minor updates - Some minor generate RPC updates for removed commands * content - Update RPCs - Update GetBlockChainInfo and GetBlockTemplate - Add ImportMulti - Some minor generate RPC updates for removed commands * content - Update Dash RPCs - Update GetGovernanceInfo and MasternodeList * content - Update Pruning related RPCs - Update PruneBlockchain, ImportPrunedFunds, and RemovePrunedFunds * content - RPC table - Minor updates * content - Add SetBIP69Enabled RPC * build - Update Makefile check to allow numbers in summary name * content - Add example of RPC with named parameter
1 parent f752f90 commit a7bbd65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+520
-447
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ check-for-missing-rpc-summaries:
219219
## Make sure the Quick Reference section has a summary for each RPC we
220220
## have documented
221221
$S for f in _includes/devdoc/dash-core/rpcs/rpcs/*.md ;\
222-
do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \
222+
do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z0-9]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \
223223
|| echo 'missing summary for '$$f', you need to add the summary to _includes/devdoc/dash-core/rpcs/quick-ref.md and run make manual-updates' \
224224
; done | eval $(ERROR_ON_OUTPUT)
225225

_autocrossref.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ CVE-2012-2459:
467467
'`sendtoaddress` RPC': rpc sendtoaddress
468468
'`setaccount`': rpc setaccount
469469
'`setaccount` RPC': rpc setaccount
470+
'`setbip69enabled`': rpc setbip69enabled
471+
'`setbip69enabled` RPC': rpc setbip69enabled
470472
'`setban`': rpc setban
471473
'`setban` RPC': rpc setban
472474
'`setgenerate`': rpc setgenerate

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ devsearches:
297297
- 'SendToAddress': "/en/developer-reference#sendtoaddress"
298298
- 'SetAccount': "/en/developer-reference#setaccount"
299299
- 'SetBan': "/en/developer-reference#setban"
300+
- 'SetBIP69Enabled': "/en/developer-reference#setbip69enabled"
300301
- 'SetGenerate': "/en/developer-reference#setgenerate"
301302
- 'SetNetworkActive': "/en/developer-reference#setnetworkactive"
302303
- 'SetTxFee': "/en/developer-reference#settxfee"

_includes/devdoc/dash-core/rpcs/intro.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
77
### Remote Procedure Calls (RPCs)
88
{% include helpers/subhead-links.md %}
99

10+
<!-- __ -->
11+
1012
{% autocrossref %}
1113

1214
Dash Core provides a remote procedure call (RPC) interface for various
@@ -57,6 +59,7 @@ format:
5759
| → <br>`id` | string | Optional<br>(0 or 1) | An arbitrary string that will be returned with the response. May be omitted or set to an empty string ("")
5860
| → <br>`method` | string | Required<br>(exactly 1) | The RPC method name (e.g. `getblock`). See the RPC section for a list of available methods.
5961
| → <br>`params` | array | Optional<br>(0 or 1) | An array containing positional parameter values for the RPC. May be an empty array or omitted for RPC calls that don't have any required parameters.
62+
| → <br>`params` | object | Optional<br>(0 or 1) | Starting from Dash Core 0.12.3 / Bitcoin Core 0.14.0 (replaces the params array above) An object containing named parameter values for the RPC. May be an empty object or omitted for RPC calls that don’t have any required parameters.
6063
| → → <br>Parameter | *any* | Optional<br>(0 or more) | A parameter. May be any JSON type allowed by the particular RPC method
6164
{:.ntpd}
6265

@@ -109,6 +112,12 @@ The command to send this request using `dash-cli` is:
109112
dash-cli getblockhash 0
110113
{% endhighlight %}
111114

115+
The command to send this request using `dash-cli` with named parameters is:
116+
117+
{% highlight bash %}
118+
dash-cli -named getblockhash height=0
119+
{% endhighlight %}
120+
112121
Alternatively, we could `POST` this request using the cURL command-line program
113122
as follows:
114123

@@ -126,7 +135,7 @@ The HTTP response data for this request would be:
126135

127136
{% highlight json %}
128137
{
129-
"result": "00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6",
138+
"result": "00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c",
130139
"error": null,
131140
"id": "foo"
132141
}
@@ -147,7 +156,7 @@ Continuing with the example above, the output<!--noref--> from the `dash-cli`
147156
command would be simply:
148157

149158
{% highlight text %}
150-
00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6
159+
00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c
151160
{% endhighlight %}
152161

153162
If there's an error processing a request, Dash Core sets the `result` field

_includes/devdoc/dash-core/rpcs/quick-reference.md

Lines changed: 26 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -98,45 +98,39 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
9898

9999
* [GetBestBlockHash][rpc getbestblockhash]: {{summary_getBestBlockHash}}
100100
* [GetBlock][rpc getblock]: {{summary_getBlock}} {{UPDATED0_13_0}}
101-
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{UPDATED0_12_1}}
101+
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_12_1}}
102102
* [GetBlockCount][rpc getblockcount]: {{summary_getBlockCount}}
103103
* [GetBlockHash][rpc getblockhash]: {{summary_getBlockHash}}
104104
* [GetBlockHashes][rpc getblockhashes]: {{summary_getBlockHashes}} {{DASH_NEW0_12_1}}
105105
* [GetBlockHeader][rpc getblockheader]: {{summary_getBlockHeader}} {{NEW0_12_0}}
106106
* [GetBlockHeaders][rpc getblockheaders]: {{summary_getBlockHeaders}} {{DASH_NEW0_12_1}}
107107
* [GetChainTips][rpc getchaintips]: {{summary_getChainTips}} {{DASH_UPDATED0_12_1}}
108108
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficulty}}
109+
* [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
110+
* [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
111+
* [GetMemPoolEntry][rpc getmempoolentry]: {{summary_getMemPoolEntry}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
109112
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} {{UPDATED0_12_0}}
110113
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} {{UPDATED0_13_0}}
111114
* [GetSpentInfo][rpc getspentinfo]: {{summary_getSpentInfo}} {{DASH_NEW0_12_1}}
112115
* [GetTxOut][rpc gettxout]: {{summary_getTxOut}}
113116
* [GetTxOutProof][rpc gettxoutproof]: {{summary_getTxOutProof}} {{NEW0_11_0}}
114117
* [GetTxOutSetInfo][rpc gettxoutsetinfo]: {{summary_getTxOutSetInfo}}
118+
* [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
119+
* [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
115120
* [VerifyChain][rpc verifychain]: {{summary_verifyChain}}
116121
* [VerifyTxOutProof][rpc verifytxoutproof]: {{summary_verifyTxOutProof}} {{NEW0_11_0}}
117122

118123
{% endautocrossref %}
119124

120-
**Not implemented in Dash**
121-
122-
{% autocrossref %}
123-
124-
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} {{NEW0_13_0}}
125-
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} {{NEW0_13_0}}
126-
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolEntry][rpc getmempoolentry]: {{summary_getMemPoolEntry}} {{NEW0_13_0}}
127-
* {{DASH_NOT_IMPLEMENTED}} [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{NEW0_14_0}}
128-
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
129-
130-
{% endautocrossref %}
131-
132125
#### Control RPCs
133126
{:.no_toc}
134127
<!-- no subhead-links here -->
135128

136129
{% autocrossref %}
137130

138-
* [Debug][rpc debug]: {{summary_debug}}
131+
* [Debug][rpc debug]: {{summary_debug}} {{DASH_UPDATED0_12_3}}
139132
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DEPRECATED}}
133+
* [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{DASH_NEW0_12_3}} {{NEW_14_0}}
140134
* [Help][rpc help]: {{summary_help}}
141135
* [Stop][rpc stop]: {{summary_stop}}
142136

@@ -148,13 +142,13 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
148142

149143
{% autocrossref %}
150144

151-
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}}
145+
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}} {{DASH_UPDATED0_12_3}}
152146
* [GetPoolInfo][rpc getpoolinfo]: {{summary_getPoolInfo}}
153147
* [GetSuperblockBudget][rpc getsuperblockbudget]: {{summary_getSuperblockBudget}}
154148
* [GObject][rpc gobject]: {{summary_gObject}} {{DASH_UPDATED0_12_3}}
155149
* [Masternode][rpc masternode]: {{summary_masternode}} {{DASH_UPDATED0_12_3}}
156150
* [MasternodeBroadcast][rpc masternodebroadcast]: {{summary_masternodeBroadcast}}
157-
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}}
151+
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}} {{DASH_UPDATED0_12_3}}
158152
* [MnSync][rpc mnsync]: {{summary_mnSync}}
159153
* [PrivateSend][rpc privatesend]: {{summary_privateSend}}
160154
* [SentinelPing][rpc sentinelping]: {{summary_sentinelPing}}
@@ -169,10 +163,8 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
169163

170164
{% autocrossref %}
171165

172-
* [Generate][rpc generate]: {{summary_generate}} {{NEW0_11_0}}, {{UPDATED0_13_0}}
173-
* [GetGenerate][rpc getgenerate]: {{summary_getGenerate}}
174-
* [SetGenerate][rpc setgenerate]: {{summary_setGenerate}}
175-
* {{DASH_NOT_IMPLEMENTED}} [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{NEW0_13_0}}
166+
* [Generate][rpc generate]: {{summary_generate}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
167+
* [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
176168

177169
{% endautocrossref %}
178170

@@ -182,7 +174,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
182174

183175
{% autocrossref %}
184176

185-
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}}
177+
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}} {{DASH_UPDATED0_12_3}}
186178
* [GetMiningInfo][rpc getmininginfo]: {{summary_getMiningInfo}} {{UPDATED0_14_0}}
187179
* [GetNetworkHashPS][rpc getnetworkhashps]: {{summary_getNetworkHashPS}}
188180
* [PrioritiseTransaction][rpc prioritisetransaction]: {{summary_prioritiseTransaction}}
@@ -199,10 +191,10 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
199191
* [AddNode][rpc addnode]: {{summary_addNode}} {{UPDATED0_14_0}}
200192
* [ClearBanned][rpc clearbanned]: {{summary_clearBanned}} {{NEW0_12_0}}
201193
* [DisconnectNode][rpc disconnectnode]: {{summary_disconnectNode}} {{NEW0_12_0}} {{UPDATED0_14_1}}
202-
* [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}} {{UPDATED0_14_0}}
194+
* [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}}
203195
* [GetConnectionCount][rpc getconnectioncount]: {{summary_getConnectionCount}}
204196
* [GetNetTotals][rpc getnettotals]: {{summary_getNetTotals}} {{UPDATED0_12_0}}
205-
* [GetNetworkInfo][rpc getnetworkinfo]: {{summary_getNetworkInfo}} {{UPDATED0_13_0}}
197+
* [GetNetworkInfo][rpc getnetworkinfo]: {{summary_getNetworkInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
206198
* [GetPeerInfo][rpc getpeerinfo]: {{summary_getPeerInfo}} {{UPDATED0_13_0}}
207199
* [ListBanned][rpc listbanned]: {{summary_listBanned}} {{NEW0_12_0}}
208200
* [Ping][rpc ping]: {{summary_ping-rpc}}
@@ -217,11 +209,11 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
217209

218210
{% autocrossref %}
219211

220-
* [CreateRawTransaction][rpc createrawtransaction]: {{summary_createRawTransaction}} {{UPDATED0_14_1}}
212+
* [CreateRawTransaction][rpc createrawtransaction]: {{summary_createRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_1}}
221213
* [DecodeRawTransaction][rpc decoderawtransaction]: {{summary_decodeRawTransaction}} {{UPDATED0_13_0}}
222214
* [DecodeScript][rpc decodescript]: {{summary_decodeScript}}
223-
* [FundRawTransaction][rpc fundrawtransaction]: {{summary_fundRawTransaction}} {{NEW0_12_0}}, {{UPDATED0_14_0}}
224-
* [GetRawTransaction][rpc getrawtransaction]: {{summary_getRawTransaction}} {{UPDATED0_14_0}}
215+
* [FundRawTransaction][rpc fundrawtransaction]: {{summary_fundRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}}
216+
* [GetRawTransaction][rpc getrawtransaction]: {{summary_getRawTransaction}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}}
225217
* [SendRawTransaction][rpc sendrawtransaction]: {{summary_sendRawTransaction}}
226218
* [SignRawTransaction][rpc signrawtransaction]: {{summary_signRawTransaction}}
227219

@@ -235,14 +227,14 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
235227

236228
* [CreateMultiSig][rpc createmultisig]: {{summary_createMultiSig}}
237229
* [EstimateFee][rpc estimatefee]: {{summary_estimateFee}}
238-
* [EstimatePriority][rpc estimatepriority]: {{summary_estimatePriority}}
230+
* [EstimatePriority][rpc estimatepriority]: {{summary_estimatePriority}} {{DEPRECATED}}
239231
* [EstimateSmartFee][rpc estimatesmartfee]: {{summary_estimateSmartFee}} {{DEPRECATED}}
240232
* [EstimateSmartPriority][rpc estimatesmartpriority]: {{summary_estimateSmartPriority}} {{DEPRECATED}}
241-
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{UPDATED0_13_0}}
233+
* [SetBIP69Enabled][rpc setbip69enabled]: {{summary_setBIP69Enabled}} {{DASH_NEW0_12_3}}
234+
* [SignMessageWithPrivKey][rpc signmessagewithprivkey]: {{summary_signMessageWithPrivKey}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
235+
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
242236
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
243237

244-
* {{DASH_NOT_IMPLEMENTED}} [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{NEW_14_0}}
245-
246238
{% endautocrossref %}
247239

248240
#### Wallet RPCs
@@ -275,7 +267,9 @@ default.
275267
* [GetWalletInfo][rpc getwalletinfo]: {{summary_getWalletInfo}}
276268
* [ImportAddress][rpc importaddress]: {{summary_importAddress}}
277269
* [ImportElectrumWallet][rpc importelectrumwallet]: {{summary_importElectrumWallet}} {{DASH_NEW0_12_1}}
270+
* [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
278271
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
272+
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
279273
* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}}
280274
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
281275
* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}}
@@ -288,9 +282,10 @@ default.
288282
* [ListReceivedByAddress][rpc listreceivedbyaddress]: {{summary_listReceivedByAddress}}
289283
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}}
290284
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{UPDATED0_12_1}}
291-
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{UPDATED0_13_0}}
285+
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
292286
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
293287
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
288+
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
294289
* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} {{DEPRECATED}}
295290
* [SendMany][rpc sendmany]: {{summary_sendMany}}
296291
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
@@ -303,10 +298,6 @@ default.
303298

304299
* {{DASH_NOT_IMPLEMENTED}} [AddWitnessAddress][rpc addwitnessaddress]: {{summary_addWitnessAddress}} {{NEW0_13_0}}
305300
* {{DASH_NOT_IMPLEMENTED}} [BumpFee][rpc bumpfee]: {{summary_bumpFee}} {{NEW0_14_0}}
306-
* {{DASH_NOT_IMPLEMENTED}} [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{NEW0_14_0}}
307-
* {{DASH_NOT_IMPLEMENTED}} [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{NEW0_13_0}}
308-
* {{DASH_NOT_IMPLEMENTED}} [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{NEW0_13_0}}
309-
* {{DASH_NOT_IMPLEMENTED}} [SignMessageWithPrivKey][rpc signmessagewithprivkey]: {{summary_signMessageWithPrivKey}} {{NEW0_13_0}}
310301

311302
{% endautocrossref %}
312303

@@ -318,8 +309,6 @@ default.
318309

319310
* [GetHashesPerSec][rpc gethashespersec]: {{summary_getHashesPerSec}}
320311
* [GetWork][rpc getwork]: {{summary_getWork}}
321-
<!-- Still in Dash
322312
* [GetGenerate][rpc getgenerate]: {{summary_getGenerate}}
323313
* [SetGenerate][rpc setgenerate]: {{summary_setGenerate}}
324-
-->
325314
{% endautocrossref %}

_includes/devdoc/dash-core/rpcs/rpcs/createrawtransaction.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
77
##### CreateRawTransaction
88
{% include helpers/subhead-links.md %}
99

10+
<!-- __ -->
11+
1012
{% 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." %}
1113

1214
{% autocrossref %}
@@ -39,7 +41,7 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}}
3941
- n: "→ →<br>`Sequence`"
4042
t: "number (int)"
4143
p: "Optional<br>(0 or 1)"
42-
d: "NOT IMPLEMENTED IN DASH.<br><br>The sequence number to use for the input"
44+
d: "Added in Dash Core 0.12.3.0.<br><br>The sequence number to use for the input"
4345

4446
{% enditemplate %}
4547

@@ -56,6 +58,11 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}}
5658
p: "Required<br>(1 or more)"
5759
d: "A key/value pair with the address to pay as a string (key) and the amount to pay that address (value) in Dash"
5860

61+
- n: "→<br>Data/Hex"
62+
t: "data : hex"
63+
p: "Required<br>(1 or more)"
64+
d: "A key/value pair where the key is 'data' and the value is hex encoded data"
65+
5966
{% enditemplate %}
6067

6168
*Parameter #3---locktime*

_includes/devdoc/dash-core/rpcs/rpcs/debug.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ The `debug` RPC {{summary_debug}}
1919
- n: "Debug category"
2020
t: "string"
2121
p: "Required<br>(1 or more)"
22-
d: "The debug category to activate. Use a comma to specify multiple categories. Categories will be one of the following:<br>• `0` - Disables all categories <br>• `1` - Enables all categories <br>• `addrman` <br>• `alert` <br>• `bench` <br>• `coindb` <br>• `db` <br>• `lock` <br>• `rand` <br>• `rpc` <br>• `selectcoins` <br>• `mempool` <br>• `mempoolrej` <br>• `net` <br>• `proxy` <br>• `prune` <br>• `http` <br>• `libevent` <br>• `tor` <br>• `zmq` <br>• `dash` <br>• `privatesend` <br>• `instantsend` <br>• `masternode` <br>• `spork` <br>• `keepass` <br>• `mnpayments` <br>• `gobject` <br>"
22+
d: "The debug category to activate. Use a `+` to specify multiple categories. Categories will be one of the following:<br>• `0` - Disables all categories <br>• `1` - Enables all categories <br>• `addrman` <br>• `alert` <br>• `bench` <br>• `coindb` <br>• `db` <br>• `lock` <br>• `rand` <br>• `rpc` <br>• `selectcoins` <br>• `mempool` <br>• `mempoolrej` <br>• `net` <br>• `proxy` <br>• `prune` <br>• `http` <br>• `libevent` <br>• `tor` <br>• `zmq` <br>• `dash` <br>• `privatesend` <br>• `instantsend` <br>• `masternode` <br>• `spork` <br>• `keepass` <br>• `mnpayments` <br>• `gobject` <br>"
2323

2424
{% enditemplate %}
2525

26-
*Example from Dash Core 0.12.2*
26+
*Example from Dash Core 0.12.3*
2727

2828
{% highlight bash %}
29-
dash-cli -testnet debug "net,mempool"
29+
dash-cli -testnet debug "net+mempool"
3030
{% endhighlight %}
3131

3232
Result:
3333

3434
{% highlight text %}
35-
Debug mode: net,mempool
35+
Debug mode: net+mempool
3636
{% endhighlight %}
3737

3838
*See also: none*

_includes/devdoc/dash-core/rpcs/rpcs/disconnectnode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `disconnectnode` RPC {{summary_disconnectNode}}
1818
*Parameter #1---hostname/IP address and port of node to disconnect*
1919

2020
{% itemplate ntpd1 %}
21-
- n: "`node`"
21+
- n: "`address`"
2222
t: "string"
2323
p: "Required<br>(exactly 1)"
2424
d: "The node you want to disconnect from as a string in the form of `<IP address>:<port>`.<br><br>*Updated in Bitcoin Core 0.14.1*"

_includes/devdoc/dash-core/rpcs/rpcs/estimatepriority.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
77
##### EstimatePriority
88
{% include helpers/subhead-links.md %}
99

10+
<!-- __ -->
11+
1012
{% autocrossref %}
1113

1214
{% assign summary_estimatePriority="estimates the priority that a transaction needs in order to be included within a certain number of blocks as a free high-priority transaction." %}
@@ -15,7 +17,7 @@ http://opensource.org/licenses/MIT.
1517

1618
The `estimatepriority` RPC {{summary_estimatePriority}} This should not to be confused with the `prioritisetransaction` RPC which will remain supported for adding fee deltas to transactions.
1719

18-
{{WARNING}} `estimatepriority` has been [removed from Bitcoin](https://github.com/bitcoin/bitcoin/commit/fe282acd7604b5265762b24e531bdf1ebb1f009b) and will no longer be available in the next major release (planned for Bitcoin Core 0.15.0). Still present in Dash Core.
20+
{{WARNING}} `estimatepriority` has been [removed from Bitcoin](https://github.com/bitcoin/bitcoin/commit/fe282acd7604b5265762b24e531bdf1ebb1f009b). While still present in Dash Core, it is deprecated as of 0.12.3 (should be considered unstable and will disappear in the future). Use the RPC listed in the "See Also" subsection below instead.
1921

2022
Transaction priority is relative to a transaction's byte size.
2123

0 commit comments

Comments
 (0)