Documentation exported from Syscoin Core 4.4.1

spork (4.4.1 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

spork "command" ( value )

Shows or updates the value of the specific spork. Requires "-sporkkey" to be set to sign the message for updating.

Arguments:
1. command    (string, required) "show" to show all current spork values, "active" to show which sporks are active or the name of the spork to update
2. value      (numeric, optional) The new desired value of the spork if updating

Examples:
> syscoin-cli spork SPORK_9_NEW_SIGS 4070908800
> syscoin-cli spork show
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "spork", "params": ["SPORK_9_NEW_SIGS", 4070908800]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "spork", "params": ["show"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/