mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - Update gobject count examples
This commit is contained in:
parent
160e775eba
commit
444e69765d
1 changed files with 8 additions and 8 deletions
|
@ -510,7 +510,7 @@ The `gobject count` RPC returns the count of governance objects and votes.
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.3 (mode: `json`/default)*
|
*Example from Dash Core 0.14.0 (mode: `json`/default)*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
dash-cli -testnet gobject count
|
dash-cli -testnet gobject count
|
||||||
|
@ -519,12 +519,12 @@ dash-cli -testnet gobject count
|
||||||
Result (wrapped):
|
Result (wrapped):
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"objects_total": 177,
|
"objects_total": 3,
|
||||||
"proposals": 177,
|
"proposals": 3,
|
||||||
"triggers": 0,
|
"triggers": 0,
|
||||||
"other": 0,
|
"other": 0,
|
||||||
"erased": 5,
|
"erased": 4,
|
||||||
"votes": 9680
|
"votes": 18
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ Result (wrapped):
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.3 (mode: `all`)*
|
*Example from Dash Core 0.14.0 (mode: `all`)*
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
dash-cli -testnet gobject count all
|
dash-cli -testnet gobject count all
|
||||||
|
@ -549,8 +549,8 @@ dash-cli -testnet gobject count all
|
||||||
|
|
||||||
Result (wrapped):
|
Result (wrapped):
|
||||||
{% highlight text %}
|
{% highlight text %}
|
||||||
Governance Objects: 177 (Proposals: 177, Triggers: 0, Watchdogs: 0/0, \
|
Governance Objects: 177 (Proposals: 177, Triggers: 0, Other: 0; Erased: 5), \
|
||||||
Other: 0; Erased: 5), Votes: 9680
|
Votes: 9680
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue