Documentation exported from Syscoin Core 4.2.2

protx_revoke (4.2.2 RPC)

blockchain

control

evo

evowallet

generating

governance

governancewallet

masternode

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

protx_revoke "proTxHash" "operatorKey" ( reason "feeSourceAddress" )

Creates and sends a ProUpRevTx to the network. This will revoke the operator key of the masternode and
put it into the PoSe-banned state. It will also set the service field of the masternode
to zero. Use this in case your operator key got compromised or you want to stop providing your service
to the masternode owner.

Arguments:
1. proTxHash           (string, required) The hash of the initial ProRegTx.
2. operatorKey         (string, required) The operator BLS private key associated with the
                       registered operator public key.
3. reason              (numeric, optional, default=0) The reason for masternode service revocation.
4. feeSourceAddress    (string) 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:
"hex"    (string) txid

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