mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
Add Debug RPC
This commit is contained in:
parent
97c84724e8
commit
5011081fb5
6 changed files with 46 additions and 1 deletions
38
_includes/devdoc/dash-core/rpcs/rpcs/debug.md
Normal file
38
_includes/devdoc/dash-core/rpcs/rpcs/debug.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/debug.md" %}
|
||||
|
||||
##### Debug
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
{% assign summary_debug="changes the debug category from the console." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
The `debug` RPC {{summary_debug}}
|
||||
|
||||
*Parameter #1---debug category*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "Debug category"
|
||||
t: "string"
|
||||
p: "Required<br>(1 or more)"
|
||||
d: "The debug category to activate. Use a comma to specify multiple categories. Categories will be one of the following:<br>• `0` - Disables all categories <br>• `1` - Enables all categories <br>• `addrman` <br>• `alert` <br>• `bench` <br>• `coindb` <br>• `db` <br>• `lock` <br>• `rand` <br>• `rpc` <br>• `selectcoins` <br>• `mempool` <br>• `mempoolrej` <br>• `net` <br>• `proxy` <br>• `prune` <br>• `http` <br>• `libevent` <br>• `tor` <br>• `zmq` <br>• `dash` <br>• `privatesend` <br>• `instantsend` <br>• `masternode` <br>• `spork` <br>• `keepass` <br>• `mnpayments` <br>• `gobject` <br>"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet debug "net,mempool"
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
|
||||
{% highlight text %}
|
||||
Debug mode: net,mempool
|
||||
{% endhighlight %}
|
||||
|
||||
*See also: none*
|
||||
|
||||
{% endautocrossref %}
|
Loading…
Add table
Add a link
Reference in a new issue