Browse Source

Update RPC generate help for numblocks to include required

The `generate` RPC has no default `numblocks` and a numeric value is required.
0.13
Ian T 9 years ago
parent
commit
e83df075f9
  1. 2
      src/rpcmining.cpp

2
src/rpcmining.cpp

@ -119,7 +119,7 @@ UniValue generate(const UniValue& params, bool fHelp)
"generate numblocks\n" "generate numblocks\n"
"\nMine blocks immediately (before the RPC call returns)\n" "\nMine blocks immediately (before the RPC call returns)\n"
"\nNote: this function can only be used on the regtest network\n" "\nNote: this function can only be used on the regtest network\n"
"1. numblocks (numeric) How many blocks are generated immediately.\n" "1. numblocks (numeric, required) How many blocks are generated immediately.\n"
"\nResult\n" "\nResult\n"
"[ blockhashes ] (array) hashes of blocks generated\n" "[ blockhashes ] (array) hashes of blocks generated\n"
"\nExamples:\n" "\nExamples:\n"

Loading…
Cancel
Save