RavenDoc 2.5.1

raven-cli help waitforblockheight

waitforblockheight (timeout)
Waits for (at least) block height and returns the height and hash
of the current tip.
Returns the current block on timeout or exit.
1. height (required, int) Block height to wait for (int)
2. timeout (int, optional, default=0) Time in milliseconds to wait for a response. 0 indicates no timeout.
{ (json object)
"hash" : { (string) The blockhash
"height" : { (int) Block height
> raven-cli waitforblockheight "100", 1000
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "waitforblockheight", "params": ["100", 1000] }' -H 'content-type: text/plain;'

By JonPizza! RavenVotes!