Language

Choose a language

/build/rpc / mining

validationmockrequests

mock-only

validationmockrequests Return captured mock validation requests Result: [ (json array) { (json object) "id" : "hex", (string) hash or model id "type" : "str", (string) Quick_Smell|Full|Model "ts" : "str" (string) timestamp }, ... ] Examples: > bitcoin-cli validationmockrequests

Signature

validationmockrequests() → any

Code samples

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

Parameters

No parameters.

Result

Type:  any

[ (json array) { (json object) "id" : "hex", (string) hash or model id "type" : "str", (string) Quick_Smell|Full|Model "ts" : "str" (string) timestamp }, ... ]

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

C++ symbol: validationmockrequests