0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-04 13:55:23 -05:00

clarify RPC rawtransaction documentation

This commit is contained in:
Jameson Lopp 2018-11-26 09:58:29 -05:00
parent 327129f7a6
commit 848077f94d
No known key found for this signature in database
GPG key ID: 7E15222D71C6D9FD

View file

@ -939,7 +939,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
"this transaction depends on but may not yet be in the block chain.\n", "this transaction depends on but may not yet be in the block chain.\n",
{ {
{"hexstring", RPCArg::Type::STR, false}, {"hexstring", RPCArg::Type::STR, false},
{"privkyes", RPCArg::Type::ARR, {"privkeys", RPCArg::Type::ARR,
{ {
{"privatekey", RPCArg::Type::STR_HEX, false}, {"privatekey", RPCArg::Type::STR_HEX, false},
}, },
@ -1142,7 +1142,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
throw std::runtime_error( throw std::runtime_error(
// clang-format off // clang-format off
"testmempoolaccept [\"rawtxs\"] ( allowhighfees )\n" "testmempoolaccept [\"rawtxs\"] ( allowhighfees )\n"
"\nReturns if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n" "\nReturns result of mempool acceptance tests indicating if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n"
"\nThis checks if the transaction violates the consensus or policy rules.\n" "\nThis checks if the transaction violates the consensus or policy rules.\n"
"\nSee sendrawtransaction call.\n" "\nSee sendrawtransaction call.\n"
"\nArguments:\n" "\nArguments:\n"