Repository navigation
rpc: improve submitpackage documentation and other improvements - #29292
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
34b5d5c to
7e8d359
Compare
7e8d359 to
a77dc1b
Compare
a77dc1b to
b2fb55c
Compare
b2fb55c to
5a7a720
Compare
|
Rebased to master to make CI green, no changes otherwise. Thanks for the review @glozow, addressed all comments. |
fjahr
left a comment
There was a problem hiding this comment.
utACK 5a7a7208554d09bd0a0bb8de9d4d94ed4146e739
This is ok to merge as is but if you decide to address 9deb910#r1476296848 I will quickly re-review.
5a7a720 to
311f523
Compare
|
Force pushed to incorporate the approach suggested in #29292 (comment) Apologies for the slow follow-up while I was on holidays, thank you for the review! |
|
re-ACK 311f52371f37123f1f6186ac818db0741f643aed Apologies for even slower re-review :) |
Currently, the only allowed package topology has a min size of 2. Update the error message to reflect that.
311f523 to
78e52f6
Compare
|
Force pushed to address @instagibbs's review, only very minor changes. |
|
ACK 78e52f6 only the suggested changes, verified via |
|
ACK 78e52f6 |
submitpackagerequires the package to be topologically sorted with the child being the last element in the array, but this is not documented in the RPC method or the error messages.Also sneaking in some other minor improvements that I found while going through the code:
packageneeds to be an array of length between1andMAX_PACKAGE_COUNTis confusing whenIsChildWithPackage()requires that the package size >= 2. Remove this check to avoid code duplication and sending a confusing error message.submitpackageexamples