Language

Choose a language

/build/rpc / mining

getvalidationqueues

  • workflowoperate-a-verifier·step 2 of 6Workflow: operate-a-verifier · step 2 of 6

getvalidationqueues Get validation API queue counts. Result: { (json object) "quick_pending" : n, (numeric) Quick validation requests pending "quick_smell_pending" : n, (numeric) Quick smell validation requests pending "full_pending" : n, (numeric) Full validation requests pending "model_pending" : n, (numeric) Model validation requests pending "challenge_pending" : n, (numeric) Challenge validation requests pending "full_queue_empty" : true|false (boolean) Whether full validation queue is empty } Examples: > bitcoin-cli getvalidationqueues > curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getvalidationqueues", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8332/

Signature

getvalidationqueues() → any

Code samples

curl --user "$RPC_USER:$RPC_PASS" \
  --data-binary '{"jsonrpc":"1.0","id":"docs","method":"getvalidationqueues","params":[]}' \
  -H 'content-type: text/plain;' \
  http://127.0.0.1:8332/

Parameters

No parameters.

Result

Type:  any

{ (json object) "quick_pending" : n, (numeric) Quick validation requests pending "quick_smell_pending" : n, (numeric) Quick smell validation requests pending "full_pending" : n, (numeric) Full validation requests pending "model_pending" : n, (numeric) Model validation requests pending "challenge_pending" : n, (numeric) Challenge validation requests pending "full_queue_empty" : true|false (boolean) Whether full validation queue is empty }

Source: services/core-node/bcore/src/rpc/custom.cpp:574

C++ symbol: getvalidationqueues