Browse Source

Merge pull request #6631

e83df07 Update RPC generate help for numblocks to include required (Ian T)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
4b437b227c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  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