mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 01:06:13 +00:00
[Content] v12.3 RPC changes (#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 #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
This commit is contained in:
parent
d8c79f3876
commit
ded0b9a8ce
41 changed files with 525 additions and 452 deletions
2
Makefile
2
Makefile
|
@ -219,7 +219,7 @@ check-for-missing-rpc-summaries:
|
|||
## Make sure the Quick Reference section has a summary for each RPC we
|
||||
## have documented
|
||||
$S for f in _includes/devdoc/dash-core/rpcs/rpcs/*.md ;\
|
||||
do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \
|
||||
do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z0-9]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \
|
||||
|| 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' \
|
||||
; done | eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
|
|
|
@ -467,6 +467,8 @@ CVE-2012-2459:
|
|||
'`sendtoaddress` RPC': rpc sendtoaddress
|
||||
'`setaccount`': rpc setaccount
|
||||
'`setaccount` RPC': rpc setaccount
|
||||
'`setbip69enabled`': rpc setbip69enabled
|
||||
'`setbip69enabled` RPC': rpc setbip69enabled
|
||||
'`setban`': rpc setban
|
||||
'`setban` RPC': rpc setban
|
||||
'`setgenerate`': rpc setgenerate
|
||||
|
|
|
@ -297,6 +297,7 @@ devsearches:
|
|||
- 'SendToAddress': "/en/developer-reference#sendtoaddress"
|
||||
- 'SetAccount': "/en/developer-reference#setaccount"
|
||||
- 'SetBan': "/en/developer-reference#setban"
|
||||
- 'SetBIP69Enabled': "/en/developer-reference#setbip69enabled"
|
||||
- 'SetGenerate': "/en/developer-reference#setgenerate"
|
||||
- 'SetNetworkActive': "/en/developer-reference#setnetworkactive"
|
||||
- 'SetTxFee': "/en/developer-reference#settxfee"
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
### Remote Procedure Calls (RPCs)
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
Dash Core provides a remote procedure call (RPC) interface for various
|
||||
|
@ -57,6 +59,7 @@ format:
|
|||
| → <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 ("")
|
||||
| → <br>`method` | string | Required<br>(exactly 1) | The RPC method name (e.g. `getblock`). See the RPC section for a list of available methods.
|
||||
| → <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.
|
||||
| → <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.
|
||||
| → → <br>Parameter | *any* | Optional<br>(0 or more) | A parameter. May be any JSON type allowed by the particular RPC method
|
||||
{:.ntpd}
|
||||
|
||||
|
@ -109,6 +112,12 @@ The command to send this request using `dash-cli` is:
|
|||
dash-cli getblockhash 0
|
||||
{% endhighlight %}
|
||||
|
||||
The command to send this request using `dash-cli` with named parameters is:
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -named getblockhash height=0
|
||||
{% endhighlight %}
|
||||
|
||||
Alternatively, we could `POST` this request using the cURL command-line program
|
||||
as follows:
|
||||
|
||||
|
@ -126,7 +135,7 @@ The HTTP response data for this request would be:
|
|||
|
||||
{% highlight json %}
|
||||
{
|
||||
"result": "00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6",
|
||||
"result": "00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c",
|
||||
"error": null,
|
||||
"id": "foo"
|
||||
}
|
||||
|
@ -147,7 +156,7 @@ Continuing with the example above, the output<!--noref--> from the `dash-cli`
|
|||
command would be simply:
|
||||
|
||||
{% highlight text %}
|
||||
00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6
|
||||
00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c
|
||||
{% endhighlight %}
|
||||
|
||||
If there's an error processing a request, Dash Core sets the `result` field
|
||||
|
|
|
@ -98,7 +98,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
* [GetBestBlockHash][rpc getbestblockhash]: {{summary_getBestBlockHash}}
|
||||
* [GetBlock][rpc getblock]: {{summary_getBlock}} {{UPDATED0_13_0}}
|
||||
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{UPDATED0_12_1}}
|
||||
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_12_1}}
|
||||
* [GetBlockCount][rpc getblockcount]: {{summary_getBlockCount}}
|
||||
* [GetBlockHash][rpc getblockhash]: {{summary_getBlockHash}}
|
||||
* [GetBlockHashes][rpc getblockhashes]: {{summary_getBlockHashes}} {{DASH_NEW0_12_1}}
|
||||
|
@ -106,37 +106,31 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
* [GetBlockHeaders][rpc getblockheaders]: {{summary_getBlockHeaders}} {{DASH_NEW0_12_1}}
|
||||
* [GetChainTips][rpc getchaintips]: {{summary_getChainTips}} {{DASH_UPDATED0_12_1}}
|
||||
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficulty}}
|
||||
* [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [GetMemPoolEntry][rpc getmempoolentry]: {{summary_getMemPoolEntry}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} {{UPDATED0_12_0}}
|
||||
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} {{UPDATED0_13_0}}
|
||||
* [GetSpentInfo][rpc getspentinfo]: {{summary_getSpentInfo}} {{DASH_NEW0_12_1}}
|
||||
* [GetTxOut][rpc gettxout]: {{summary_getTxOut}}
|
||||
* [GetTxOutProof][rpc gettxoutproof]: {{summary_getTxOutProof}} {{NEW0_11_0}}
|
||||
* [GetTxOutSetInfo][rpc gettxoutsetinfo]: {{summary_getTxOutSetInfo}}
|
||||
* [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||
* [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||
* [VerifyChain][rpc verifychain]: {{summary_verifyChain}}
|
||||
* [VerifyTxOutProof][rpc verifytxoutproof]: {{summary_verifyTxOutProof}} {{NEW0_11_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
**Not implemented in Dash**
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemPoolEntry][rpc getmempoolentry]: {{summary_getMemPoolEntry}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [PreciousBlock][rpc preciousblock]: {{summary_preciousBlock}} {{NEW0_14_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [PruneBlockChain][rpc pruneblockchain]: {{summary_pruneBlockChain}} {{NEW0_14_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
#### Control RPCs
|
||||
{:.no_toc}
|
||||
<!-- no subhead-links here -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
* [Debug][rpc debug]: {{summary_debug}}
|
||||
* [Debug][rpc debug]: {{summary_debug}} {{DASH_UPDATED0_12_3}}
|
||||
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DEPRECATED}}
|
||||
* [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{DASH_NEW0_12_3}} {{NEW_14_0}}
|
||||
* [Help][rpc help]: {{summary_help}}
|
||||
* [Stop][rpc stop]: {{summary_stop}}
|
||||
|
||||
|
@ -148,13 +142,13 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
{% autocrossref %}
|
||||
|
||||
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}}
|
||||
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}} {{DASH_UPDATED0_12_3}}
|
||||
* [GetPoolInfo][rpc getpoolinfo]: {{summary_getPoolInfo}}
|
||||
* [GetSuperblockBudget][rpc getsuperblockbudget]: {{summary_getSuperblockBudget}}
|
||||
* [GObject][rpc gobject]: {{summary_gObject}} {{DASH_UPDATED0_12_3}}
|
||||
* [Masternode][rpc masternode]: {{summary_masternode}} {{DASH_UPDATED0_12_3}}
|
||||
* [MasternodeBroadcast][rpc masternodebroadcast]: {{summary_masternodeBroadcast}}
|
||||
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}}
|
||||
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}} {{DASH_UPDATED0_12_3}}
|
||||
* [MnSync][rpc mnsync]: {{summary_mnSync}}
|
||||
* [PrivateSend][rpc privatesend]: {{summary_privateSend}}
|
||||
* [SentinelPing][rpc sentinelping]: {{summary_sentinelPing}}
|
||||
|
@ -169,10 +163,8 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
{% autocrossref %}
|
||||
|
||||
* [Generate][rpc generate]: {{summary_generate}} {{NEW0_11_0}}, {{UPDATED0_13_0}}
|
||||
* [GetGenerate][rpc getgenerate]: {{summary_getGenerate}}
|
||||
* [SetGenerate][rpc setgenerate]: {{summary_setGenerate}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{NEW0_13_0}}
|
||||
* [Generate][rpc generate]: {{summary_generate}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||
* [GenerateToAddress][rpc generatetoaddress]: {{summary_generateToAddress}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
|
@ -182,7 +174,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
{% autocrossref %}
|
||||
|
||||
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}}
|
||||
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}} {{DASH_UPDATED0_12_3}}
|
||||
* [GetMiningInfo][rpc getmininginfo]: {{summary_getMiningInfo}} {{UPDATED0_14_0}}
|
||||
* [GetNetworkHashPS][rpc getnetworkhashps]: {{summary_getNetworkHashPS}}
|
||||
* [PrioritiseTransaction][rpc prioritisetransaction]: {{summary_prioritiseTransaction}}
|
||||
|
@ -199,10 +191,10 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
* [AddNode][rpc addnode]: {{summary_addNode}} {{UPDATED0_14_0}}
|
||||
* [ClearBanned][rpc clearbanned]: {{summary_clearBanned}} {{NEW0_12_0}}
|
||||
* [DisconnectNode][rpc disconnectnode]: {{summary_disconnectNode}} {{NEW0_12_0}} {{UPDATED0_14_1}}
|
||||
* [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}} {{UPDATED0_14_0}}
|
||||
* [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_14_0}}
|
||||
* [GetConnectionCount][rpc getconnectioncount]: {{summary_getConnectionCount}}
|
||||
* [GetNetTotals][rpc getnettotals]: {{summary_getNetTotals}} {{UPDATED0_12_0}}
|
||||
* [GetNetworkInfo][rpc getnetworkinfo]: {{summary_getNetworkInfo}} {{UPDATED0_13_0}}
|
||||
* [GetNetworkInfo][rpc getnetworkinfo]: {{summary_getNetworkInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||
* [GetPeerInfo][rpc getpeerinfo]: {{summary_getPeerInfo}} {{UPDATED0_13_0}}
|
||||
* [ListBanned][rpc listbanned]: {{summary_listBanned}} {{NEW0_12_0}}
|
||||
* [Ping][rpc ping]: {{summary_ping-rpc}}
|
||||
|
@ -217,11 +209,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}}
|
||||
|
||||
|
@ -235,14 +227,14 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
* [CreateMultiSig][rpc createmultisig]: {{summary_createMultiSig}}
|
||||
* [EstimateFee][rpc estimatefee]: {{summary_estimateFee}}
|
||||
* [EstimatePriority][rpc estimatepriority]: {{summary_estimatePriority}}
|
||||
* [EstimatePriority][rpc estimatepriority]: {{summary_estimatePriority}} {{DEPRECATED}}
|
||||
* [EstimateSmartFee][rpc estimatesmartfee]: {{summary_estimateSmartFee}} {{DEPRECATED}}
|
||||
* [EstimateSmartPriority][rpc estimatesmartpriority]: {{summary_estimateSmartPriority}} {{DEPRECATED}}
|
||||
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{UPDATED0_13_0}}
|
||||
* [SetBIP69Enabled][rpc setbip69enabled]: {{summary_setBIP69Enabled}} {{DASH_NEW0_12_3}}
|
||||
* [SignMessageWithPrivKey][rpc signmessagewithprivkey]: {{summary_signMessageWithPrivKey}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
|
||||
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{NEW_14_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
#### Wallet RPCs
|
||||
|
@ -275,7 +267,9 @@ default.
|
|||
* [GetWalletInfo][rpc getwalletinfo]: {{summary_getWalletInfo}}
|
||||
* [ImportAddress][rpc importaddress]: {{summary_importAddress}}
|
||||
* [ImportElectrumWallet][rpc importelectrumwallet]: {{summary_importElectrumWallet}} {{DASH_NEW0_12_1}}
|
||||
* [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{DASH_NEW0_12_3}} {{NEW0_14_0}}
|
||||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}}
|
||||
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
|
||||
* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}}
|
||||
|
@ -288,9 +282,10 @@ default.
|
|||
* [ListReceivedByAddress][rpc listreceivedbyaddress]: {{summary_listReceivedByAddress}}
|
||||
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}}
|
||||
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{UPDATED0_12_1}}
|
||||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{UPDATED0_13_0}}
|
||||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
||||
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
|
||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} {{DEPRECATED}}
|
||||
* [SendMany][rpc sendmany]: {{summary_sendMany}}
|
||||
* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}}
|
||||
|
@ -303,10 +298,6 @@ default.
|
|||
|
||||
* {{DASH_NOT_IMPLEMENTED}} [AddWitnessAddress][rpc addwitnessaddress]: {{summary_addWitnessAddress}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [BumpFee][rpc bumpfee]: {{summary_bumpFee}} {{NEW0_14_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [ImportMulti][rpc importmulti]: {{summary_importMulti}} {{NEW0_14_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{NEW0_13_0}}
|
||||
* {{DASH_NOT_IMPLEMENTED}} [SignMessageWithPrivKey][rpc signmessagewithprivkey]: {{summary_signMessageWithPrivKey}} {{NEW0_13_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
|
@ -318,8 +309,6 @@ default.
|
|||
|
||||
* [GetHashesPerSec][rpc gethashespersec]: {{summary_getHashesPerSec}}
|
||||
* [GetWork][rpc getwork]: {{summary_getWork}}
|
||||
<!-- Still in Dash
|
||||
* [GetGenerate][rpc getgenerate]: {{summary_getGenerate}}
|
||||
* [SetGenerate][rpc setgenerate]: {{summary_setGenerate}}
|
||||
-->
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -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: "→ →<br>`Sequence`"
|
||||
t: "number (int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "NOT IMPLEMENTED IN DASH.<br><br>The sequence number to use for the input"
|
||||
d: "Added in Dash Core 0.12.3.0.<br><br>The sequence number to use for the input"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -56,6 +58,11 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}}
|
|||
p: "Required<br>(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: "→<br>Data/Hex"
|
||||
t: "data : hex"
|
||||
p: "Required<br>(1 or more)"
|
||||
d: "A key/value pair where the key is 'data' and the value is hex encoded data"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Parameter #3---locktime*
|
||||
|
|
|
@ -19,20 +19,20 @@ The `debug` RPC {{summary_debug}}
|
|||
- n: "Debug category"
|
||||
t: "string"
|
||||
p: "Required<br>(1 or more)"
|
||||
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>"
|
||||
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>"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet debug "net,mempool"
|
||||
dash-cli -testnet debug "net+mempool"
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight text %}
|
||||
Debug mode: net,mempool
|
||||
Debug mode: net+mempool
|
||||
{% endhighlight %}
|
||||
|
||||
*See also: none*
|
||||
|
|
|
@ -18,7 +18,7 @@ The `disconnectnode` RPC {{summary_disconnectNode}}
|
|||
*Parameter #1---hostname/IP address and port of node to disconnect*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`node`"
|
||||
- n: "`address`"
|
||||
t: "string"
|
||||
p: "Required<br>(exactly 1)"
|
||||
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*"
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### EstimatePriority
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
{% 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.
|
|||
|
||||
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.
|
||||
|
||||
{{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.
|
||||
{{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.
|
||||
|
||||
Transaction priority is relative to a transaction's byte size.
|
||||
|
||||
|
|
|
@ -7,13 +7,15 @@ http://opensource.org/licenses/MIT.
|
|||
##### EstimateSmartPriority
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
{% assign summary_estimateSmartPriority="estimates the priority that a transaction needs in order to be included within a certain number of blocks as a free high-priority transaction and returns the number of blocks for which the estimate is valid." %}
|
||||
|
||||
The `estimatesmartpriority` RPC {{summary_estimateSmartPriority}} This should not to be confused with the `prioritisetransaction` RPC which will remain supported for adding fee deltas to transactions.
|
||||
|
||||
{{WARNING}} `estimatesmartpriority` 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). While still present in Dash Core, the interface should be considered unstable and may disappear or change. Use the RPC listed in the "See Also" subsection below instead.
|
||||
{{WARNING}} `estimatesmartpriority` 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.
|
||||
|
||||
Transaction priority is relative to a transaction's byte size.
|
||||
|
||||
|
|
|
@ -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<br>(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<br>(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<br>(0 or 1)"
|
||||
d: "Inputs from watch-only addresses are also considered. The default is `false`"
|
||||
|
||||
- n: "→ <br>`lockUnspent`"
|
||||
t: "bool"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### Generate
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_generate="mines blocks immediately (before the RPC call returns)." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -25,6 +27,17 @@ The `generate` RPC {{summary_generate}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Parameter #2---the number of iterations*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`numblocks`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of iterations to try (default = 1000000)."
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
||||
*Result---the generated block header hashes*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
|
|
|
@ -9,13 +9,12 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% assign summary_generateToAddress="mines blocks immediately to a specified address." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Requires wallet support.*
|
||||
|
||||
The `generatetoaddress` RPC {{summary_generateToAddress}}
|
||||
|
@ -26,7 +25,7 @@ The `generatetoaddress` RPC {{summary_generateToAddress}}
|
|||
- n: "Blocks"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of blocks to generate. The RPC call will not return until all blocks have been generated or the maxium number of iterations has been reached"
|
||||
d: "The number of blocks to generate. The RPC call will not return until all blocks have been generated or the maximum number of iterations has been reached"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -36,7 +35,7 @@ The `generatetoaddress` RPC {{summary_generateToAddress}}
|
|||
- n: "Address"
|
||||
t: "string (base58)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The address to send the newly generated Bitcoin to"
|
||||
d: "The address that will receive the newly generated Dash"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -64,21 +63,21 @@ The `generatetoaddress` RPC {{summary_generateToAddress}}
|
|||
d: "The hashes of the headers of the blocks generated, as hex in RPC byte order"
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Using regtest mode, generate 2 blocks with maximal 500000 iterations:
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli -regtest generatetoaddress 2 "1BRo7qrYHMPrzdBDzfjmzt\
|
||||
eBdYAyTMXW75" 500000
|
||||
dash-cli -regtest generatetoaddress 2 "yaQzdWrDVYGncLKSKG4bHQ\
|
||||
ML9UdAe726QN" 500000
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
[
|
||||
"36252b5852a5921bdfca8701f936b39edeb1f8c39fffe73b0d8437921401f9af",
|
||||
"5f2956817db1e386759aa5794285977c70596b39ea093b9eab0aa4ba8cd50c06"
|
||||
"34726c518d1688a9c56b3399e892089d3a639b43de194517c07da2b168a3a89c",
|
||||
"1f030abe2bb323b8895542e3a85ed8386bd92c67af9d19fe9c163a4c5f5ef149"
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
||||
|
@ -88,6 +87,4 @@ Result:
|
|||
* [GetMiningInfo][rpc getmininginfo]: {{summary_getMiningInfo}}
|
||||
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,23 +7,29 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetAddedNodeInfo
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_getAddedNodeInfo="returns information about the given added node, or all added nodes (except onetry nodes). Only nodes which have been manually added using the `addnode` RPC will have their information displayed." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
The `getaddednodeinfo` RPC {{summary_getAddedNodeInfo}}
|
||||
|
||||
*Parameter #1---whether to display connection information*
|
||||
Prior to Dash Core 0.12.3, this dummy parameter was required for historical purposes but not used:
|
||||
|
||||
*DEPRECATED Parameter #1---whether to display connection information*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Dummy"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Kept for historical purposes but ignored<br><br>*Removed in Bitcoin Core 0.14.0*"
|
||||
- n: "_Dummy_"
|
||||
t: "_bool_"
|
||||
p: "_Required<br>(exactly 1)_"
|
||||
d: "_Removed in Dash Core 0.12.3_"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Parameter #2---what node to display information about*
|
||||
Beginning with Dash Core 0.12.3, this is the single (optional) parameter:
|
||||
|
||||
*Parameter #1---what node to display information about*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`node`"
|
||||
|
@ -78,10 +84,10 @@ The `getaddednodeinfo` RPC {{summary_getAddedNodeInfo}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli getaddednodeinfo true
|
||||
dash-cli getaddednodeinfo
|
||||
{% endhighlight %}
|
||||
|
||||
Result (real hostname and IP address replaced with [RFC5737][] reserved address):
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetBlockChainInfo
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_getBlockChainInfo="provides information about the current state of the block chain." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -163,9 +165,23 @@ The `getblockchaininfo` RPC {{summary_getBlockChainInfo}}
|
|||
p: "Optional<br>(0 or 1)"
|
||||
d: "The bit (0-28) in the block version field used to signal this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`startTime`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The Unix epoch time when the softfork voting begins"
|
||||
|
||||
- n: "→ → →<br>`timeout`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The Unix epoch time at which the deployment is considered failed if not yet locked in"
|
||||
|
||||
- n: "→ → →<br>`since`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "*Added in Bitcoin Core 0.14.0*<br><br>The height of the first block to which the status applies"
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getblockchaininfo
|
||||
|
@ -176,74 +192,57 @@ Result:
|
|||
{% highlight json %}
|
||||
{
|
||||
"chain": "test",
|
||||
"blocks": 4622,
|
||||
"headers": 4622,
|
||||
"bestblockhash": "000000007f4141e557309da09911b1c3c65b8e9eed3f5e940f7083aec8999ac7",
|
||||
"difficulty": 1.380236305048335,
|
||||
"mediantime": 1507209819,
|
||||
"verificationprogress": 0.9999053826626874,
|
||||
"chainwork": "000000000000000000000000000000000000000000000000000001d17aeaf58b",
|
||||
"blocks": 82244,
|
||||
"headers": 82244,
|
||||
"bestblockhash": "0000000004efcadbdb9d8b524e5ab982af3db039fdb585c2f1c1df56d42d4492",
|
||||
"difficulty": 47.4955836390814,
|
||||
"mediantime": 1519662782,
|
||||
"verificationprogress": 0.9999999483744162,
|
||||
"chainwork": "0000000000000000000000000000000000000000000000000021adf3af961831",
|
||||
"pruned": false,
|
||||
"softforks": [
|
||||
{
|
||||
"id": "bip34",
|
||||
"version": 2,
|
||||
"enforce": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 51,
|
||||
"window": 100
|
||||
},
|
||||
"reject": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 75,
|
||||
"window": 100
|
||||
"status": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bip66",
|
||||
"version": 3,
|
||||
"enforce": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 51,
|
||||
"window": 100
|
||||
},
|
||||
"reject": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 75,
|
||||
"window": 100
|
||||
"status": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bip65",
|
||||
"version": 4,
|
||||
"enforce": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 51,
|
||||
"window": 100
|
||||
},
|
||||
"reject": {
|
||||
"status": true,
|
||||
"found": 100,
|
||||
"required": 75,
|
||||
"window": 100
|
||||
"status": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"bip9_softforks": [
|
||||
{
|
||||
"id": "csv",
|
||||
"status": "started"
|
||||
"bip9_softforks": {
|
||||
"csv": {
|
||||
"status": "active",
|
||||
"startTime": 1506556800,
|
||||
"timeout": 1538092800,
|
||||
"since": 8064
|
||||
},
|
||||
{
|
||||
"id": "dip0001",
|
||||
"status": "started"
|
||||
"dip0001": {
|
||||
"status": "active",
|
||||
"startTime": 1505692800,
|
||||
"timeout": 1537228800,
|
||||
"since": 5600
|
||||
},
|
||||
"bip147": {
|
||||
"status": "active",
|
||||
"startTime": 1517792400,
|
||||
"timeout": 1549328400,
|
||||
"since": 78800
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
{% endhighlight %}
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetBlockTemplate
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_getBlockTemplate="gets a block template or proposal for use with mining software." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -41,6 +43,16 @@ information, please see the following resources:
|
|||
p: "Optional<br>(exactly 1)"
|
||||
d: "Client side supported feature, `longpoll`, `coinbasetxn`, `coinbasevalue`, `proposal`, `serverlist`, `workid`"
|
||||
|
||||
- n: "→<br>`rules`"
|
||||
t: "array (string)"
|
||||
p: "Optional<br>(0 or more)"
|
||||
d: "A list of strings"
|
||||
|
||||
- n: "→ →<br>Rules"
|
||||
t: "string"
|
||||
p: "Optional<br>(exactly 1)"
|
||||
d: "Client side supported softfork deployment, `csv`, `dip0001`, etc."
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Result---block template*
|
||||
|
|
|
@ -7,13 +7,15 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetGenerate
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
*Requires wallet support.*
|
||||
|
||||
*Removed in Bitcoin Core 0.13.0.*
|
||||
**_Removed in Dash Core 0.12.3 / Bitcoin Core 0.13.0._**
|
||||
|
||||
The `getgenerate` RPC {{summary_getGenerate}}
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetGovernanceInfo
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_getGovernanceInfo="returns an object containing governance parameters." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -31,7 +33,12 @@ The `getgovernanceinfo` RPC {{summary_getGovernanceInfo}}
|
|||
- n: "→<br>`masternodewatchdogmaxseconds`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Sentinel watchdog expiration time in seconds"
|
||||
d: "*DEPRECATED in Dash Core 0.12.3*<br><br>Sentinel watchdog expiration time in seconds"
|
||||
|
||||
- n: "→<br>`sentinelpingmaxseconds`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "*Added in Dash Core 0.12.3.0*<br><br>Sentinel ping expiration time in seconds"
|
||||
|
||||
- n: "→<br>`proposalfee`"
|
||||
t: "number (int)"
|
||||
|
@ -60,7 +67,7 @@ The `getgovernanceinfo` RPC {{summary_getGovernanceInfo}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2.2*
|
||||
*Example from Dash Core 0.12.3.0*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getgovernanceinfo
|
||||
|
@ -71,10 +78,11 @@ Result:
|
|||
{
|
||||
"governanceminquorum": 1,
|
||||
"masternodewatchdogmaxseconds": 7200,
|
||||
"sentinelpingmaxseconds": 7200,
|
||||
"proposalfee": 5.00000000,
|
||||
"superblockcycle": 24,
|
||||
"lastsuperblock": 52872,
|
||||
"nextsuperblock": 52896,
|
||||
"lastsuperblock": 82704,
|
||||
"nextsuperblock": 82728,
|
||||
"maxgovobjdatasize": 16384
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
|
|
@ -13,11 +13,8 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.14.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
|
||||
|
||||
*Parameters: none*
|
||||
|
@ -67,10 +64,10 @@ The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.14.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmemoryinfo
|
||||
dash-cli getmemoryinfo
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
@ -78,11 +75,11 @@ Result:
|
|||
{% highlight json %}
|
||||
{
|
||||
"locked": {
|
||||
"used": 0,
|
||||
"free": 65536,
|
||||
"used": 32,
|
||||
"free": 65504,
|
||||
"total": 65536,
|
||||
"locked": 65536,
|
||||
"chunks_used": 0,
|
||||
"chunks_used": 1,
|
||||
"chunks_free": 1
|
||||
}
|
||||
}
|
||||
|
@ -93,6 +90,4 @@ Result:
|
|||
|
||||
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -9,22 +9,21 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% assign summary_getMemPoolAncestors="returns all in-mempool ancestors for a transaction in the mempool." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
*Added in Dash Core 0.12.3*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
The `getmempoolancestors` RPC {{summary_getMemPoolAncestors}}
|
||||
|
||||
*Parameter #1---a transaction identifier (TXID)*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Address"
|
||||
t: "string"
|
||||
- n: "TXID"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The address whose transactions should be tallied"
|
||||
d: "The TXID of a transaction in the memory pool, encoded as hex in RPC byte order"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -143,66 +142,48 @@ The `getmempoolancestors` RPC {{summary_getMemPoolAncestors}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Examples from Bitcoin Core 0.13.1*
|
||||
*Examples from Dash Core 0.12.3*
|
||||
|
||||
The default (`false`):
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmempoolancestors 52273e0ce6cf3452932cfbc1c517c0ce\
|
||||
1af1d255fda67a6e3bd63ba1d908c8c2
|
||||
dash-cli getmempoolancestors 49a512c3d567effd4f605a6023df8b4b523\
|
||||
ac0ae7bccbaeed1c8a7db1e05e15a
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
[
|
||||
"b104586f229e330caf42c475fd52684e9eb5e2d02f0fcd216d9554c5347b0873",
|
||||
"094f7dcbc7494510d4daeceb2941ed73b1bd011bf527f6c3b7c897fee85c11d4"
|
||||
"d1eefe8a006e2c21b55bc97c1f5b10000d63aa6a777bb11abc0daf62e4296660"
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
||||
Verbose output (`true`):
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmempoolancestors 52273e0ce6cf3452932cfbc1c517c0ce\
|
||||
1af1d255fda67a6e3bd63ba1d908c8c2 true
|
||||
dash-cli getmempoolancestors 49a512c3d567effd4f605a6023df8b4b523\
|
||||
ac0ae7bccbaeed1c8a7db1e05e15a true
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
{
|
||||
"b104586f229e330caf42c475fd52684e9eb5e2d02f0fcd216d9554c5347b0873": {
|
||||
"size": 485,
|
||||
"fee": 0.00009700,
|
||||
"modifiedfee": 0.00009700,
|
||||
"time": 1479423635,
|
||||
"height": 439431,
|
||||
"startingpriority": 15327081.81818182,
|
||||
"currentpriority": 21536936.36363636,
|
||||
"descendantcount": 1,
|
||||
"descendantsize": 485,
|
||||
"descendantfees": 9700,
|
||||
"d1eefe8a006e2c21b55bc97c1f5b10000d63aa6a777bb11abc0daf62e4296660": {
|
||||
"size": 963,
|
||||
"fee": 0.00000966,
|
||||
"modifiedfee": 0.00000966,
|
||||
"time": 1519160516,
|
||||
"height": 79045,
|
||||
"startingpriority": 4514051697.115385,
|
||||
"currentpriority": 4520474899.74359,
|
||||
"descendantcount": 2,
|
||||
"descendantsize": 1189,
|
||||
"descendantfees": 1192,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 485,
|
||||
"ancestorfees": 9700,
|
||||
"depends": [
|
||||
]
|
||||
},
|
||||
"094f7dcbc7494510d4daeceb2941ed73b1bd011bf527f6c3b7c897fee85c11d4": {
|
||||
"size": 554,
|
||||
"fee": 0.00005540,
|
||||
"modifiedfee": 0.00005540,
|
||||
"time": 1479423327,
|
||||
"height": 439430,
|
||||
"startingpriority": 85074.91071428571,
|
||||
"currentpriority": 3497174.4375,
|
||||
"descendantcount": 1,
|
||||
"descendantsize": 554,
|
||||
"descendantfees": 5540,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 554,
|
||||
"ancestorfees": 5540,
|
||||
"ancestorsize": 963,
|
||||
"ancestorfees": 966,
|
||||
"depends": [
|
||||
]
|
||||
}
|
||||
|
@ -214,6 +195,4 @@ Result:
|
|||
* [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}}
|
||||
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -9,23 +9,21 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% assign summary_getMemPoolDescendants="returns all in-mempool descendants for a transaction in the mempool." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Added in Dash Core 0.12.3*
|
||||
|
||||
The `getmempooldescendants` RPC {{summary_getMemPoolDescendants}}
|
||||
|
||||
*Parameter #1---a transaction identifier (TXID)*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Address"
|
||||
t: "string"
|
||||
- n: "TXID"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The address whose transactions should be tallied"
|
||||
d: "The TXID of a transaction in the memory pool, encoded as hex in RPC byte order"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -144,67 +142,50 @@ The `getmempooldescendants` RPC {{summary_getMemPoolDescendants}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Examples from Bitcoin Core 0.13.1*
|
||||
*Examples from Dash Core 0.12.3*
|
||||
|
||||
The default (`false`):
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmempooldescendants 52273e0ce6cf3452932cfbc1c517c0\
|
||||
ce1af1d255fda67a6e3bd63ba1d908c8c2
|
||||
dash-cli getmempooldescendants 49a512c3d567effd4f605a6023df8b4b5\
|
||||
23ac0ae7bccbaeed1c8a7db1e05e15a
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
[
|
||||
"b104586f229e330caf42c475fd52684e9eb5e2d02f0fcd216d9554c5347b0873",
|
||||
"094f7dcbc7494510d4daeceb2941ed73b1bd011bf527f6c3b7c897fee85c11d4"
|
||||
"49a512c3d567effd4f605a6023df8b4b523ac0ae7bccbaeed1c8a7db1e05e15a"
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
||||
Verbose output (`true`):
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmempooldescendants 52273e0ce6cf3452932cfbc1c517c0\
|
||||
ce1af1d255fda67a6e3bd63ba1d908c8c2 true
|
||||
dash-cli getmempooldescendants 49a512c3d567effd4f605a6023df8b4b5\
|
||||
23ac0ae7bccbaeed1c8a7db1e05e15a true
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
{
|
||||
"b104586f229e330caf42c475fd52684e9eb5e2d02f0fcd216d9554c5347b0873": {
|
||||
"size": 485,
|
||||
"fee": 0.00009700,
|
||||
"modifiedfee": 0.00009700,
|
||||
"time": 1479423635,
|
||||
"height": 439431,
|
||||
"startingpriority": 15327081.81818182,
|
||||
"currentpriority": 21536936.36363636,
|
||||
"49a512c3d567effd4f605a6023df8b4b523ac0ae7bccbaeed1c8a7db1e05e15a": {
|
||||
"size": 226,
|
||||
"fee": 0.00000226,
|
||||
"modifiedfee": 0.00000226,
|
||||
"time": 1519160551,
|
||||
"height": 79046,
|
||||
"startingpriority": 0,
|
||||
"currentpriority": 0,
|
||||
"descendantcount": 1,
|
||||
"descendantsize": 485,
|
||||
"descendantfees": 9700,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 485,
|
||||
"ancestorfees": 9700,
|
||||
"depends": [
|
||||
]
|
||||
},
|
||||
"094f7dcbc7494510d4daeceb2941ed73b1bd011bf527f6c3b7c897fee85c11d4": {
|
||||
"size": 554,
|
||||
"fee": 0.00005540,
|
||||
"modifiedfee": 0.00005540,
|
||||
"time": 1479423327,
|
||||
"height": 439430,
|
||||
"startingpriority": 85074.91071428571,
|
||||
"currentpriority": 3497174.4375,
|
||||
"descendantcount": 1,
|
||||
"descendantsize": 554,
|
||||
"descendantfees": 5540,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 554,
|
||||
"ancestorfees": 5540,
|
||||
"descendantsize": 226,
|
||||
"descendantfees": 226,
|
||||
"ancestorcount": 2,
|
||||
"ancestorsize": 1189,
|
||||
"ancestorfees": 1192,
|
||||
"depends": [
|
||||
"d1eefe8a006e2c21b55bc97c1f5b10000d63aa6a777bb11abc0daf62e4296660"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -215,6 +196,4 @@ Result:
|
|||
* [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}}
|
||||
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -9,23 +9,21 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% assign summary_getMemPoolEntry="returns mempool data for given transaction (must be in mempool)." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Added in Dash Core 0.12.3*
|
||||
|
||||
The `getmempoolentry` RPC {{summary_getMemPoolEntry}}
|
||||
|
||||
*Parameter #1---a transaction identifier (TXID)*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Address"
|
||||
t: "string"
|
||||
- n: "TXID"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The address whose transactions should be tallied"
|
||||
d: "The TXID of a transaction in the memory pool, encoded as hex in RPC byte order"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -114,32 +112,32 @@ The `getmempoolentry` RPC {{summary_getMemPoolEntry}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Examples from Bitcoin Core 0.13.1*
|
||||
*Examples from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli getmempoolentry 52273e0ce6cf3452932cfbc1c517c0ce1af1\
|
||||
d255fda67a6e3bd63ba1d908c8c2
|
||||
dash-cli getmempoolentry d1eefe8a006e2c21b55bc97c1f5b10000d63aa6\
|
||||
a777bb11abc0daf62e4296660
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight json %}
|
||||
{
|
||||
"size": 485,
|
||||
"fee": 0.00009700,
|
||||
"modifiedfee": 0.00009700,
|
||||
"time": 1479423635,
|
||||
"height": 439431,
|
||||
"startingpriority": 15327081.81818182,
|
||||
"currentpriority": 21536936.36363636,
|
||||
"descendantcount": 1,
|
||||
"descendantsize": 485,
|
||||
"descendantfees": 9700,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 485,
|
||||
"ancestorfees": 9700,
|
||||
"depends": [
|
||||
]
|
||||
"size": 226,
|
||||
"fee": 0.00000226,
|
||||
"modifiedfee": 0.00000226,
|
||||
"time": 1519159538,
|
||||
"height": 79036,
|
||||
"startingpriority": 0,
|
||||
"currentpriority": 0,
|
||||
"descendantcount": 2,
|
||||
"descendantsize": 452,
|
||||
"descendantfees": 452,
|
||||
"ancestorcount": 1,
|
||||
"ancestorsize": 226,
|
||||
"ancestorfees": 226,
|
||||
"depends": [
|
||||
]
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
@ -149,6 +147,4 @@ Result:
|
|||
* [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}}
|
||||
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetNetworkInfo
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_getNetworkInfo="returns information about the node's connection to the network." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -94,10 +96,15 @@ The `getnetworkinfo` RPC {{summary_getNetworkInfo}}
|
|||
d: "*Added in Bitcoin Core 0.11.0*<br><br>Set to `true` if randomized credentials are set for this proxy. Otherwise set to `false`"
|
||||
|
||||
- n: "→<br>`relayfee`"
|
||||
t: "number (Dash)"
|
||||
t: "number (DASH)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The minimum relay fee for non-free transactions in order for this node to accept it into its memory pool"
|
||||
|
||||
- n: "→<br>`incrementalfee`"
|
||||
t: "number (DASH)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "*Added in Dash Core 0.12.3*<br><br>The minimum fee increment for mempool limiting or BIP 125 replacement in DASH/kB"
|
||||
|
||||
- n: "→<br>`localaddresses`"
|
||||
t: "array"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -130,7 +137,7 @@ The `getnetworkinfo` RPC {{summary_getNetworkInfo}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli getnetworkinfo
|
||||
|
@ -140,8 +147,8 @@ Result (actual addresses<!--noref--> have been replaced with [RFC5737][] reserve
|
|||
|
||||
{% highlight json %}
|
||||
{
|
||||
"version": 120200,
|
||||
"subversion": "/Dash Core:0.12.2/",
|
||||
"version": 120300,
|
||||
"subversion": "/Dash Core:0.12.3/",
|
||||
"protocolversion": 70208,
|
||||
"localservices": "0000000000000005",
|
||||
"localrelay": true,
|
||||
|
@ -172,6 +179,7 @@ Result (actual addresses<!--noref--> have been replaced with [RFC5737][] reserve
|
|||
}
|
||||
],
|
||||
"relayfee": 0.00001000,
|
||||
"incrementalfee": 0.00001000,
|
||||
"localaddresses": [
|
||||
{
|
||||
"address": "192.0.2.113",
|
||||
|
|
|
@ -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<br>(0 or 1)"
|
||||
d: "For Dash:<br>Set to `0` (the default) to return the serialized transaction as hex. Set to `1` to return a decoded transaction.<br><br>*Updated in Bitcoin Core 0.14.0*<br><br>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*<br><br>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 %}
|
||||
|
||||
|
|
|
@ -785,11 +785,11 @@ dash-cli -testnet gobject getcurrentvotes 78941af577f639ac94440e4855a1ed8f\
|
|||
Result (truncated):
|
||||
{% highlight json %}
|
||||
{
|
||||
"174aaba65982d25a23f437e2a66ec3836146ba7b7ce5b3fe2d5476907f7079d9": "CTxIn(COutPoint(2eab488e3a7b030303de0d18e357ce17a9fc6b8876705d61076bbe923b2e5fc8, 1), scriptSig=):1509354047:YES:DELETE",
|
||||
"444d4d871ec35479804f060c733f516908382642ec2dfce6044a59fcadfdcd60": "CTxIn(COutPoint(18e496fe85b61ac9a5fcaec1ef683c7e3fc9bce4a83c883608427ecfb1002fca, 1), scriptSig=):1508866932:YES:FUNDING",
|
||||
"d49a472c62e9d8105931829fc50ef6c6ce04a230507646ee0eaa615e863ef3a0": "CTxIn(COutPoint(18e496fe85b61ac9a5fcaec1ef683c7e3fc9bce4a83c883608427ecfb1002fca, 1), scriptSig=):1509117071:YES:DELETE",
|
||||
"78442507441d4524d2493b8568d130415c1eb394adb2fe38d6ffeb199115bc5d": "CTxIn(COutPoint(3df7fb192e21c34da99bdd10c34e58ecaf3f3c37d6b2289f0ffedba5050188cc, 1), scriptSig=):1509312524:YES:DELETE",
|
||||
"aa4dc9d3b9e74e8c1ffc725b737d07f8a32e43c64907e4bea19e64a86135f08a": "CTxIn(COutPoint(af9f5646ace92f76b3a01b0abe08716a0a7ded64074c2d2e712c93174b9013d1, 1), scriptSig=):1508866932:YES:FUNDING",
|
||||
"174aaba65982d25a23f437e2a66ec3836146ba7b7ce5b3fe2d5476907f7079d9": "2eab488e3a7b030303de0d18e357ce17a9fc6b8876705d61076bbe923b2e5fc8-1:1509354047:YES:DELETE",
|
||||
"444d4d871ec35479804f060c733f516908382642ec2dfce6044a59fcadfdcd60": "18e496fe85b61ac9a5fcaec1ef683c7e3fc9bce4a83c883608427ecfb1002fca-1:1508866932:YES:FUNDING",
|
||||
"d49a472c62e9d8105931829fc50ef6c6ce04a230507646ee0eaa615e863ef3a0": "18e496fe85b61ac9a5fcaec1ef683c7e3fc9bce4a83c883608427ecfb1002fca-1:1509117071:YES:DELETE",
|
||||
"78442507441d4524d2493b8568d130415c1eb394adb2fe38d6ffeb199115bc5d": "3df7fb192e21c34da99bdd10c34e58ecaf3f3c37d6b2289f0ffedba5050188cc-1:1509312524:YES:DELETE",
|
||||
"aa4dc9d3b9e74e8c1ffc725b737d07f8a32e43c64907e4bea19e64a86135f08a": "af9f5646ace92f76b3a01b0abe08716a0a7ded64074c2d2e712c93174b9013d1-1:1508866932:YES:FUNDING",
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
|||
##### ImportMulti
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_importMulti="imports addresses or scripts (with private keys, public keys, or P2SH redeem scripts) and optionally performs the minimum necessary rescan for all imports." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.14.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||
|
||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Requires wallet support. Wallet must be unlocked.*
|
||||
|
||||
The `importmulti` RPC {{summary_importMulti}}
|
||||
|
@ -123,27 +122,27 @@ The `importmulti` RPC {{summary_importMulti}}
|
|||
p: "Optional<br>(0 or 1)"
|
||||
d: "The error code"
|
||||
|
||||
- n: "→ → → <br>`message`"
|
||||
- n: "→ → → <br>`message<!--noref-->`"
|
||||
t: "string"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "The error message"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.14.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Import the address 1NL9w5fP9kX2D9ToNZPxaiwFJCngNYEYJo (giving it a label and scanning the entire block chain) and the scriptPubKey 76a9149e857da0a5b397559c78c98c9d3f7f655d19c68688ac (giving a specific timestamp and label):
|
||||
Import the address `ycCsAUKsjdmoP4qAXiS1cjYA4ixM48zJWe` (giving it a label and scanning the entire block chain) and the scriptPubKey `76a9146cf5870411edc31ba5630d61c7cddff55b884fda88ac` (giving a specific timestamp and label):
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli importmulti '
|
||||
dash-cli importmulti '
|
||||
[
|
||||
{
|
||||
"scriptPubKey" : { "address": "1NL9w5fP9kX2D9ToNZPxaiwFJCngNYEYJo" },
|
||||
"scriptPubKey" : { "address": "ycCsAUKsjdmoP4qAXiS1cjYA4ixM48zJWe" },
|
||||
"timestamp" : 0,
|
||||
"label" : "Personal"
|
||||
},
|
||||
{
|
||||
"scriptPubKey" : "76a9149e857da0a5b397559c78c98c9d3f7f655d19c68688ac",
|
||||
"scriptPubKey" : "76a9146cf5870411edc31ba5630d61c7cddff55b884fda88ac",
|
||||
"timestamp" : 1493912405,
|
||||
"label" : "TestFailure"
|
||||
}
|
||||
|
@ -153,18 +152,18 @@ bitcoin-cli importmulti '
|
|||
Result (scriptPubKey import failed because `internal` was not set to `true`):
|
||||
|
||||
{% highlight json %}
|
||||
[
|
||||
{
|
||||
"success": true
|
||||
},
|
||||
{
|
||||
"success": false,
|
||||
"error": {
|
||||
[
|
||||
{
|
||||
"success": true
|
||||
},
|
||||
{
|
||||
"success": false,
|
||||
"error": {
|
||||
"code": -8,
|
||||
"message": "Internal must be set for hex scriptPubKey"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
||||
*See also*
|
||||
|
@ -173,6 +172,4 @@ Result (scriptPubKey import failed because `internal` was not set to `true`):
|
|||
* [ImportAddress][rpc importaddress]: {{summary_importAddress}}
|
||||
* [ImportWallet][rpc importwallet]: {{summary_importWallet}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
|||
##### ImportPrunedFunds
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_importPrunedFunds="imports funds without the need of a rescan. Meant for use with pruned wallets." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||
|
||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Requires wallet support.*
|
||||
|
||||
The `importprunedfunds` RPC {{summary_importPrunedFunds}} Corresponding address or script must previously be included in wallet.
|
||||
|
@ -52,7 +51,7 @@ outputs or rescan after the point in the blockchain the transaction is included.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
||||
|
@ -65,6 +64,4 @@ bitcoin-cli importprunedfunds "txhex" "txoutproof"
|
|||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -54,6 +54,17 @@ the *spendable* field in the results described below.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Parameter #4---include unsafe outputs*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Include Unsafe"
|
||||
t: "bool"
|
||||
p: "Optional<br>(false or true)"
|
||||
d: "Include outputs that are not safe to spend because they come from unconfirmed untrusted transactions or unconfirmed replacement transactions (cases where we are less sure that a conflicting transaction won't be mined). Default is `true`"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
||||
*Result---the list of unspent outputs*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
|
@ -107,11 +118,6 @@ the *spendable* field in the results described below.
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of confirmations received for the transaction containing this output"
|
||||
|
||||
- n: "→ →<br>`ps_rounds`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of PrivateSend rounds"
|
||||
|
||||
- n: "→ →<br>`spendable`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -122,9 +128,14 @@ the *spendable* field in the results described below.
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "*Added in Bitcoin Core 0.13.0*<br><br>Set to `true` if the wallet knows how to spend this output. Set to `false` if the wallet does not know how to spend the output. It is ignored if the private keys are available "
|
||||
|
||||
- n: "→ →<br>`ps_rounds`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of PrivateSend rounds"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Get all outputs confirmed at least 6 times for a particular
|
||||
address:
|
||||
|
@ -132,7 +143,7 @@ address:
|
|||
{% highlight bash %}
|
||||
dash-cli -testnet listunspent 6 99999999 '''
|
||||
[
|
||||
"yTQNnbby2yhxoK1UtL9E5J9epGtkAoFWSm"
|
||||
"yXGNabkdQ3JZ7LZ9RCnFe5dqhtBA3hVmU8"
|
||||
]
|
||||
'''
|
||||
{% endhighlight %}
|
||||
|
@ -142,15 +153,15 @@ Result:
|
|||
{% highlight json %}
|
||||
[
|
||||
{
|
||||
"txid": "52e34eec71a4cf95c043b76567f55cec1bc293c444810d454a2d05f2a819b5ed",
|
||||
"vout": 3,
|
||||
"address": "yTQNnbby2yhxoK1UtL9E5J9epGtkAoFWSm",
|
||||
"scriptPubKey": "76a9144db791c2388be4716f048be2648bafe1944f787688ac",
|
||||
"txid": "0e86f58c56648175362443c1ef28e473acb4c4adc1b3f7983deaddfa3a61a4d7",
|
||||
"vout": 4,
|
||||
"address": "yXGNabkdQ3JZ7LZ9RCnFe5dqhtBA3hVmU8",
|
||||
"scriptPubKey": "76a91478149277b5d820b04e60cbf96ff81fd1ccc6533388ac",
|
||||
"amount": 0.01000010,
|
||||
"confirmations": 113,
|
||||
"ps_rounds": 4,
|
||||
"confirmations": 609,
|
||||
"spendable": true,
|
||||
"solvable": true
|
||||
"solvable": true,
|
||||
"ps_rounds": 5
|
||||
}
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
|||
##### MasternodeList
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_masternodeList="returns a list of masternodes in different modes." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
@ -38,7 +40,7 @@ Mode | Description
|
|||
`protocol` | Print protocol of a masternode (can be additionally filtered, exact match)
|
||||
`pubkey` | Print the masternode (not collateral) public key
|
||||
`rank` | Print rank of a masternode based on current block
|
||||
`status` | Print masternode status: PRE_ENABLED / ENABLED / EXPIRED / WATCHDOG_EXPIRED / NEW_START_REQUIRED / UPDATE_REQUIRED / POSE_BAN / OUTPOINT_SPENT (can be additionally filtered, partial match)
|
||||
`status` | Print masternode status: PRE_ENABLED / ENABLED / EXPIRED / SENTINEL_PING_EXPIRED / NEW_START_REQUIRED / UPDATE_REQUIRED / POSE_BAN / OUTPOINT_SPENT (can be additionally filtered, partial match)
|
||||
|
||||
*Parameter #2---List filter*
|
||||
|
||||
|
@ -65,7 +67,7 @@ Mode | Description
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Get unfiltered Masternode list in default mode
|
||||
|
||||
|
@ -76,43 +78,44 @@ dash-cli -testnet masternodelist
|
|||
Result:
|
||||
{% highlight json %}
|
||||
{
|
||||
"6125fc1da46cd2fdd013b1fbb02144367a95feffd379c08064f38de0e3deb80c-1": "NEW_START_REQUIRED",
|
||||
"a4676419793d232359dfd7240bf1b0635b56f2a16aac4cb57f7e9ba459d50116-1": "ENABLED",
|
||||
"2b5142cc7b5472cb34a28e7e1fdefe14f0b1ad4cc9fa9cdc68a169423c18c31d-1": "ENABLED",
|
||||
"4573c2ba5d9d3f8fd2f903cd0f448ee0ad0ff7e20d8f44a14cfce0bdc894c627-1": "ENABLED",
|
||||
"08c91dfff1f465b70377007426cd5edc37678991c9a864e39072409a5a0fd22a-1": "ENABLED",
|
||||
"e3a6b7878a7e9413898bb379b323c521676f9d460db17ec3bf42d9ac0c9a432f-1": "ENABLED",
|
||||
"866d66b88afed15ed1a936b680ace1a99e0ca14d0242bc2983c5fdd2c16c1637-1": "NEW_START_REQUIRED",
|
||||
"97034d0cfabef04388f3eb1c78a064607f8ed42013ed0fb821361d6592f03338-0": "ENABLED",
|
||||
"3003df6b886ed4b0cc84453d8034a546da03fc1052c2088b6b38fd84a4f6fa3f-1": "ENABLED",
|
||||
"61c4696947438861222d7e992a049bfd2ed87f71eb806d8a111c973215141b59-1": "ENABLED",
|
||||
"ea7e0a87aa823aa65d111ed767a4a02f55b3cd361cbd250908db00822e72fb59-1": "ENABLED",
|
||||
"f7851e7f670afa3e758d857c48d477b2f3e1ee37f22de2ca4a852f3885d32e6d-1": "EXPIRED",
|
||||
"f977fba1db0fd32708f0b9488be3806fed6f013a28630cff25ba06abd1f63d72-1": "ENABLED",
|
||||
"b418a47e8dfbdbb8eb88c1a153bef27dcbdb057eb136b2bb93b439fe74b8c174-1": "ENABLED",
|
||||
"7c17695bdccc617410164882bd8b5fb7bf4f5a3dceb0a7476800e161cba1c57f-1": "NEW_START_REQUIRED",
|
||||
"547a86612325ff23945b052a023537aaa68140920143bbf42bd10aec33348487-1": "ENABLED",
|
||||
"2c2cf299fdca7c07f820b1bc46bd786a1d57ac6c3d2e76ac24a5ba7641066488-0": "ENABLED",
|
||||
"75fdd0e1dea139333b71f06f3f2a7440629b3cd106e655ae50b56df7d9aa788b-1": "ENABLED",
|
||||
"320f83802b37f4bbf881cb565bb6e0884615d6b022a81a837cd3716f8dbcec93-0": "ENABLED",
|
||||
"049f30949af536b0a866f7d39d05447405565160399d12b4f0796936e8b9b9a7-1": "ENABLED",
|
||||
"0512f77ebceaf288386e9a050e3c80652c7bfb6e993659ded2dff43eae6904ac-1": "EXPIRED",
|
||||
"94ce1c802de83977fbed283806a1ebef2dcb5539ce9b6c5627c5ac1d844b48bb-1": "ENABLED",
|
||||
"b0320c1eff10ccb5e26086017a09e77dacb30fdcafccb3d98db3e5b610b9f1bd-1": "ENABLED",
|
||||
"2eab488e3a7b030303de0d18e357ce17a9fc6b8876705d61076bbe923b2e5fc8-1": "ENABLED",
|
||||
"18e496fe85b61ac9a5fcaec1ef683c7e3fc9bce4a83c883608427ecfb1002fca-1": "ENABLED",
|
||||
"2fb6c98b37f1fce1c35b556e5f175dd77939f08c1687ad468d37fc677d297dd6-1": "ENABLED",
|
||||
"1e2502158eb22e53c07dbae483e89ebd7fb27e2c0412147d4d376b99df1d94db-1": "ENABLED",
|
||||
"cd0ee654eb517b8b5c36cfa09e1e5344d1766dc71406a112564636b7aef8c9db-1": "ENABLED",
|
||||
"4222505288507e0f1abc32f0323cce1d6c4d22c8e785adb0cf8075b70ae92ddf-1": "EXPIRED",
|
||||
"9f0cd683f88f79f757c6d68515dfb2b9fa5b65239b3c5f4487916aa233b9a4e0-1": "ENABLED",
|
||||
"2102df0dec504b4bd3a1e80b320c5205fe1a8b2fb1366be83c407f048fd62ce6-1": "ENABLED",
|
||||
"c6585f4ba88875eb2edc376b9ae24b74fd8c0ef89288923cf16a8fe2787b7ce8-1": "ENABLED",
|
||||
"b454dd0efc19657f8d56a750385b90ebfb53dce5182a21238b225d6cbb3307f0-1": "NEW_START_REQUIRED",
|
||||
"400f193988092f779104bab20eec042a2686a9903b1bbc84ece7539fd41103f3-1": "ENABLED",
|
||||
"a087bcb1c2f7fc71f081f2d8eeeeb4928ae21af2087c3d77ce5a5c4e88ec26f4-1": "ENABLED",
|
||||
"100a6ef1f9c660cfc6e47dab9905d7ca2a435f1870aba46847eae6503e2858fd-1": "ENABLED",
|
||||
"bbbe50330423337a13501e6273663884f7cb9b475f6d5cf090ba3dabc611d9fe-1": "ENABLED"
|
||||
"f6c83fd96bfaa47887c4587cceadeb9af6238a2c86fe36b883c4d7a6867eab0f-1": "ENABLED",
|
||||
"2ff986f401bfc16ea42b0a402bff3a30cd5b1a3c14dc65c59612c20b6323e010-1": "ENABLED",
|
||||
"54754314335419cc04ef09295ff7765c8062a6123486aed55fd7e9b04f300b13-0": "NEW_START_REQUIRED",
|
||||
"a4676419793d232359dfd7240bf1b0635b56f2a16aac4cb57f7e9ba459d50116-1": "SENTINEL_PING_EXPIRED",
|
||||
"f36420fff251df194de0251b70491df663e3dbed0c678f366a038b549c928c17-1": "NEW_START_REQUIRED",
|
||||
"66eddd00e5927d0a03437d5b8a2f15367c978ef7951c80ae1608a45b1bf64318-1": "ENABLED",
|
||||
"488cae91a9322ea3bb94ac783cce0d151d51529ec90a17e1c75bff381cdc671c-1": "ENABLED",
|
||||
"c33926bb3115a6b6bbcc13989837743d9f2e36dc47886b687e3b8309361b8c2d-1": "NEW_START_REQUIRED",
|
||||
"04390dd7fb4112bd4c2ab70906d8347749a30749fb18e80ba83c37500c02d12d-1": "ENABLED",
|
||||
"e3a6b7878a7e9413898bb379b323c521676f9d460db17ec3bf42d9ac0c9a432f-1": "SENTINEL_PING_EXPIRED",
|
||||
"7d5cc1fb5146d9a53b53c36107f46a6d2b7b110aa146628feeb1b5c2874c0a31-1": "ENABLED",
|
||||
"9c3d7033d670f3e4c0275069c835ab4670b0670cae23b509f509698dee4c0f34-1": "ENABLED",
|
||||
"866d66b88afed15ed1a936b680ace1a99e0ca14d0242bc2983c5fdd2c16c1637-1": "ENABLED",
|
||||
"1165254749f75622800ccca026e7d1a47c2bcf3b9b9a4fa7fbe0bfcb56fa2237-1": "ENABLED",
|
||||
"037735d68b6097a6ebd1e507a1bc39582cf4d0dcc96d4df0ee4f7c31c2fe2d37-1": "ENABLED",
|
||||
"6ba3614f2832800b9cbe01b90c7d50d10eca94d91a5ce839597954ff5db39038-1": "ENABLED",
|
||||
"7b6cfdafbc5f13e269e07310974de97e06d5fb0ee8125926eab500e0f2b9263c-1": "ENABLED",
|
||||
"34c3b5e1b891a17009cc9d7f207c1d6cb818ed6a303520f55917821c5ed1a63f-1": "ENABLED",
|
||||
"a7cada7173593b82b0b3b4c3ce4b316a1a3afbf94e7f218d476833fe2d022546-1": "ENABLED",
|
||||
"386ac02fae1ac02c57253dddce93a2f492266e9d685ab69521c5807ae381b947-1": "ENABLED",
|
||||
"3d64bd65cb84b935278420de3673cba33470a1e1996c4debfccb5d722254404c-1": "ENABLED",
|
||||
"8e5b1a4ca31b136c2ac523a488799b11e3b78e1794e9e88055ead3c6ff6cad4d-1": "NEW_START_REQUIRED",
|
||||
"9731e9da039780fd8c195e5cef87649bcd31e50cf0d2573e15ae57e948bff74d-1": "NEW_START_REQUIRED",
|
||||
"c41fe473ee643b95f0583c3a2839fe4492dda7fc3b8de6fac00b206204cfa04f-1": "NEW_START_REQUIRED",
|
||||
"a175efa6adce750f620e0e2b65c5336bc777668c21ab61c6d25d9f3492101551-1": "NEW_START_REQUIRED",
|
||||
"4489b5a53933f2525db033bdb7bd0fa6d4db7c4b7e6a2bfaf61c16a5073b9f51-1": "ENABLED",
|
||||
"aab5986b470495c1843f32ed7c2dce24eae5fc38899f594364cfbde1622b3d52-0": "NEW_START_REQUIRED",
|
||||
"f45e6b24faa0ab68cd8e32936481be744851f5223dfe914fa5615779f9919c54-0": "SENTINEL_PING_EXPIRED",
|
||||
"61c4696947438861222d7e992a049bfd2ed87f71eb806d8a111c973215141b59-1": "NEW_START_REQUIRED",
|
||||
"ea7e0a87aa823aa65d111ed767a4a02f55b3cd361cbd250908db00822e72fb59-1": "SENTINEL_PING_EXPIRED",
|
||||
"e2275d72303d0a78f1be2cd622f264ae52f66384f3bf75bac5d2d997a761235e-1": "ENABLED",
|
||||
"fa77ae59f7c973da2d0fea1c96b24d2ceb0dc3054e4baabc0475d9c6404a625e-1": "ENABLED",
|
||||
"3dadf953a250899164f0e75050d2cad2ae159c521d902168f4cead9243c79661-0": "NEW_START_REQUIRED",
|
||||
"1466e0a5b65428465ae00bc476ff4955a6d2f292b900f720a67ea10d90f90462-1": "SENTINEL_PING_EXPIRED",
|
||||
"66ab709c4132623279994a86af13e033b198e8a5b76290b288f314da94d80168-0": "NEW_START_REQUIRED",
|
||||
"6bd4437d523e7440fd3578be22b3e5d2bdabb89ae70f2161bdc1a2e8dbff656b-1": "ENABLED",
|
||||
"1b8a9b5f723e6fa1c3cb72f7d0160f3401886186cf972b3e44d3ad7bc995e370-1": "ENABLED",
|
||||
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
|
@ -7,15 +7,13 @@ http://opensource.org/licenses/MIT.
|
|||
##### PreciousBlock
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_preciousBlock="treats a block as if it were received before others with the same work." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.14.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||
|
||||
The `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call can override the effect of an earlier one. The effects of `preciousblock` are not retained across restarts.
|
||||
|
||||
|
@ -39,15 +37,13 @@ The `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call c
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.14.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli preciousblock 000000000000000001517a0bac70b8cd6f27ee\
|
||||
1b50a8f12bf606ea6fb6d561cd
|
||||
dash-cli preciousblock 00000000034d77e287b63922a94f12e8c4ab9e\
|
||||
1d8056060fd51f6153ea5dc757
|
||||
{% endhighlight %}
|
||||
|
||||
Result (no output from `bitcoin-cli` because result is set to `null`).
|
||||
|
||||
{% endcomment %}
|
||||
Result (no output from `dash-cli` because result is set to `null`).
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,15 +7,13 @@ http://opensource.org/licenses/MIT.
|
|||
##### PruneBlockChain
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_pruneBlockChain="prunes the blockchain up to a specified height or timestamp." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.14.0*
|
||||
|
||||
**_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.14.0*
|
||||
|
||||
The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs to be enabled (disabled by default).
|
||||
|
||||
|
@ -39,10 +37,10 @@ The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Examples from Bitcoin Core 0.14.1*
|
||||
*Examples from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli pruneblockchain 413555
|
||||
dash-cli pruneblockchain 413555
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
@ -55,6 +53,4 @@ Result:
|
|||
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,15 +7,14 @@ http://opensource.org/licenses/MIT.
|
|||
##### RemovePrunedFunds
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% assign summary_removePrunedFunds="deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||
|
||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
*Requires wallet support.*
|
||||
|
||||
The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect wallet balances.
|
||||
|
@ -40,11 +39,11 @@ The `removeprunedfunds` RPC {{summary_removePrunedFunds}} This will effect walle
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli removeprunedfunds a8d0c0184dde994a09ec054286f1ce581b\
|
||||
ebf46446a512166eae7628734ea0a5
|
||||
dash-cli removeprunedfunds bb7daff525b83fa6a847ab50bf7f8f14d6\
|
||||
22761a19f69157b362ef3f25bda687
|
||||
{% endhighlight %}
|
||||
|
||||
(Success: no result displayed.)
|
||||
|
@ -54,6 +53,4 @@ ebf46446a512166eae7628734ea0a5
|
|||
* [ImportPrivKey][rpc importprivkey]: {{summary_importPrivKey}}
|
||||
* [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
48
_includes/devdoc/dash-core/rpcs/rpcs/setbip69enabled.md
Normal file
48
_includes/devdoc/dash-core/rpcs/rpcs/setbip69enabled.md
Normal file
|
@ -0,0 +1,48 @@
|
|||
{% comment %}
|
||||
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/setbip69enabled.md" %}
|
||||
|
||||
##### SetBIP69Enabled
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
{% assign summary_setBIP69Enabled="enables or disables BIP69 input/output sorting (regtest network only)" %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
The `setbip69enabled` RPC {{summary_setBIP69Enabled}}
|
||||
|
||||
*Parameter #1---enable/disable BIP69 sorting (regtest only)*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`enable`"
|
||||
t: "boolean"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Set to true to turn on BIP69 sorting, false to turn off."
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Result---`null` or error on failure*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`result`"
|
||||
t: "null"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "JSON `null`. The JSON-RPC error field will be set only if you entered an invalid parameter"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet setbip69enabled true
|
||||
{% endhighlight %}
|
||||
|
||||
Result (no output<!--noref--> from `dash-cli` because result is set to `null`).
|
||||
|
||||
*See also: none*
|
||||
|
||||
{% endautocrossref %}
|
|
@ -7,13 +7,15 @@ 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." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Requires wallet support.*
|
||||
|
||||
*Removed in Bitcoin Core 0.13.0.*
|
||||
**_Removed in Dash Core 0.12.3 / Bitcoin Core 0.13.0._**
|
||||
|
||||
The `setgenerate` RPC {{summary_setGenerate}}
|
||||
|
||||
|
|
|
@ -9,19 +9,18 @@ http://opensource.org/licenses/MIT.
|
|||
|
||||
{% assign summary_signMessageWithPrivKey="signs a message with a given private key." %}
|
||||
|
||||
<!-- __ -->
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
*Added in Bitcoin Core 0.13.0*
|
||||
*Added in Dash Core 0.12.3 / Bitcoin Core 0.13.0*
|
||||
|
||||
{{WARNING_ICON}} **_Not implemented in Dash Core (as of 0.12.2)_**
|
||||
|
||||
{% comment %}
|
||||
The `signmessagewithprivkey` RPC {{summary_signMessageWithPrivKey}}
|
||||
|
||||
*Parameter #1---the private key to sign with*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Privat Key"
|
||||
- n: "Private Key"
|
||||
t: "string (base58)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The private key to sign the message with encoded in base58check using wallet import format (WIF)"
|
||||
|
@ -44,23 +43,23 @@ The `signmessagewithprivkey` RPC {{summary_signMessageWithPrivKey}}
|
|||
- n: "`result`"
|
||||
t: "string (base64)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The signature of the message, encoded in base64. Note that Bitcoin Core before 0.10.0 creates signatures with random *k* values, so each time you sign the same message, it will create a different signature"
|
||||
d: "The signature of the message, encoded in base64."
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Bitcoin Core 0.13.1*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Sign a the message "Hello, World!" using the following private key:
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli signmessagewithprivkey 5HpHagT65TZzG1PH3CSu63k8DbpvD\
|
||||
8s5ip4nEB3kEsreKamq6aB "Hello, World!"
|
||||
dash-cli signmessagewithprivkey cNKbZBqUCjuBRSnAJWwFWxKESJ5Lw\
|
||||
G4uxBSJ1UeBNBGVRupFKr6S "Hello, World!"
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight text %}
|
||||
G+ZauMFgQExAJRKZSldbAVEaZo4i0p2AVivbFASo50PkUnynAMDUiNMVdXDlpYMWvatxCmYmLn8C9zygPRn3Y1c=
|
||||
IBx8jxFjutPlcZcFdQPlA2n/B4yTrYhH43qYJURKRj7LWhSD0ERE/nnRLOnXi/gwULUcqfqOKqnqkSvuJjlgEvc=
|
||||
{% endhighlight %}
|
||||
|
||||
*See also*
|
||||
|
@ -68,6 +67,4 @@ G+ZauMFgQExAJRKZSldbAVEaZo4i0p2AVivbFASo50PkUnynAMDUiNMVdXDlpYMWvatxCmYmLn8C9zyg
|
|||
* [SignMessage][rpc signmessage]: {{summary_signMessage}}
|
||||
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
|
||||
|
||||
{% endcomment %}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -101,6 +101,11 @@ The `validateaddress` RPC {{summary_validateAddress}}
|
|||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Deprecated: will be removed in a later version of Bitcoin Core*<br><br>The account this address belong to. May be an empty string for the default account. Only returned if the address belongs to the wallet"
|
||||
|
||||
- n: "→<br>`timestamp`"
|
||||
t: "number (int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.12.3*<br><br>The creation time of the key if available in seconds since epoch (Jan 1 1970 GMT)"
|
||||
|
||||
- n: "→<br>`hdkeypath`"
|
||||
t: "string"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
|
@ -113,7 +118,7 @@ The `validateaddress` RPC {{summary_validateAddress}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.3*
|
||||
|
||||
Validate the following P2PKH address from the wallet:
|
||||
|
||||
|
@ -133,7 +138,8 @@ Result:
|
|||
"isscript": false,
|
||||
"pubkey": "02eacba539d92eb88d4e73bb32749d79f53f6e8d7947ac40a71bd4b26c13b6ec29",
|
||||
"iscompressed": true,
|
||||
"account": "Test"
|
||||
"account": "Msig 1",
|
||||
"timestamp": 0
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
@ -162,6 +168,7 @@ Result:
|
|||
],
|
||||
"sigsrequired": 2,
|
||||
"account": "test account"
|
||||
"timestamp": 0
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
|
@ -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." %}
|
||||
|
@ -123,8 +123,9 @@ This file is licensed under the terms of its source texts{%endcomment%}
|
|||
{% assign summary_sendToAddress="spends an amount to a given address." %}
|
||||
{% assign summary_sentinelPing="sends a Sentinel Ping to the network." %}
|
||||
{% assign summary_setAccount="puts the specified address in the given account." %}
|
||||
{% assign summary_setBIP69Enabled="enables or disables BIP69 input/output sorting (regtest network only)" %}
|
||||
{% 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." %}
|
||||
|
|
|
@ -427,4 +427,4 @@ NOT IN DASH
|
|||
{% assign WARNING=" **Warning:**" %}
|
||||
{% assign WARNING_ICON="" %}
|
||||
|
||||
{% 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." %}
|
||||
|
|
|
@ -77,7 +77,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Blockchain</td>
|
||||
<td class="tg-yw4l"><a href="#getblockchaininfo">GetBlockChainInfo</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
|
@ -124,20 +124,20 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-yw4l">Blockchain</td>
|
||||
<td class="tg-yw4l"><a href="#getmempoolancestors">GetMemPoolAncestors</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
<td class="tg-b7b8"><a href="#getmempooldescendants">GetMemPoolDescendants</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">N/A</td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Blockchain</td>
|
||||
<td class="tg-yw4l"><a href="#getmempoolentry">GetMemPoolEntry</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
|
@ -178,14 +178,14 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
<td class="tg-b7b8"><a href="#preciousblock">PreciousBlock</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">N/A</td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Blockchain</td>
|
||||
<td class="tg-yw4l"><a href="#pruneblockchain">PruneBlockChain</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
|
@ -203,7 +203,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Control</td>
|
||||
<td class="tg-b7b8"><a href="#debug">Debug</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Control</td>
|
||||
|
@ -227,7 +227,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Dash</td>
|
||||
<td class="tg-b7b8"><a href="#getgovernanceinfo">GetGovernanceInfo</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">Updated in 0.12.2.2</td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Dash</td>
|
||||
|
@ -245,13 +245,13 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Dash</td>
|
||||
<td class="tg-yw4l"><a href="#gobject">GObject</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">Updated in 0.12.3</td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Dash</td>
|
||||
<td class="tg-b7b8"><a href="#masternode">Masternode</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3</td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Dash</td>
|
||||
|
@ -263,7 +263,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Dash</td>
|
||||
<td class="tg-b7b8"><a href="#masternodelist">MasternodeList</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Dash</td>
|
||||
|
@ -287,7 +287,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Dash</td>
|
||||
<td class="tg-b7b8"><a href="#spork-rpc">Spork</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Dash</td>
|
||||
|
@ -299,31 +299,31 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Generating</td>
|
||||
<td class="tg-b7b8"><a href="#generate">Generate</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Generating</td>
|
||||
<td class="tg-yw4l"><a href="#generatetoaddress">GenerateToAddress</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Generating</td>
|
||||
<td class="tg-b7b8"><a href="#getgenerate">GetGenerate</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Generating</td>
|
||||
<td class="tg-yw4l"><a href="#setgenerate">SetGenerate</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Removed</td>
|
||||
<td class="tg-b7b8"><a href="#getgenerate">GetGenerate</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">Removed in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Removed</td>
|
||||
<td class="tg-yw4l"><a href="#setgenerate">SetGenerate</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">Removed in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Mining</td>
|
||||
<td class="tg-b7b8"><a href="#getblocktemplate">GetBlockTemplate</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Mining</td>
|
||||
|
@ -371,7 +371,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Network</td>
|
||||
<td class="tg-b7b8"><a href="#getaddednodeinfo">GetAddedNodeInfo</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Network</td>
|
||||
|
@ -389,7 +389,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Network</td>
|
||||
<td class="tg-yw4l"><a href="#getnetworkinfo">GetNetworkInfo</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Network</td>
|
||||
|
@ -425,7 +425,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Rawtransactions</td>
|
||||
<td class="tg-yw4l"><a href="#createrawtransaction">CreateRawTransaction</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Rawtransactions</td>
|
||||
|
@ -443,13 +443,13 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Rawtransactions</td>
|
||||
<td class="tg-b7b8"><a href="#fundrawtransaction">FundRawTransaction</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Rawtransactions</td>
|
||||
<td class="tg-yw4l"><a href="#getrawtransaction">GetRawTransaction</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Rawtransactions</td>
|
||||
|
@ -491,7 +491,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#estimatepriority">EstimatePriority</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Deprecated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Util</td>
|
||||
|
@ -503,19 +503,25 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#estimatesmartpriority">EstimateSmartPriority</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Deprecated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Util</td>
|
||||
<td class="tg-yw4l"><a href="#getmemoryinfo">GetMemoryInfo</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#setbip69enabled">SetBIP69Enabled</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Util</td>
|
||||
<td class="tg-b7b8"><a href="#validateaddress">ValidateAddress</a></td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6"></td>
|
||||
<td class="tg-dzk6">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Util</td>
|
||||
|
@ -658,8 +664,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
<td class="tg-b7b8"><a href="#importmulti">ImportMulti</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">N/A</td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Wallet</td>
|
||||
|
@ -670,8 +676,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
<td class="tg-b7b8"><a href="#importprunedfunds">ImportPrunedFunds</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">N/A</td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Wallet</td>
|
||||
|
@ -749,7 +755,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Wallet</td>
|
||||
<td class="tg-yw4l"><a href="#listunspent">ListUnspent</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh"></td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
|
@ -766,8 +772,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
<td class="tg-b7b8"><a href="#removeprunedfunds">RemovePrunedFunds</a></td>
|
||||
<td class="tg-dzk6">N</td>
|
||||
<td class="tg-dzk6">N/A</td>
|
||||
<td class="tg-dzk6">Y</td>
|
||||
<td class="tg-dzk6">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Wallet</td>
|
||||
|
@ -808,8 +814,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<tr>
|
||||
<td class="tg-yw4l">Wallet</td>
|
||||
<td class="tg-yw4l"><a href="#signmessagewithprivkey">SignMessageWithPrivKey</a></td>
|
||||
<td class="tg-baqh">N</td>
|
||||
<td class="tg-baqh">N/A</td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">0.12.3.0+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
|
|
|
@ -170,6 +170,7 @@ http://opensource.org/licenses/MIT.
|
|||
[rpc sendtoaddress]: /en/developer-reference#sendtoaddress
|
||||
[rpc setaccount]: /en/developer-reference#setaccount
|
||||
[rpc setban]: /en/developer-reference#setban
|
||||
[rpc setbip69enabled]: /en/developer-reference#setbip69enabled
|
||||
[rpc setgenerate]: /en/developer-reference#setgenerate
|
||||
[rpc setnetworkactive]: /en/developer-reference#setnetworkactive
|
||||
[rpc settxfee]: /en/developer-reference#settxfee
|
||||
|
|
|
@ -300,6 +300,8 @@ untrusted source.
|
|||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setban.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setbip69enabled.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setgenerate.md %}
|
||||
|
||||
{% include devdoc/dash-core/rpcs/rpcs/setnetworkactive.md %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue