This doc is outdated since #31385. Also made it explicit that a singleton is ok.
Can be backported to 30.x, but doesn’t need to be backported earlier (“if any” covers #31096).
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33630.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | janb84, instagibbs |
Stale ACK | kevkevinpal |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
ACK 501b030
Fairly straightforward change and makes it clearer what is accepted
935@@ -936,7 +936,7 @@ static RPCHelpMan submitpackage()
936 ,
937 {
938 {"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 consist of either: exactly 1 transaction, or 1 transaction with its unconfirmed parents. None of the parents may depend on each other. Not all parents need to be present.\n"
Text is not completely clear to me on the parents point. “or 1 transaction with its unconfirmed parents” but “Not all parents need to be present” so some of the unconfirmed parents ? all but not the confirmed parents ?
Maybe NIT;
0 "The package must consist of either: exactly 1 transaction, or 1 transaction with (some of) its unconfirmed parents. None of the parents may depend on each other. Not all parents need to be present.\n"
maybe?
0 "The package must consist of either: exactly 1 transaction, or 1 transaction with its unconfirmed parents. None of the parents may depend on each other. Not all in-mempool parents need to be present in the package.\n"