From c037531d691fb984f979f393803989d1856d46ee Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 11 Jan 2014 18:14:29 +0100 Subject: [PATCH] small headers ordering cleanup - keep headers in alphabetical order - fix Makefile.am (2 files in 1 line - leftover) - remove some spaces etc. --- src/net.h | 4 ++-- src/rpcmisc.cpp | 3 +-- src/rpcrawtransaction.cpp | 8 ++++---- src/rpcserver.cpp | 2 +- src/test/Makefile.am | 3 ++- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/net.h b/src/net.h index 583500173..a181e275c 100644 --- a/src/net.h +++ b/src/net.h @@ -209,7 +209,7 @@ public: std::string addrName; CService addrLocal; int nVersion; - // strSubVer is whatever byte array we read from the wire. However, this field is intended + // strSubVer is whatever byte array we read from the wire. However, this field is intended // to be printed out, displayed to humans in various forms and so on. So we sanitize it and // store the sanitized version in cleanSubVer. The original should be used when dealing with // the network or wire types and the cleaned string used when displayed or logged. @@ -264,7 +264,7 @@ public: int64_t nPingUsecStart; int64_t nPingUsecTime; bool fPingQueued; - + CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, INIT_PROTO_VERSION) { nServices = 0; diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index c61cc4192..f8a7d07fc 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -4,11 +4,11 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" -#include "rpcserver.h" #include "init.h" #include "main.h" #include "net.h" #include "netbase.h" +#include "rpcserver.h" #include "util.h" #ifdef ENABLE_WALLET #include "wallet.h" @@ -323,4 +323,3 @@ Value verifymessage(const Array& params, bool fHelp) return (pubkey.GetID() == keyID); } - diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 86025918e..ff652ca34 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -4,13 +4,13 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" -#include "rpcserver.h" +#include "core.h" #include "init.h" +#include "keystore.h" +#include "main.h" #include "net.h" +#include "rpcserver.h" #include "uint256.h" -#include "core.h" -#include "main.h" -#include "keystore.h" #ifdef ENABLE_WALLET #include "wallet.h" #endif diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 9f2100a8d..9d34a900f 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -8,8 +8,8 @@ #include "base58.h" #include "init.h" #include "main.h" -#include "util.h" #include "ui_interface.h" +#include "util.h" #ifdef ENABLE_WALLET #include "wallet.h" #endif diff --git a/src/test/Makefile.am b/src/test/Makefile.am index ff1d22cc2..667e53c6b 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -37,7 +37,8 @@ test_bitcoin_SOURCES = \ base58_tests.cpp \ base64_tests.cpp \ bignum_tests.cpp \ - bloom_tests.cpp canonical_tests.cpp \ + bloom_tests.cpp \ + canonical_tests.cpp \ checkblock_tests.cpp \ Checkpoints_tests.cpp \ compress_tests.cpp \