mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
V0.13.0 RPC protx (#91)
* Content - RPC - Add basic protx details Example calls and subcommands only * Content - RPC - Add parameter info for register RPCs * Content - RPC - Add parameter info for list RPC * Content - Create reusable var for ProTx details * Content - RPC - Add parameter info for remaining protx subcommands info, update_service, update_registrar, revoke, diff * Content - RPC - Minor typo fixes
This commit is contained in:
parent
7aceb01cee
commit
04a2541355
9 changed files with 901 additions and 0 deletions
|
@ -109,6 +109,7 @@ This file is licensed under the terms of its source texts{%endcomment%}
|
|||
{% assign summary_preciousBlock="treats a block as if it were received before others with the same work." %}
|
||||
{% assign summary_prioritiseTransaction="adds virtual priority or fee to a transaction, allowing it to be accepted into blocks mined by this node (or miners which use this node) with a lower priority or fee. (It can also remove virtual priority or fee, requiring the transaction have a higher priority or fee to be accepted into a locally-mined block.)" %}
|
||||
{% assign summary_privateSend="controls the mixing process." %}
|
||||
{% assign summary_proTx="provides a set of commands to execute ProTx related actions." %}
|
||||
{% assign summary_pruneBlockChain="prunes the blockchain up to a specified height or timestamp." %}
|
||||
{% assign summary_removePrunedFunds="deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds." %}
|
||||
{% assign summary_restGetBlock-noTxDetails="gets a block with a particular header hash from the local block database either as a JSON object or as a serialized block. The JSON object includes TXIDs for transactions within the block rather than the complete transactions [GET block][rest get block] returns." %}
|
||||
|
|
|
@ -438,6 +438,133 @@ NOT IN DASH
|
|||
{% enditemplate %}
|
||||
{% endcapture %}
|
||||
|
||||
{% capture INCLUDE_PROTX %}
|
||||
- n: "{{DEPTH}}<br>Provider Transaction"
|
||||
t: "object/null"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "An object containing a provider transaction"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`proTxHash`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The hash of the provider transaction as hex in RPC byte order"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`collateralHash`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The hash of the collateral transaction as hex in RPC byte order"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`collateralIndex`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The collateral index"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`operatorReward`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The operator reward %"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`state`"
|
||||
t: "object/null"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "An object containing a provider transaction state"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`registeredHeight`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height where the masternode was registered"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`lastPaidHeight`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height where the masternode was last paid"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`PoSePenalty`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The masternode's proof of service penalty"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`PoSeRevivedHeight`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height where the masternode recovered from a proof of service ban"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`PoSeBanHeight`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height where the masternode was banned for proof of service violations"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`revocationReason`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The reason for a ProUpRegTx revocation"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`keyIDOwner`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The owner key"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`pubKeyOperator`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The operator public key"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`keyIDVoting`"
|
||||
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"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`confirmations`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The number of confirmations this ProTx has"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`wallet`"
|
||||
t: "object/null"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "An object containing a wallet details related to this ProTx"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`hasOwnerKey`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The owner key is present in this wallet"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`hasOperatorKey`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The operator key is present in this wallet"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`hasVotingKey`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The voting key is present in this wallet"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`ownsCollateral`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The collateral is owned by this wallet"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`ownsPayeeScript`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The payee script is owned by this wallet"
|
||||
|
||||
- n: "{{DEPTH}} → →<br>`ownsOperatorRewardScript`"
|
||||
t: "bool"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The operator reward script is owned by this wallet"
|
||||
{% endcapture %}
|
||||
|
||||
{% assign WARNING=" **Warning:**" %}
|
||||
{% assign WARNING_ICON="" %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue