mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
parent
60b2392724
commit
8c70a544d9
3 changed files with 3 additions and 48 deletions
|
@ -162,7 +162,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
||||||
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}} {{DASH_UPDATED0_14_0}}
|
* [GetGovernanceInfo][rpc getgovernanceinfo]: {{summary_getGovernanceInfo}} {{DASH_UPDATED0_14_0}}
|
||||||
* [GetPoolInfo][rpc getpoolinfo]: {{summary_getPoolInfo}}
|
* [GetPoolInfo][rpc getpoolinfo]: {{summary_getPoolInfo}}
|
||||||
* [GetSuperblockBudget][rpc getsuperblockbudget]: {{summary_getSuperblockBudget}}
|
* [GetSuperblockBudget][rpc getsuperblockbudget]: {{summary_getSuperblockBudget}}
|
||||||
* [GObject][rpc gobject]: {{summary_gObject}} {{DASH_UPDATED0_13_0}}
|
* [GObject][rpc gobject]: {{summary_gObject}} {{DASH_UPDATED0_14_0}}
|
||||||
* [Masternode][rpc masternode]: {{summary_masternode}} {{DASH_UPDATED0_14_0}}
|
* [Masternode][rpc masternode]: {{summary_masternode}} {{DASH_UPDATED0_14_0}}
|
||||||
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}} {{DASH_UPDATED0_14_0}}
|
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}} {{DASH_UPDATED0_14_0}}
|
||||||
* [MnSync][rpc mnsync]: {{summary_mnSync}} {{DASH_UPDATED0_14_0}}
|
* [MnSync][rpc mnsync]: {{summary_mnSync}} {{DASH_UPDATED0_14_0}}
|
||||||
|
|
|
@ -801,52 +801,7 @@ Result (wrapped):
|
||||||
|
|
||||||
<!-- __ -->
|
<!-- __ -->
|
||||||
|
|
||||||
The `gobject getvotes` RPC gets all votes for a governance object hash (including old votes).
|
{{WARNING}} **_Removed in Dash Core 0.14.0._**
|
||||||
|
|
||||||
*Parameter #1---object hash*
|
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
|
||||||
- n: "`governance-hash`"
|
|
||||||
t: "string (hex)"
|
|
||||||
p: "Required<br>(exactly 1)"
|
|
||||||
d: "The hash of a governance object"
|
|
||||||
|
|
||||||
{% enditemplate %}
|
|
||||||
|
|
||||||
*Result---votes for specified governance*
|
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
|
||||||
- n: "Result"
|
|
||||||
t: "object"
|
|
||||||
p: "Required<br>(exactly 1)"
|
|
||||||
d: "The governance object votes"
|
|
||||||
|
|
||||||
- n: "→<br>Vote Info"
|
|
||||||
t: "string"
|
|
||||||
p: "Required<br>(1 or more)"
|
|
||||||
d: "Key: vote-hash<br><br>Value: Masternode's unspent outpoint, time, outcome, and signal of the vote"
|
|
||||||
|
|
||||||
{% enditemplate %}
|
|
||||||
|
|
||||||
*Example from Dash Core 0.12.2*
|
|
||||||
|
|
||||||
{% highlight bash %}
|
|
||||||
dash-cli -testnet gobject getvotes 78941af577f639ac94440e4855a1ed8f\
|
|
||||||
696f1506d1c0bed4f4b68f05be26d3ca
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
Result (truncated):
|
|
||||||
{% highlight json %}
|
|
||||||
{
|
|
||||||
"174aaba65982d25a23f437e2a66ec3836146ba7b7ce5b3fe2d5476907f7079d9": "2eab488e3a7b030303de0d18e357ce17a9fc6b8876705d61076bbe923b2e5fc8-1:1509354047:YES:DELETE",
|
|
||||||
"216cbc42addec1a6b83e1f2b0b3779594bd879f5671dd76a9826cc690c68286d": "b0320c1eff10ccb5e26086017a09e77dacb30fdcafccb3d98db3e5b610b9f1bd-1:1509117256:YES:DELETE",
|
|
||||||
"aa4dc9d3b9e74e8c1ffc725b737d07f8a32e43c64907e4bea19e64a86135f08a": "af9f5646ace92f76b3a01b0abe08716a0a7ded64074c2d2e712c93174b9013d1-1:1508866932:YES:FUNDING",
|
|
||||||
"73dd135ea7bece0f2047de75d8ca04f2985daebed9568d28ee58a60a12a2a082": "8e3fee7f668fed7019588be616225c6c4762ee632470878b2dc8eae3f0b3f67d-1:1508866932:YES:FUNDING",
|
|
||||||
"d13b9c5c28bbc8684a7291961a1023abbbe65b534804d0629fb44166cc1a6148": "08b2dbffd61d927bc12c20f6853513f41fbf7737446632b13c7ca0df8c6da282-1:1508866932:YES:FUNDING",
|
|
||||||
"8a4283d457d8635b43c6fa6cbf865813a80d965c777e8ba07364eb6468200ae1": "76c40abd280441b75577e99e9e4f253f9281a7deb4feebff83860f9cede7a09b-1:1508866932:YES:FUNDING",
|
|
||||||
"313e19607813cb0db3b3fb477982b4d3418f13f8511295419df8fe1f7ff6668f": "0fd502f28b9a9a256d9ba29a047c375fe2823b6e76e4853af16e079a709ab72a-1:1508866932:YES:FUNDING"
|
|
||||||
}
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<td class="tg-yw4l">Dash</td>
|
<td class="tg-yw4l">Dash</td>
|
||||||
<td class="tg-yw4l"><a href="#gobject">GObject</a></td>
|
<td class="tg-yw4l"><a href="#gobject">GObject</a></td>
|
||||||
<td class="tg-baqh">Y</td>
|
<td class="tg-baqh">Y</td>
|
||||||
<td class="tg-baqh">Updated in 0.13.0.0</td>
|
<td class="tg-baqh">Updated in 0.14.0</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Dash</td>
|
<td class="tg-b7b8">Dash</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue