Wait For Block Height

Waits for at least block height and returns the height and blockhash of the current tip (highest block). Returns the current block on timeout or exit. Timeout is given in milliseconds, 0 or default is no timeout. This command only works from the command line (not with the glitch-qt GUI wallet) and is used for development.

On Mainnet with glitchd:

glitch-cli waitforblockheight 2005

{
"hash": "44f6a64f9909b255f9932e28322174c6eec201790d84e7dc201c92594914d240",
"height": 2005
}