mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
content - GetInfo RPCs updated
- getaddednodeinfo, getmemoryinfo, getnetworkinfo - Update Ref and Table
This commit is contained in:
parent
3a97646ec2
commit
61d4f1b066
5 changed files with 38 additions and 30 deletions
|
@ -137,6 +137,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
* [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}}
|
||||
|
||||
|
@ -197,10 +198,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}}
|
||||
|
@ -239,8 +240,6 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{UPDATED0_13_0}}
|
||||
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
|
||||
|
||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{NEW_14_0}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
#### Wallet RPCs
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue