Documentation exported from Syscoin Core 4.4.0

protx_update_service (4.4.0 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

protx_update_service "proTxHash" "ipAndPort" "operatorKey" ( "operatorPayoutAddress" "feeSourceAddress" legacy )

Creates and sends a ProUpServTx to the network. This will update the IP address
of a masternode.
If this is done for a masternode that got PoSe-banned, the ProUpServTx will also revive this masternode.

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 BLS private key associated with the
                            registered operator public key.
4. operatorPayoutAddress    (string, optional, default="") 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, default="") 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.
6. legacy                   (boolean, optional) Use Legacy BLS scheme (false by default

Result:
"hex"    (string) The transaction hash in hex

Examples:
> syscoin-cli protx_update_service 1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d 173.249.49.9:18369 003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63 tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "protx_update_service", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d", "173.249.49.9:18369", "003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/