Skip to content

Commit 3d22282

Browse files
committed
[doc] correct topology requirements in submitpackage helptext
1 parent 9314113 commit 3d22282

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rpc/mempool.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -936,8 +936,9 @@ static RPCHelpMan submitpackage()
936936
,
937937
{
938938
{"package", RPCArg::Type::ARR, RPCArg::Optional::NO, "An array of raw transactions.\n"
939-
"The package must solely consist of a child transaction and all of its unconfirmed parents, if any. None of the parents may depend on each other.\n"
940-
"The package must be topologically sorted, with the child being the last element in the array.",
939+
"The package must consist of a transaction with (some, all, or none of) its unconfirmed parents. A single transaction is permitted.\n"
940+
"None of the parents may depend on each other. Parents that are already in mempool do not need to be present in the package.\n"
941+
"The package must be topologically sorted, with the child being the last element in the array if there are multiple elements.",
941942
{
942943
{"rawtx", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, ""},
943944
},

0 commit comments

Comments
 (0)