Documentation exported from Syscoin Core 4.3.0

quorum_verify (4.3.0 RPC)

blockchain

control

evo

generating

governance

masternode

mining

network

rawtransactions

signer

syscoin

util

zmq

quorum_verify llmqType "id" "msgHash" "signature" ( "quorumHash" signHeight )

Test if a quorum signature is valid for a request id and a message hash.

Arguments:
1. llmqType      (numeric, required) LLMQ type.
                 
2. id            (string, required) Request id.
                 
3. msgHash       (string, required) Message hash.
                 
4. signature     (string, required) Quorum signature to verify.
                 
5. quorumHash    (string) The quorum identifier. Set to "" if you want to specify signHeight instead.
                 
6. signHeight    (numeric) The height at which the message was signed. Only works when quorumHash is "".
                 

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