Skip to content

Commit c037531

Browse files
author
Philip Kaufmann
committed
small headers ordering cleanup
- keep headers in alphabetical order - fix Makefile.am (2 files in 1 line - leftover) - remove some spaces etc.
1 parent 5a407bd commit c037531

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/net.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class CNode
209209
std::string addrName;
210210
CService addrLocal;
211211
int nVersion;
212-
// strSubVer is whatever byte array we read from the wire. However, this field is intended
212+
// strSubVer is whatever byte array we read from the wire. However, this field is intended
213213
// to be printed out, displayed to humans in various forms and so on. So we sanitize it and
214214
// store the sanitized version in cleanSubVer. The original should be used when dealing with
215215
// the network or wire types and the cleaned string used when displayed or logged.
@@ -264,7 +264,7 @@ class CNode
264264
int64_t nPingUsecStart;
265265
int64_t nPingUsecTime;
266266
bool fPingQueued;
267-
267+
268268
CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, INIT_PROTO_VERSION)
269269
{
270270
nServices = 0;

src/rpcmisc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

66
#include "base58.h"
7-
#include "rpcserver.h"
87
#include "init.h"
98
#include "main.h"
109
#include "net.h"
1110
#include "netbase.h"
11+
#include "rpcserver.h"
1212
#include "util.h"
1313
#ifdef ENABLE_WALLET
1414
#include "wallet.h"
@@ -323,4 +323,3 @@ Value verifymessage(const Array& params, bool fHelp)
323323

324324
return (pubkey.GetID() == keyID);
325325
}
326-

src/rpcrawtransaction.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

66
#include "base58.h"
7-
#include "rpcserver.h"
7+
#include "core.h"
88
#include "init.h"
9+
#include "keystore.h"
10+
#include "main.h"
911
#include "net.h"
12+
#include "rpcserver.h"
1013
#include "uint256.h"
11-
#include "core.h"
12-
#include "main.h"
13-
#include "keystore.h"
1414
#ifdef ENABLE_WALLET
1515
#include "wallet.h"
1616
#endif

src/rpcserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#include "base58.h"
99
#include "init.h"
1010
#include "main.h"
11-
#include "util.h"
1211
#include "ui_interface.h"
12+
#include "util.h"
1313
#ifdef ENABLE_WALLET
1414
#include "wallet.h"
1515
#endif

src/test/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ test_bitcoin_SOURCES = \
3737
base58_tests.cpp \
3838
base64_tests.cpp \
3939
bignum_tests.cpp \
40-
bloom_tests.cpp canonical_tests.cpp \
40+
bloom_tests.cpp \
41+
canonical_tests.cpp \
4142
checkblock_tests.cpp \
4243
Checkpoints_tests.cpp \
4344
compress_tests.cpp \

0 commit comments

Comments
 (0)