mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - getinfo add deprecations-warning
This commit is contained in:
parent
1fb51ac61a
commit
7810475e89
3 changed files with 11 additions and 5 deletions
|
@ -151,7 +151,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
* [Debug][rpc debug]: {{summary_debug}} {{DASH_UPDATED0_14_0}}
|
* [Debug][rpc debug]: {{summary_debug}} {{DASH_UPDATED0_14_0}}
|
||||||
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DASH_UPDATED0_14_0}} {{DEPRECATED}}
|
* [GetInfo][rpc getinfo]: {{summary_getInfo}} {{DASH_UPDATED0_14_1}} {{DEPRECATED}}
|
||||||
* [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{DASH_UPDATED0_14_1}} {{NEW_14_0}}
|
* [GetMemoryInfo][rpc getmemoryinfo]: {{summary_getMemoryInfo}} {{DASH_UPDATED0_14_1}} {{NEW_14_0}}
|
||||||
* [Help][rpc help]: {{summary_help}}
|
* [Help][rpc help]: {{summary_help}}
|
||||||
* [Stop][rpc stop]: {{summary_stop}}
|
* [Stop][rpc stop]: {{summary_stop}}
|
||||||
|
|
|
@ -27,6 +27,11 @@ Core. Use the RPCs listed in the See Also subsection below instead.
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "Information about this node and the network"
|
d: "Information about this node and the network"
|
||||||
|
|
||||||
|
- n: "→<br>`deprecation-warning`"
|
||||||
|
t: "string"
|
||||||
|
p: "Required<br>(exactly 1)"
|
||||||
|
d: "Warning that the getinfo command is deprecated and will be removed in a future version"
|
||||||
|
|
||||||
- n: "→<br>`version`"
|
- n: "→<br>`version`"
|
||||||
t: "number (int)"
|
t: "number (int)"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
|
@ -114,7 +119,7 @@ Core. Use the RPCs listed in the See Also subsection below instead.
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.2 with wallet support enabled*
|
*Example from Dash Core 0.14.1 with wallet support enabled*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
dash-cli -testnet getinfo
|
dash-cli -testnet getinfo
|
||||||
|
@ -124,8 +129,9 @@ Result:
|
||||||
|
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"version": 120200,
|
"deprecation-warning": "WARNING: getinfo is deprecated and will be fully removed in a future version. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo.",
|
||||||
"protocolversion": 70208,
|
"version": 140100,
|
||||||
|
"protocolversion": 70215,
|
||||||
"walletversion": 61000,
|
"walletversion": 61000,
|
||||||
"balance": 0.00000000,
|
"balance": 0.00000000,
|
||||||
"privatesend_balance": 0.00000000,
|
"privatesend_balance": 0.00000000,
|
||||||
|
|
|
@ -221,7 +221,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<td class="tg-yw4l">Control</td>
|
<td class="tg-yw4l">Control</td>
|
||||||
<td class="tg-yw4l"><a href="#getinfo">GetInfo</a></td>
|
<td class="tg-yw4l"><a href="#getinfo">GetInfo</a></td>
|
||||||
<td class="tg-baqh">Y</td>
|
<td class="tg-baqh">Y</td>
|
||||||
<td class="tg-baqh">Updated in 0.14.0</td>
|
<td class="tg-baqh">Updated in 0.14.1</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Control</td>
|
<td class="tg-b7b8">Control</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue