Wait For New Block

Waits for a new block and returns the blockhash and height. Returns the current block on timeout or exit. This command will not work with the glitch-qt GUI wallet and is used for development. The timeout parameter is given in milliseconds and 0 indicates no timeout.

glitch-cli waitfornewblock

{
"hash": "b4caac28a5d7b49909b255f9932e28322174c6eec201790d84e7dcddcaffd6f103",
"height": 2008
}