|
NAMElightning-waitblockheight - Command for waiting for blocks on the blockchainSYNOPSISwaitblockheight blockheight [timeout]DESCRIPTIONThe waitblockheight RPC command waits until the blockchain has reached the specified blockheight. It will only wait up to timeout seconds (default 60).If the blockheight is a present or past block height, then this command returns immediately. RETURN VALUEOn success, an object is returned, containing:
If timeout seconds is reached without the specified blockheight being reached, this command will fail with a code of 2000. AUTHORZmnSCPxj <ZmnSCPxj@protonmail.com> is mainly responsible.RESOURCESMain web site: https://github.com/ElementsProject/lightning Visit the GSP FreeBSD Man Page Interface. |