Reference - finish Util RPCs

- Update last util RPC (getmemoryinfo)
This commit is contained in:
thephez 2017-11-28 13:02:04 -05:00
parent c21a890aed
commit 6fdba2bc89

View file

@ -9,10 +9,15 @@ http://opensource.org/licenses/MIT.
{% assign summary_getMemoryInfo="returns information about memory usage." %} {% assign summary_getMemoryInfo="returns information about memory usage." %}
<!-- __ -->
{% autocrossref %} {% autocrossref %}
*Added in Bitcoin Core 0.14.0* *Added in 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*
@ -28,8 +33,8 @@ The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
- n: "→<br>`locked`" - n: "→<br>`locked`"
t: "string : object" t: "string : object"
p: "Required<br>(exactly 1)" p: "Required<br>(exactly 1)"
d: "An object containing information about locked memory manager" d: "An object containing information about locked memory manager"
- n: "→→<br>`used`" - n: "→→<br>`used`"
t: "number (int)" t: "number (int)"
p: "Required<br>(exactly 1)" p: "Required<br>(exactly 1)"
@ -59,7 +64,7 @@ The `getmemoryinfo` RPC {{summary_getMemoryInfo}}
t: "number (int)" t: "number (int)"
p: "Required<br>(exactly 1)" p: "Required<br>(exactly 1)"
d: "Number unused chunks" d: "Number unused chunks"
{% enditemplate %} {% enditemplate %}
*Example from Bitcoin Core 0.14.1* *Example from Bitcoin Core 0.14.1*
@ -88,4 +93,6 @@ Result:
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} * [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}}
{% endcomment %}
{% endautocrossref %} {% endautocrossref %}