mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
V0.13.0 protx fundaddress (#100)
* RPC - Add protx fee source/fund address parameter * RPC - Update to match current help text
This commit is contained in:
parent
8df8364c81
commit
2472271e34
1 changed files with 63 additions and 9 deletions
|
@ -93,9 +93,18 @@ The `protx<!--noref--> register` RPC creates a ProRegTx referencing an existing
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`payoutAddress`"
|
- n: "`payoutAddress`"
|
||||||
t: "string (hex)"
|
t: "string"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The Dash address to use for masternode reward payments. Must match `collateralAddress`."
|
d: "The Dash address to use for masternode reward payments."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #9---fee source address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`feeSourceAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `payoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---provider registration transaction hash*
|
*Result---provider registration transaction hash*
|
||||||
|
@ -182,16 +191,25 @@ The `protx<!--noref--> register_fund` RPC creates and funds a ProRegTx with the
|
||||||
- n: "`operatorReward`"
|
- n: "`operatorReward`"
|
||||||
t: "number"
|
t: "number"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The fraction in % to share with the operator. If non-zero, `ipAndPort` must be zero as well.<br>The value must be between '0.00' and '100.00'."
|
d: "The fraction in % to share with the operator.<br>The value must be between '0.00' and '100.00'."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Parameter #7---payout address*
|
*Parameter #7---payout address*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`payoutAddress`"
|
- n: "`payoutAddress`"
|
||||||
t: "string (hex)"
|
t: "string"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The Dash address to use for masternode reward payments. Must match `collateralAddress`."
|
d: "The Dash address to use for masternode reward payments."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #8---fund address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`fundAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `payoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---provider registration transaction hash*
|
*Result---provider registration transaction hash*
|
||||||
|
@ -289,7 +307,7 @@ and outputs to cover fees.
|
||||||
- n: "`operatorReward`"
|
- n: "`operatorReward`"
|
||||||
t: "number"
|
t: "number"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The fraction in % to share with the operator. If non-zero, `ipAndPort` must be zero as well.<br>The value must be between '0.00' and '100.00'."
|
d: "The fraction in % to share with the operator.<br>The value must be between '0.00' and '100.00'."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Parameter #8---payout address*
|
*Parameter #8---payout address*
|
||||||
|
@ -298,7 +316,16 @@ and outputs to cover fees.
|
||||||
- n: "`payoutAddress`"
|
- n: "`payoutAddress`"
|
||||||
t: "string (hex)"
|
t: "string (hex)"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The Dash address to use for masternode reward payments. Must match `collateralAddress`."
|
d: "The Dash address to use for masternode reward payments."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #9---fee source address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`feeSourceAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `payoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---unsigned transaction and message to sign*
|
*Result---unsigned transaction and message to sign*
|
||||||
|
@ -645,6 +672,15 @@ The `protx<!--noref--> update_service` RPC creates and sends a ProUpServTx to th
|
||||||
d: "The Dash address used for operator reward payments. Only allowed when the ProRegTx had a non-zero `operatorReward` value."
|
d: "The Dash address used for operator reward payments. Only allowed when the ProRegTx had a non-zero `operatorReward` value."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #5---fee source address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`feeSourceAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `operatorPayoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---provider update service transaction hash*
|
*Result---provider update service transaction hash*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
|
@ -707,10 +743,19 @@ The `protx<!--noref--> update_registrar` RPC creates and sends a ProUpRegTx to t
|
||||||
*Parameter #4---operator payout address*
|
*Parameter #4---operator payout address*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`operatorPayoutAddress`"
|
- n: "`payoutAddress`"
|
||||||
t: "string (hex)"
|
t: "string (hex)"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "The Dash address to use for masternode reward payments. Must match `collateralAddress` of initial ProRegTx. If set to '0' or an empty string, the last on-chain payout address of the masternode will be used."
|
d: "The Dash address to use for masternode reward payments. If set to '0' or an empty string, the last on-chain payout address of the masternode will be used."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #5---fee source address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`feeSourceAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `payoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---provider update registrar transaction hash*
|
*Result---provider update registrar transaction hash*
|
||||||
|
@ -772,6 +817,15 @@ The `protx<!--noref--> revoke` RPC creates and sends a ProUpRevTx to the network
|
||||||
d: "The reason for revocation."
|
d: "The reason for revocation."
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #4---fee source address*
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- n: "`feeSourceAddress`"
|
||||||
|
t: "string"
|
||||||
|
p: "Optional<br>(0 or 1)"
|
||||||
|
d: "If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `payoutAddress` will be used. The private key belonging to this address must be known in your wallet."
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---provider update revoke transaction hash*
|
*Result---provider update revoke transaction hash*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue