|
@ -542,7 +542,7 @@ UniValue kvupdate(const UniValue& params, bool fHelp) |
|
|
"}\n" |
|
|
"}\n" |
|
|
"\nExamples:\n" |
|
|
"\nExamples:\n" |
|
|
+ HelpExampleCli("kvupdate", "examplekey \"examplevalue\" 2 examplepassphrase") |
|
|
+ HelpExampleCli("kvupdate", "examplekey \"examplevalue\" 2 examplepassphrase") |
|
|
+ HelpExampleRpc("kvupdate", "examplekey \"examplevalue\" 2 examplepassphrase") |
|
|
+ HelpExampleRpc("kvupdate", "\"examplekey\",\"examplevalue\",\"2\",\"examplepassphrase\"") |
|
|
); |
|
|
); |
|
|
if (!EnsureWalletIsAvailable(fHelp)) |
|
|
if (!EnsureWalletIsAvailable(fHelp)) |
|
|
return 0; |
|
|
return 0; |
|
@ -1252,13 +1252,13 @@ UniValue sendmany(const UniValue& params, bool fHelp) |
|
|
" the number of addresses.\n" |
|
|
" the number of addresses.\n" |
|
|
"\nExamples:\n" |
|
|
"\nExamples:\n" |
|
|
"\nSend two amounts to two different addresses:\n" |
|
|
"\nSend two amounts to two different addresses:\n" |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.01,\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.02}\"") + |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\\\":0.01,\\\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\\\":0.02}\"") + |
|
|
"\nSend two amounts to two different addresses setting the confirmation and comment:\n" |
|
|
"\nSend two amounts to two different addresses setting the confirmation and comment:\n" |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.01,\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.02}\" 6 \"testing\"") + |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\\\":0.01,\\\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\\\":0.02}\" 6 \"testing\"") + |
|
|
"\nSend two amounts to two different addresses, subtract fee from amount:\n" |
|
|
"\nSend two amounts to two different addresses, subtract fee from amount:\n" |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.01,\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.02}\" 1 \"\" \"[\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\",\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\"]\"") + |
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\\\":0.01,\\\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\\\":0.02}\" 1 \"\" \"[\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\\\",\\\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\\\"]\"") + |
|
|
"\nAs a json rpc call\n" |
|
|
"\nAs a json rpc call\n" |
|
|
+ HelpExampleRpc("sendmany", "\"\", \"{\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.01,\\\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV\\\":0.02}\", 6, \"testing\"") |
|
|
+ HelpExampleRpc("sendmany", "\"\", {\"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\":0.01,\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\":0.02}, 6, \"testing\"") |
|
|
); |
|
|
); |
|
|
if ( ASSETCHAINS_PRIVATE != 0 ) |
|
|
if ( ASSETCHAINS_PRIVATE != 0 ) |
|
|
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "cant use transparent addresses in private chain"); |
|
|
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "cant use transparent addresses in private chain"); |
|
|