Documentation exported from Syscoin Core 4.4.0

protx_update_registrar (4.4.0 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

protx_update_registrar "proTxHash" "operatorPubKey" "votingAddress" "payoutAddress" ( "feeSourceAddress" legacy )

Creates and sends a ProUpRegTx to the network. This will update the operator key, voting key and payout
address of the masternode specified by "proTxHash".
The owner key of the masternode must be known to your wallet.

Arguments:
1. proTxHash           (string, required) The hash of the initial ProRegTx.
2. operatorPubKey      (string, required) The operator BLS public key. The BLS private key does not have to be known.
                       It has to match the BLS private key which is later used when operating the masternode.
                       If set to an empty string, the currently active operator BLS public key is reused.
3. votingAddress       (string, required) The voting key address. The private key does not have to be known by your wallet.
                       It has to match the private key which is later used when voting on proposals.
                       If set to an empty string, the currently active voting key address is reused.
4. payoutAddress       (string, required) The Syscoin address to use for masternode reward payments.
                       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_registrar 1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d 003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63 tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "protx_update_registrar", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d", "003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/