dogecoin/src/rpc
Wladimir J. van der Laan 6567999096 rpc: Add getmemoryinfo call
```
getmemoryinfo
Returns an object containing information about memory usage.

Result:
{
  "locked": {               (json object) Information about locked memory manager
    "used": xxxxx,          (numeric) Number of bytes used
    "free": xxxxx,          (numeric) Number of bytes available in current arenas
    "total": xxxxxxx,       (numeric) Total number of bytes managed
    "locked": xxxxxx,       (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.
  }
}

Examples:
> bitcoin-cli getmemoryinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
```
2016-10-27 13:17:26 +02:00
..
blockchain.cpp [RPC] Give RPC commands more information about the RPC request 2016-10-19 14:42:08 +02:00
client.cpp add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests 2016-09-07 12:46:01 -04:00
client.h move rpc* to rpc/ 2016-01-21 08:36:55 +11:00
mining.cpp [RPC] Give RPC commands more information about the RPC request 2016-10-19 14:42:08 +02:00
misc.cpp rpc: Add getmemoryinfo call 2016-10-27 13:17:26 +02:00
net.cpp [RPC] Give RPC commands more information about the RPC request 2016-10-19 14:42:08 +02:00
protocol.cpp rpc: Change JSONRPCRequest to JSONRPCRequestObj 2016-10-19 14:30:14 +02:00
protocol.h rpc: Change JSONRPCRequest to JSONRPCRequestObj 2016-10-19 14:30:14 +02:00
rawtransaction.cpp [RPC] Give RPC commands more information about the RPC request 2016-10-19 14:42:08 +02:00
register.h Do not shadow global RPC table variable (tableRPC) 2016-08-25 15:02:26 +02:00
server.cpp [RPC] Give RPC commands more information about the RPC request 2016-10-19 14:42:08 +02:00
server.h [RPC] pass HTTP basic authentication username to the JSONRequest object 2016-10-19 14:47:27 +02:00