diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-11-13 12:34:43 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-13 12:34:50 -0500 |
commit | c651265c934c84c683aa054f2a456b12acc41590 (patch) | |
tree | 9d82e4adebddea54656bc53116d191a91c3882f2 /src/rpc/server.cpp | |
parent | e0c6bb7823084abac7e9815781875baef2770916 (diff) | |
parent | fa483e13b387f244c1c72d4dbd709e669335618e (diff) | |
download | bitcoin-c651265c934c84c683aa054f2a456b12acc41590.tar.xz |
Merge #14530: Use RPCHelpMan to generate RPC doc strings
fa483e13b3 rpc: Add RPCHelpMan for machine-generated help (MarcoFalke)
fa0d36f712 rpc: Include rpc/util.h where needed for RPCHelpMan (MarcoFalke)
Pull request description:
This introduces a manager for the RPC help generation and demonstrates its use of it in some RPCs.
It is the first non-exhaustive step toward #14378 and I will create pull requests for the next steps after this one is merged.
Tree-SHA512: 86f68322443ff01cd964aaf0ebe186be63fbebe4c47676cf7a622cc2b5305fd176bd57badfd1bbf788a036812253eb0dead74ecc3b30664c3e0d9392b2248054
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r-- | src/rpc/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 78abd7b610..9d2c6ca0a6 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -8,11 +8,12 @@ #include <fs.h> #include <key_io.h> #include <random.h> +#include <rpc/util.h> #include <shutdown.h> #include <sync.h> #include <ui_interface.h> -#include <util/system.h> #include <util/strencodings.h> +#include <util/system.h> #include <boost/bind.hpp> #include <boost/signals2/signal.hpp> |