Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/misc.cpp
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() < 2 || | ||||
request.params.size() > 2) { | request.params.size() > 2) { | ||||
std::string msg = | std::string msg = | ||||
"createmultisig nrequired [\"key\",...]\n" | "createmultisig nrequired [\"key\",...]\n" | ||||
"\nCreates a multi-signature address with n signature of m keys " | "\nCreates a multi-signature address with n signature of m keys " | ||||
"required.\n" | "required.\n" | ||||
"It returns a json object with the address and redeemScript.\n" | "It returns a json object with the address and redeemScript.\n" | ||||
"\nArguments:\n" | "\nArguments:\n" | ||||
"1. nrequired (numeric, required) The number of required " | "1. nrequired (numeric, required) The number of required " | ||||
"signatures out of the n keys or addresses.\n" | "signatures out of the n keys.\n" | ||||
"2. \"keys\" (string, required) A json array of hex-encoded " | "2. \"keys\" (string, required) A json array of hex-encoded " | ||||
"public keys\n" | "public keys\n" | ||||
" [\n" | " [\n" | ||||
" \"key\" (string) The hex-encoded public key\n" | " \"key\" (string) The hex-encoded public key\n" | ||||
" ,...\n" | " ,...\n" | ||||
" ]\n" | " ]\n" | ||||
"\nResult:\n" | "\nResult:\n" | ||||
▲ Show 20 Lines • Show All 341 Lines • Show Last 20 Lines |