Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Mar 13, 2020

This documents the RPC Result (type and description, if applicable) everywhere it was missing. The patch can be reviewed with the git diff option -W/--function-context.

Also, code won't compile without having an RPCResult documented.

@maflcko
Copy link
Member Author

maflcko commented Mar 13, 2020

Added a commit to fix the nit from #17809 (comment)

@practicalswift
Copy link
Contributor

Concept ACK: compile-time enforcement is the best type of enforcement! :)

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK fac5225, built and verified listunspent help output.

BTW, had to #include <string> in sync.h , on osx 10.14.6:

$ clang -v
Apple LLVM version 9.0.0 (clang-900.0.31)
Target: x86_64-apple-darwin18.7.0
Thread model: posix

@maflcko
Copy link
Member Author

maflcko commented Mar 15, 2020

BTW, had to #include in sync.h , on osx 10.14.6:

I didn't modify sync at all?!

@promag
Copy link
Contributor

promag commented Mar 15, 2020

I know, just saying that you could add a commit to fix that since this is ready for merge instead of a new PR. Unless you prefer a new PR? (clearly <string> is missing there)

@laanwj
Copy link
Member

laanwj commented Mar 16, 2020

Lightly tested ACK fac5225

@laanwj laanwj merged commit 25424cf into bitcoin:master Mar 16, 2020
@maflcko maflcko deleted the 2003-docAllRpcRes branch March 16, 2020 17:08
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 16, 2020
…e at compile time

fac5225 rpc: Document an RPCResult for all calls; Enforce at compile time (MarcoFalke)
fadd99f rpc: Add missing newline in RPCResult description (MarcoFalke)

Pull request description:

  This documents the RPC Result (type and description, if applicable) everywhere it was missing. The patch can be reviewed with the `git diff` option `-W`/`--function-context`.

  Also, code won't compile without having an RPCResult documented.

ACKs for top commit:
  laanwj:
    Lightly tested ACK fac5225
  promag:
    Tested ACK fac5225, built and verified listunspent help output.

Tree-SHA512: af2c1af1432beb944993776026c320814bfaecaf202f47359f5758849096ca7051ec6560395a2cc6678dcc111e7c9cf4917d0f0b221bdcf3ed1642e14d0e5b3c
sidhujag pushed a commit to syscoin-core/syscoin that referenced this pull request Nov 10, 2020
…e at compile time

fac5225 rpc: Document an RPCResult for all calls; Enforce at compile time (MarcoFalke)
fadd99f rpc: Add missing newline in RPCResult description (MarcoFalke)

Pull request description:

  This documents the RPC Result (type and description, if applicable) everywhere it was missing. The patch can be reviewed with the `git diff` option `-W`/`--function-context`.

  Also, code won't compile without having an RPCResult documented.

ACKs for top commit:
  laanwj:
    Lightly tested ACK fac5225
  promag:
    Tested ACK fac5225, built and verified listunspent help output.

Tree-SHA512: af2c1af1432beb944993776026c320814bfaecaf202f47359f5758849096ca7051ec6560395a2cc6678dcc111e7c9cf4917d0f0b221bdcf3ed1642e14d0e5b3c
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jan 8, 2021
Summary:
Also remove unneeded whitespaces in `rpcwallet.cpp`

This is a backport of Core [[bitcoin/bitcoin#18346 | PR18346]]

Test Plan:
```
ninja all check-all
grep -R ../RPCResults
```
Display the help message for some commands (e.g.  `src/bitcoin-cli help getavalanchekey`)

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8845
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants