From 7b7839001548140b79a475959fdecf7b1017dad7 Mon Sep 17 00:00:00 2001 From: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Date: Mon, 25 Oct 2021 09:55:34 -0400 Subject: [PATCH] refactor: Include adjustments (#4526) * include adjustments * fix macOs build failure Signed-off-by: pasta * expcitly include array in spork.h * sort includes in most files --- src/coinjoin/client.cpp | 7 +++--- src/coinjoin/coinjoin.cpp | 21 +++++++++------- src/coinjoin/coinjoin.h | 7 +++--- src/dash-tx.cpp | 1 + src/evo/mnauth.cpp | 3 ++- src/evo/providertx.cpp | 6 ++--- src/evo/simplifiedmns.cpp | 3 ++- src/evo/simplifiedmns.h | 3 ++- src/evo/specialtx.cpp | 5 ++-- src/evo/specialtx.h | 1 + src/flat-database.h | 1 - src/governance/classes.cpp | 1 + src/governance/governance.cpp | 4 ++-- src/governance/object.cpp | 3 ++- src/governance/vote.cpp | 1 + src/key_io.cpp | 1 + src/key_io.h | 3 ++- src/llmq/chainlocks.cpp | 1 + src/llmq/chainlocks.h | 6 ++--- src/llmq/dkgsession.h | 1 + src/llmq/instantsend.cpp | 5 ++-- src/llmq/signing.cpp | 3 ++- src/llmq/signing_shares.cpp | 7 +++--- src/llmq/signing_shares.h | 6 ++++- src/llmq/utils.cpp | 24 +++++++++++++++---- src/llmq/utils.h | 9 +------ src/masternode/node.cpp | 1 + src/masternode/node.h | 2 +- src/masternode/payments.cpp | 19 ++++++++++----- src/masternode/payments.h | 9 +++++++ src/masternode/sync.cpp | 8 ++++--- src/masternode/sync.h | 1 + src/qt/sendcoinsdialog.cpp | 1 + src/rpc/governance.cpp | 9 +++---- src/rpc/masternode.cpp | 5 ++-- src/rpc/misc.cpp | 1 + src/rpc/rawtransaction.cpp | 1 + src/rpc/rpcevo.cpp | 23 ++++++++---------- src/rpc/server.cpp | 1 + src/spork.cpp | 9 ++++++- src/spork.h | 32 ++++++++++++++++--------- src/test/evo_deterministicmns_tests.cpp | 17 ++++++------- src/test/key_io_tests.cpp | 1 + src/wallet/rpcwallet.cpp | 1 + src/wallet/wallet.cpp | 1 + test/lint/lint-circular-dependencies.sh | 5 ++-- 46 files changed, 175 insertions(+), 105 deletions(-) diff --git a/src/coinjoin/client.cpp b/src/coinjoin/client.cpp index bb0104f438..53fcda8b52 100644 --- a/src/coinjoin/client.cpp +++ b/src/coinjoin/client.cpp @@ -5,18 +5,19 @@ #include #include +#include #include #include #include -#include #include -#include +#include #include +#include #include