protx update_service
Help captured from Core 4.0.1.4 (f0e2dde). HTTP examples use the mainnet RPC port.
protx update_service "proTxHash" "ipAndPort" "operatorKey" ("operatorPayoutAddress" "feeSourceAddress" )
Creates and sends a ProUpServTx to the network. This will update the IP address
of a smartnode.
If this is done for a smartnode that got PoSe-banned, the ProUpServTx will also revive this smartnode.
Arguments:
1. "proTxHash" (string, required) The hash of the initial ProRegTx.
2. "ipAndPort" (string, required) IP and port in the form "IP:PORT".
Must be unique on the network. Can be set to 0, which will require a ProUpServTx afterwards.
3. "operatorKey" (string, required) The operator private key belonging to the
registered operator public key.
4. "operatorPayoutAddress" (string, optional) The address used for operator reward payments.
Only allowed when the ProRegTx had a non-zero operatorReward value.
If set to an empty string, the currently active payout address is reused.
5. "feeSourceAddress" (string, optional) If specified wallet will only use coins from this address to fund ProTx.
If not specified, payoutAddress is the one that is going to be used.
The private key belonging to this address must be known in your wallet.
Result:
"txid" (string) The transaction id.
Examples:
> yerbas-cli protx update_service "0123456701234567012345670123456701234567012345670123456701234567" "1.2.3.4:1234" 5a2e15982e62f1e0b7cf9783c64cf7e3af3f90a52d6c40f6f95d624c0b1621cd