Documentation exported from Syscoin Core 4.3.0

spork (4.3.0 RPC)

blockchain

control

evo

generating

governance

masternode

mining

network

rawtransactions

signer

syscoin

util

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) 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/