New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve a format of RPC command definitions #14008
Preserve a format of RPC command definitions #14008
Conversation
* @param[in] tx transaction for which we are checking input total | ||
* @return Sum of value of all inputs (scriptSigs) | ||
* @param[in] tx transaction for which we are checking input total | ||
* @return Sum of value of all inputs (scriptSigs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for reviewers: I replaced tabs with spaces because if this block is moved, the test/lint/lint-whitespace.sh
will fail.
Currently RPC commands are formatted in a way that it's easy to read and that test/lint/check-rpc-mappings.py can parse it. To void breaking test/lint/check-rpc-mappings.py script by running clang-format, RPC command definitions should be disabled for clang-format.
f378b89
to
d9d7957
Compare
Note to reviewers: This pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
ACK, looks good to me |
yes, this makes sense, otherwise clang-format will mess up the tables |
d9d7957 Preserve a format of RPC command definitions (Kostiantyn Stepaniuk) Pull request description: Currently, RPC commands are formatted in a way that it's easy to read and that `test/lint/check-rpc-mappings.py` can parse it. To void breaking `test/lint/check-rpc-mappings.py` script by running `clang-format`, RPC command definitions should be disabled for clang-format. Tree-SHA512: e17d20ec0e6c4e19410198b55687ebbe6fa01654d214d4578cd16c00b872bf8b0b306594a45523685cd2e9d9280702e00471d9366e87954428e8bbeacd8cad60
Currently, RPC commands are formatted in a way that it's easy to read
and that
test/lint/check-rpc-mappings.py
can parse it.To void breaking
test/lint/check-rpc-mappings.py
script by runningclang-format
, RPC command definitions should be disabled for clang-format.