Skip to content

Commit 7f3ccb5

Browse files
committed
Split synchronization mechanisms from util.{h,cpp}
1 parent 5456ef3 commit 7f3ccb5

14 files changed

+353
-330
lines changed

bitcoin-qt.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ HEADERS += src/qt/bitcoingui.h \
109109
src/bignum.h \
110110
src/checkpoints.h \
111111
src/compat.h \
112+
src/sync.h \
112113
src/util.h \
113114
src/uint256.h \
114115
src/serialize.h \
@@ -172,6 +173,7 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
172173
src/qt/editaddressdialog.cpp \
173174
src/qt/bitcoinaddressvalidator.cpp \
174175
src/version.cpp \
176+
src/sync.cpp \
175177
src/util.cpp \
176178
src/netbase.cpp \
177179
src/key.cpp \

src/addrman.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "netbase.h"
88
#include "protocol.h"
99
#include "util.h"
10+
#include "sync.h"
1011

1112

1213
#include <map>

src/keystore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define BITCOIN_KEYSTORE_H
77

88
#include "crypter.h"
9-
#include "util.h"
9+
#include "sync.h"
1010
#include "base58.h"
1111

1212
class CScript;

src/main.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define BITCOIN_MAIN_H
77

88
#include "bignum.h"
9+
#include "sync.h"
910
#include "net.h"
1011
#include "script.h"
1112

src/makefile.linux-mingw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ OBJS= \
6161
obj/bitcoinrpc.o \
6262
obj/rpcdump.o \
6363
obj/script.o \
64+
obj/sync.o \
6465
obj/util.o \
6566
obj/wallet.o \
6667
obj/walletdb.o \

src/makefile.mingw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ OBJS= \
5858
obj/bitcoinrpc.o \
5959
obj/rpcdump.o \
6060
obj/script.o \
61+
obj/sync.o \
6162
obj/util.o \
6263
obj/wallet.o \
6364
obj/walletdb.o \

src/makefile.osx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ OBJS= \
8585
obj/bitcoinrpc.o \
8686
obj/rpcdump.o \
8787
obj/script.o \
88+
obj/sync.o \
8889
obj/util.o \
8990
obj/wallet.o \
9091
obj/walletdb.o \

src/makefile.unix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ OBJS= \
102102
obj/bitcoinrpc.o \
103103
obj/rpcdump.o \
104104
obj/script.o \
105+
obj/sync.o \
105106
obj/util.o \
106107
obj/wallet.o \
107108
obj/walletdb.o \

src/qt/messagepage.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "main.h"
1111
#include "wallet.h"
1212
#include "init.h"
13-
#include "util.h"
1413

1514
#include "messagepage.h"
1615
#include "ui_messagepage.h"

src/qt/qtipcserver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <boost/date_time/posix_time/posix_time.hpp>
99

1010
#include "ui_interface.h"
11-
#include "util.h"
1211
#include "qtipcserver.h"
1312

1413
using namespace boost::interprocess;

0 commit comments

Comments
 (0)