mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
Merge #14808: doc: clarify RPC rawtransaction documentation
848077f94d
clarify RPC rawtransaction documentation (Jameson Lopp)
Pull request description:
Fixing an RPC documentation typo and clarifying the wording of the testmempoolaccept function.
Tree-SHA512: 495c05ba322d0747ff569d02f5d2ad7d94b5542049c82091f5e74d8d02a8af408f31e10b112ca20d506125e3b39703ec3169f3a446f09ecae3cd46148ffc4041
This commit is contained in:
commit
b5c3d7affc
1 changed files with 2 additions and 2 deletions
|
@ -939,7 +939,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
|
|||
"this transaction depends on but may not yet be in the block chain.\n",
|
||||
{
|
||||
{"hexstring", RPCArg::Type::STR, false},
|
||||
{"privkyes", RPCArg::Type::ARR,
|
||||
{"privkeys", RPCArg::Type::ARR,
|
||||
{
|
||||
{"privatekey", RPCArg::Type::STR_HEX, false},
|
||||
},
|
||||
|
@ -1142,7 +1142,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
|
|||
throw std::runtime_error(
|
||||
// clang-format off
|
||||
"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"
|
||||
"\nSee sendrawtransaction call.\n"
|
||||
"\nArguments:\n"
|
||||
|
|
Loading…
Reference in a new issue