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}}
|
* [Debug][rpc debug]: {{summary_debug}} {{DASH_UPDATED0_12_3}}
|
||||||
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DEPRECATED}}
|
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DEPRECATED}}
|
||||||
|
* [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{DASH_NEW0_12_3}} {{NEW_14_0}}
|
||||||
* [Help][rpc help]: {{summary_help}}
|
* [Help][rpc help]: {{summary_help}}
|
||||||
* [Stop][rpc stop]: {{summary_stop}}
|
* [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}}
|
* [AddNode][rpc addnode]: {{summary_addNode}} {{UPDATED0_14_0}}
|
||||||
* [ClearBanned][rpc clearbanned]: {{summary_clearBanned}} {{NEW0_12_0}}
|
* [ClearBanned][rpc clearbanned]: {{summary_clearBanned}} {{NEW0_12_0}}
|
||||||
* [DisconnectNode][rpc disconnectnode]: {{summary_disconnectNode}} {{NEW0_12_0}} {{UPDATED0_14_1}}
|
* [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}}
|
* [GetConnectionCount][rpc getconnectioncount]: {{summary_getConnectionCount}}
|
||||||
* [GetNetTotals][rpc getnettotals]: {{summary_getNetTotals}} {{UPDATED0_12_0}}
|
* [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}}
|
* [GetPeerInfo][rpc getpeerinfo]: {{summary_getPeerInfo}} {{UPDATED0_13_0}}
|
||||||
* [ListBanned][rpc listbanned]: {{summary_listBanned}} {{NEW0_12_0}}
|
* [ListBanned][rpc listbanned]: {{summary_listBanned}} {{NEW0_12_0}}
|
||||||
* [Ping][rpc ping]: {{summary_ping-rpc}}
|
* [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}}
|
* [ValidateAddress][rpc validateaddress]: {{summary_validateAddress}} {{UPDATED0_13_0}}
|
||||||
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
|
* [VerifyMessage][rpc verifymessage]: {{summary_verifyMessage}}
|
||||||
|
|
||||||
* {{DASH_NOT_IMPLEMENTED}} [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{NEW_14_0}}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
#### Wallet RPCs
|
#### Wallet RPCs
|
||||||
|
|
|
@ -7,23 +7,29 @@ http://opensource.org/licenses/MIT.
|
||||||
##### GetAddedNodeInfo
|
##### GetAddedNodeInfo
|
||||||
{% include helpers/subhead-links.md %}
|
{% 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." %}
|
{% 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 %}
|
{% autocrossref %}
|
||||||
|
|
||||||
The `getaddednodeinfo` RPC {{summary_getAddedNodeInfo}}
|
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 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "Dummy"
|
- n: "_Dummy_"
|
||||||
t: "bool"
|
t: "_bool_"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "_Required<br>(exactly 1)_"
|
||||||
d: "Kept for historical purposes but ignored<br><br>*Removed in Bitcoin Core 0.14.0*"
|
d: "_Removed in Dash Core 0.12.3_"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% 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 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`node`"
|
- n: "`node`"
|
||||||
|
@ -78,10 +84,10 @@ The `getaddednodeinfo` RPC {{summary_getAddedNodeInfo}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.2*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
dash-cli getaddednodeinfo true
|
dash-cli getaddednodeinfo
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Result (real hostname and IP address replaced with [RFC5737][] reserved address):
|
Result (real hostname and IP address replaced with [RFC5737][] reserved address):
|
||||||
|
|
|
@ -13,11 +13,8 @@ http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
{% autocrossref %}
|
{% 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}}
|
The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
|
||||||
|
|
||||||
*Parameters: none*
|
*Parameters: none*
|
||||||
|
@ -67,10 +64,10 @@ The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Bitcoin Core 0.14.1*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli getmemoryinfo
|
dash-cli getmemoryinfo
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Result:
|
Result:
|
||||||
|
@ -78,11 +75,11 @@ Result:
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"locked": {
|
"locked": {
|
||||||
"used": 0,
|
"used": 32,
|
||||||
"free": 65536,
|
"free": 65504,
|
||||||
"total": 65536,
|
"total": 65536,
|
||||||
"locked": 65536,
|
"locked": 65536,
|
||||||
"chunks_used": 0,
|
"chunks_used": 1,
|
||||||
"chunks_free": 1
|
"chunks_free": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -93,6 +90,4 @@ Result:
|
||||||
|
|
||||||
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}}
|
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}}
|
||||||
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
|
@ -7,6 +7,8 @@ http://opensource.org/licenses/MIT.
|
||||||
##### GetNetworkInfo
|
##### GetNetworkInfo
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- __ -->
|
||||||
|
|
||||||
{% assign summary_getNetworkInfo="returns information about the node's connection to the network." %}
|
{% assign summary_getNetworkInfo="returns information about the node's connection to the network." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% 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`"
|
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`"
|
- n: "→<br>`relayfee`"
|
||||||
t: "number (Dash)"
|
t: "number (DASH)"
|
||||||
p: "Required<br>(exactly 1)"
|
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"
|
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`"
|
- n: "→<br>`localaddresses`"
|
||||||
t: "array"
|
t: "array"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
|
@ -130,7 +137,7 @@ The `getnetworkinfo` RPC {{summary_getNetworkInfo}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.2*
|
*Example from Dash Core 0.12.3*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
dash-cli getnetworkinfo
|
dash-cli getnetworkinfo
|
||||||
|
@ -140,8 +147,8 @@ Result (actual addresses<!--noref--> have been replaced with [RFC5737][] reserve
|
||||||
|
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"version": 120200,
|
"version": 120300,
|
||||||
"subversion": "/Dash Core:0.12.2/",
|
"subversion": "/Dash Core:0.12.3/",
|
||||||
"protocolversion": 70208,
|
"protocolversion": 70208,
|
||||||
"localservices": "0000000000000005",
|
"localservices": "0000000000000005",
|
||||||
"localrelay": true,
|
"localrelay": true,
|
||||||
|
@ -172,6 +179,7 @@ Result (actual addresses<!--noref--> have been replaced with [RFC5737][] reserve
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"relayfee": 0.00001000,
|
"relayfee": 0.00001000,
|
||||||
|
"incrementalfee": 0.00001000,
|
||||||
"localaddresses": [
|
"localaddresses": [
|
||||||
{
|
{
|
||||||
"address": "192.0.2.113",
|
"address": "192.0.2.113",
|
||||||
|
|
|
@ -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">Network</td>
|
||||||
<td class="tg-b7b8"><a href="#getaddednodeinfo">GetAddedNodeInfo</a></td>
|
<td class="tg-b7b8"><a href="#getaddednodeinfo">GetAddedNodeInfo</a></td>
|
||||||
<td class="tg-dzk6">Y</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>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Network</td>
|
<td class="tg-yw4l">Network</td>
|
||||||
|
@ -508,8 +508,8 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-yw4l">Util</td>
|
<td class="tg-yw4l">Util</td>
|
||||||
<td class="tg-yw4l"><a href="#getmemoryinfo">GetMemoryInfo</a></td>
|
<td class="tg-yw4l"><a href="#getmemoryinfo">GetMemoryInfo</a></td>
|
||||||
<td class="tg-baqh">N</td>
|
<td class="tg-baqh">Y</td>
|
||||||
<td class="tg-baqh">N/A</td>
|
<td class="tg-baqh">0.12.3.0+</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Util</td>
|
<td class="tg-b7b8">Util</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue