@@ -276,7 +276,8 @@ static RPCHelpMan waitfornewblock()
276
276
{
277
277
return RPCHelpMan{" waitfornewblock" ,
278
278
" \n Waits for any new block and returns useful info about it.\n "
279
- " \n Returns the current block on timeout or exit.\n " ,
279
+ " \n Returns the current block on timeout or exit.\n "
280
+ " \n Make sure to use no RPC timeout (bitcoin-cli -rpcclienttimeout=0)" ,
280
281
{
281
282
{" timeout" , RPCArg::Type::NUM, RPCArg::Default{0 }, " Time in milliseconds to wait for a response. 0 indicates no timeout." },
282
283
},
@@ -318,7 +319,8 @@ static RPCHelpMan waitforblock()
318
319
{
319
320
return RPCHelpMan{" waitforblock" ,
320
321
" \n Waits for a specific new block and returns useful info about it.\n "
321
- " \n Returns the current block on timeout or exit.\n " ,
322
+ " \n Returns the current block on timeout or exit.\n "
323
+ " \n Make sure to use no RPC timeout (bitcoin-cli -rpcclienttimeout=0)" ,
322
324
{
323
325
{" blockhash" , RPCArg::Type::STR_HEX, RPCArg::Optional::NO, " Block hash to wait for." },
324
326
{" timeout" , RPCArg::Type::NUM, RPCArg::Default{0 }, " Time in milliseconds to wait for a response. 0 indicates no timeout." },
@@ -365,7 +367,8 @@ static RPCHelpMan waitforblockheight()
365
367
return RPCHelpMan{" waitforblockheight" ,
366
368
" \n Waits for (at least) block height and returns the height and hash\n "
367
369
" of the current tip.\n "
368
- " \n Returns the current block on timeout or exit.\n " ,
370
+ " \n Returns the current block on timeout or exit.\n "
371
+ " \n Make sure to use no RPC timeout (bitcoin-cli -rpcclienttimeout=0)" ,
369
372
{
370
373
{" height" , RPCArg::Type::NUM, RPCArg::Optional::NO, " Block height to wait for." },
371
374
{" timeout" , RPCArg::Type::NUM, RPCArg::Default{0 }, " Time in milliseconds to wait for a response. 0 indicates no timeout." },
0 commit comments