rpc: Include rpc/util.h where needed for RPCHelpMan

Just a preparatory commit to add the header to the includes and run
clang-format to sort the include lists.

Splitting this up into a separate commit makes future scripted-diffs
easier.
This commit is contained in:
MarcoFalke 2018-11-06 10:40:50 -05:00
parent cbf00939b5
commit fa0d36f712
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
7 changed files with 19 additions and 13 deletions

View file

@ -12,8 +12,8 @@
#include <checkpoints.h> #include <checkpoints.h>
#include <coins.h> #include <coins.h>
#include <consensus/validation.h> #include <consensus/validation.h>
#include <validation.h>
#include <core_io.h> #include <core_io.h>
#include <hash.h>
#include <index/txindex.h> #include <index/txindex.h>
#include <key_io.h> #include <key_io.h>
#include <policy/feerate.h> #include <policy/feerate.h>
@ -21,14 +21,15 @@
#include <policy/rbf.h> #include <policy/rbf.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <rpc/util.h>
#include <script/descriptor.h> #include <script/descriptor.h>
#include <streams.h> #include <streams.h>
#include <sync.h> #include <sync.h>
#include <txdb.h> #include <txdb.h>
#include <txmempool.h> #include <txmempool.h>
#include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <hash.h> #include <util/system.h>
#include <validation.h>
#include <validationinterface.h> #include <validationinterface.h>
#include <versionbitsinfo.h> #include <versionbitsinfo.h>
#include <warnings.h> #include <warnings.h>

View file

@ -18,10 +18,11 @@
#include <rpc/blockchain.h> #include <rpc/blockchain.h>
#include <rpc/mining.h> #include <rpc/mining.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <rpc/util.h>
#include <shutdown.h> #include <shutdown.h>
#include <txmempool.h> #include <txmempool.h>
#include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/system.h>
#include <validation.h> #include <validation.h>
#include <validationinterface.h> #include <validationinterface.h>
#include <versionbitsinfo.h> #include <versionbitsinfo.h>

View file

@ -7,17 +7,18 @@
#include <chainparams.h> #include <chainparams.h>
#include <clientversion.h> #include <clientversion.h>
#include <core_io.h> #include <core_io.h>
#include <validation.h>
#include <net.h> #include <net.h>
#include <net_processing.h> #include <net_processing.h>
#include <netbase.h> #include <netbase.h>
#include <policy/policy.h> #include <policy/policy.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/util.h>
#include <sync.h> #include <sync.h>
#include <timedata.h> #include <timedata.h>
#include <ui_interface.h> #include <ui_interface.h>
#include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/system.h>
#include <validation.h>
#include <version.h> #include <version.h>
#include <warnings.h> #include <warnings.h>

View file

@ -10,10 +10,8 @@
#include <core_io.h> #include <core_io.h>
#include <index/txindex.h> #include <index/txindex.h>
#include <init.h> #include <init.h>
#include <keystore.h>
#include <validation.h>
#include <validationinterface.h>
#include <key_io.h> #include <key_io.h>
#include <keystore.h>
#include <merkleblock.h> #include <merkleblock.h>
#include <net.h> #include <net.h>
#include <policy/policy.h> #include <policy/policy.h>
@ -29,6 +27,8 @@
#include <txmempool.h> #include <txmempool.h>
#include <uint256.h> #include <uint256.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <validation.h>
#include <validationinterface.h>
#include <future> #include <future>
#include <stdint.h> #include <stdint.h>

View file

@ -8,11 +8,12 @@
#include <fs.h> #include <fs.h>
#include <key_io.h> #include <key_io.h>
#include <random.h> #include <random.h>
#include <rpc/util.h>
#include <shutdown.h> #include <shutdown.h>
#include <sync.h> #include <sync.h>
#include <ui_interface.h> #include <ui_interface.h>
#include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/system.h>
#include <boost/bind.hpp> #include <boost/bind.hpp>
#include <boost/signals2/signal.hpp> #include <boost/signals2/signal.hpp>

View file

@ -3,18 +3,19 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h> #include <chain.h>
#include <core_io.h>
#include <interfaces/chain.h> #include <interfaces/chain.h>
#include <key_io.h> #include <key_io.h>
#include <merkleblock.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <validation.h> #include <rpc/util.h>
#include <script/script.h> #include <script/script.h>
#include <script/standard.h> #include <script/standard.h>
#include <sync.h> #include <sync.h>
#include <util/system.h> #include <util/system.h>
#include <util/time.h> #include <util/time.h>
#include <validation.h>
#include <wallet/wallet.h> #include <wallet/wallet.h>
#include <merkleblock.h>
#include <core_io.h>
#include <wallet/rpcwallet.h> #include <wallet/rpcwallet.h>

View file

@ -5,6 +5,7 @@
#include <zmq/zmqrpc.h> #include <zmq/zmqrpc.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <rpc/util.h>
#include <zmq/zmqabstractnotifier.h> #include <zmq/zmqabstractnotifier.h>
#include <zmq/zmqnotificationinterface.h> #include <zmq/zmqnotificationinterface.h>