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:
thephez 2018-12-28 11:59:53 -05:00 committed by GitHub
parent 8df8364c81
commit 2472271e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,18 @@ The `protx<!--noref--> register` RPC creates a ProRegTx referencing an existing
{% itemplate ntpd1 %}
- n: "`payoutAddress`"
t: "string (hex)"
t: "string"
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 %}
*Result---provider registration transaction hash*
@ -182,16 +191,25 @@ The `protx<!--noref--> register_fund` RPC creates and funds a ProRegTx with the
- n: "`operatorReward`"
t: "number"
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 %}
*Parameter #7---payout address*
{% itemplate ntpd1 %}
- n: "`payoutAddress`"
t: "string (hex)"
t: "string"
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 %}
*Result---provider registration transaction hash*
@ -289,7 +307,7 @@ and outputs to cover fees.
- n: "`operatorReward`"
t: "number"
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 %}
*Parameter #8---payout address*
@ -298,7 +316,16 @@ and outputs to cover fees.
- n: "`payoutAddress`"
t: "string (hex)"
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 %}
*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."
{% 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*
{% itemplate ntpd1 %}
@ -707,10 +743,19 @@ The `protx<!--noref--> update_registrar` RPC creates and sends a ProUpRegTx to t
*Parameter #4---operator payout address*
{% itemplate ntpd1 %}
- n: "`operatorPayoutAddress`"
- n: "`payoutAddress`"
t: "string (hex)"
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 %}
*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."
{% 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*
{% itemplate ntpd1 %}