mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - Update protx list
- Add missing fields - Re-order to match actual output
This commit is contained in:
parent
d208dac362
commit
f4eb643ea7
4 changed files with 49 additions and 34 deletions
|
@ -19,7 +19,11 @@ Use v0.n.n in abbreviation title to prevent autocrossrefing.
|
|||
<!-- Dash - Not Implemented -->
|
||||
{% assign DASH_NOT_IMPLEMENTED='**<abbr title="Not Implemented in Dash">Not Implemented</abbr>**' %}
|
||||
|
||||
<!-- Dash Core 0.13.0.0 Feb 2019 -->
|
||||
<!-- Dash Core 0.13.2.0 Mar 2019 -->
|
||||
{% assign DASH_NEW0_13_2='**<abbr title="New in Dash Core v0.13.2">New in Dash Core 0.13.2</abbr>**' %}
|
||||
{% assign DASH_UPDATED0_13_2='**<abbr title="Updated in Dash Core v0.13.2">Updated in Dash Core 0.13.2</abbr>**' %}
|
||||
|
||||
<!-- Dash Core 0.13.1.0 Feb 2019 -->
|
||||
{% assign DASH_NEW0_13_1='**<abbr title="New in Dash Core v0.13.1">New in Dash Core 0.13.1</abbr>**' %}
|
||||
{% assign DASH_UPDATED0_13_1='**<abbr title="Updated in Dash Core v0.13.1">Updated in Dash Core 0.13.1</abbr>**' %}
|
||||
|
||||
|
@ -173,7 +177,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
{% autocrossref %}
|
||||
|
||||
* [BLS][rpc bls]: {{summary_bls}} {{DASH_NEW0_13_0}}
|
||||
* [ProTx][rpc protx]: {{summary_proTx}} {{DASH_NEW0_13_0}}
|
||||
* [ProTx][rpc protx]: {{summary_proTx}} {{DASH_UPDATED0_13_2}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
||||
|
|
|
@ -497,7 +497,7 @@ returned. If set to `false`, only the hashes of the ProTx will be returned.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.13.0*
|
||||
*Example from Dash Core 0.13.2*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet protx list
|
||||
|
@ -537,30 +537,31 @@ Result:
|
|||
{% highlight json %}
|
||||
[
|
||||
{
|
||||
"proTxHash": "2b4a07a9b04dc42a0c19b85edb60954a27acaadfe3ee21d0171385778f34e1c2",
|
||||
"collateralHash": "8d23d08ee6e2e0577550c90afde9bc63745f734605724ba9908e0220c48dec04",
|
||||
"collateralIndex": 1,
|
||||
"operatorReward": 5,
|
||||
"proTxHash": "c48a44a9493eae641bea36992bc8c27eaaa33adb1884960f55cd259608d26d2f",
|
||||
"collateralHash": "e3270ff48c4b802d56ee58d3d53777f7f9c289964e4df0842518075fc81345b1",
|
||||
"collateralIndex": 3,
|
||||
"collateralAddress": "yYpzTXjVx7A5uohsmW8sRy7TJp4tihVuZg",
|
||||
"operatorReward": 0,
|
||||
"state": {
|
||||
"registeredHeight": 683,
|
||||
"lastPaidHeight": 700,
|
||||
"service": "1.2.3.4:1234",
|
||||
"registeredHeight": 7090,
|
||||
"lastPaidHeight": 0,
|
||||
"PoSePenalty": 0,
|
||||
"PoSeRevivedHeight": -1,
|
||||
"PoSeBanHeight": -1,
|
||||
"revocationReason": 0,
|
||||
"keyIDOwner": "29705bab955f252f876cbe47958b20feaa2b3e99",
|
||||
"pubKeyOperator": "0bfd3d519f16de1669e977c316bd53fc902f83a75b6008dff3a7037ab4d3edaa39eadb13f5d6d1f192673f9ab86f17a2",
|
||||
"keyIDVoting": "29705bab955f252f876cbe47958b20feaa2b3e99",
|
||||
"addr": "1.2.3.4:1234",
|
||||
"payoutAddress": "ybeK49S8ineDqNV698GZdMpdiHaYsZUJ2g"
|
||||
"ownerAddress": "yTMDce5yEpiPqmgPrPmTj7yAmQPJERUSVy",
|
||||
"votingAddress": "yTMDce5yEpiPqmgPrPmTj7yAmQPJERUSVy",
|
||||
"payoutAddress": "yU3UdrmS6KpWwBDLQTkp1KjXePwWsMbYdj",
|
||||
"pubKeyOperator": "8700add55a28ef22ec042a2f28e25fb4ef04b3024a7c56ad7eed4aebc736f312d18f355370dfb6a5fec9258f464b227e"
|
||||
},
|
||||
"confirmations": -1,
|
||||
"confirmations": 1,
|
||||
"wallet": {
|
||||
"hasOwnerKey": true,
|
||||
"hasOwnerKey": false,
|
||||
"hasOperatorKey": false,
|
||||
"hasVotingKey": true,
|
||||
"ownsCollateral": true,
|
||||
"ownsPayeeScript": true,
|
||||
"hasVotingKey": false,
|
||||
"ownsCollateral": false,
|
||||
"ownsPayeeScript": false,
|
||||
"ownsOperatorRewardScript": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -459,6 +459,11 @@ NOT IN DASH
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "The collateral index"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`collateralAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The collateral address"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`operatorReward`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -469,6 +474,11 @@ NOT IN DASH
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "An object containing a provider transaction state"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`service`"
|
||||
t: "string"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The masternode's IP:Port"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`registeredHeight`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -499,30 +509,30 @@ NOT IN DASH
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "The reason for a ProUpRegTx revocation"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`keyIDOwner`"
|
||||
- n: "{{DEPTH}} → →<br>`ownerAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The owner key"
|
||||
d: "The owner address"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`votingAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The voting address"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`payoutAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The owner's payout address"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`pubKeyOperator`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The operator public key"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`keyIDVoting`"
|
||||
- n: "{{DEPTH}} → →<br>`operatorPayoutAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The voting key"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`addr`"
|
||||
t: "string"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The masternode's IP:Port"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`payoutAddress`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The payout address"
|
||||
d: "The operator's payout address"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`confirmations`"
|
||||
t: "number (int)"
|
||||
|
|
|
@ -311,7 +311,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Evolution</td>
|
||||
<td class="tg-yw4l"><a href="#protx">ProTx</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">Added in 0.13.0</td>
|
||||
<td class="tg-baqh">Updated in 0.13.2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Generating</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue