Setstakingreward

setstakingreward "blockhash" "payoutscript"

Set the staking reward winner for the given previous block hash.

Arguments:
1. blockhash       (string, required) The previous block hash, hex encoded.
2. payoutscript    (string, required) The payout script for the staking reward, hex encoded.

Result:
true|false    (boolean) Whether the payout script was set or not

Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "setstakingreward", "params": [<blockhash> <payout script>]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/