Adding getblockhash rpc command