Skip to content

Commit 32aa229

Browse files
PastaPastaPastacodablock
authored andcommitted
Reorganize Dash Specific code into folders (#2753)
* rename instantx.* file to instantsend.* * Reorganize Dash Specific code into folders add to privatesend folder the header files Signed-off-by: Pasta <Pasta@dash.org> add "masternode" to imports Signed-off-by: Pasta <Pasta@dash.org> add "masternode" to imports Signed-off-by: Pasta <Pasta@dash.org> add "masternode" to imports pt 2 Signed-off-by: Pasta <Pasta@dash.org>
1 parent 6edbc9c commit 32aa229

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+152
-152
lines changed

src/Makefile.am

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ endif
102102
# dash core #
103103
BITCOIN_CORE_H = \
104104
addrdb.h \
105-
activemasternode.h \
106105
addressindex.h \
107106
spentindex.h \
108107
addrman.h \
@@ -141,25 +140,25 @@ BITCOIN_CORE_H = \
141140
evo/providertx.h \
142141
evo/simplifiedmns.h \
143142
evo/specialtx.h \
144-
privatesend.h \
145-
privatesend-client.h \
146-
privatesend-server.h \
147-
privatesend-util.h \
143+
privatesend/privatesend.h \
144+
privatesend/privatesend-client.h \
145+
privatesend/privatesend-server.h \
146+
privatesend/privatesend-util.h \
148147
dsnotificationinterface.h \
149-
governance.h \
150-
governance-classes.h \
151-
governance-exceptions.h \
152-
governance-object.h \
153-
governance-validators.h \
154-
governance-vote.h \
155-
governance-votedb.h \
148+
governance/governance.h \
149+
governance/governance-classes.h \
150+
governance/governance-exceptions.h \
151+
governance/governance-object.h \
152+
governance/governance-validators.h \
153+
governance/governance-vote.h \
154+
governance/governance-votedb.h \
156155
flat-database.h \
157156
hdchain.h \
158157
httprpc.h \
159158
httpserver.h \
160159
indirectmap.h \
161160
init.h \
162-
instantx.h \
161+
instantsend.h \
163162
key.h \
164163
keepass.h \
165164
keystore.h \
@@ -178,10 +177,11 @@ BITCOIN_CORE_H = \
178177
llmq/quorums_signing.h \
179178
llmq/quorums_signing_shares.h \
180179
llmq/quorums_utils.h \
181-
masternode-meta.h \
182-
masternode-payments.h \
183-
masternode-sync.h \
184-
masternode-utils.h \
180+
masternode/activemasternode.h \
181+
masternode/masternode-meta.h \
182+
masternode/masternode-payments.h \
183+
masternode/masternode-sync.h \
184+
masternode/masternode-utils.h \
185185
memusage.h \
186186
merkleblock.h \
187187
messagesigner.h \
@@ -258,7 +258,6 @@ libdash_util_a-clientversion.$(OBJEXT): obj/build.h
258258
libdash_server_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(MINIUPNPC_CPPFLAGS) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS)
259259
libdash_server_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
260260
libdash_server_a_SOURCES = \
261-
activemasternode.cpp \
262261
addrman.cpp \
263262
addrdb.cpp \
264263
alert.cpp \
@@ -278,14 +277,14 @@ libdash_server_a_SOURCES = \
278277
httprpc.cpp \
279278
httpserver.cpp \
280279
init.cpp \
281-
instantx.cpp \
280+
instantsend.cpp \
282281
dbwrapper.cpp \
283-
governance.cpp \
284-
governance-classes.cpp \
285-
governance-object.cpp \
286-
governance-validators.cpp \
287-
governance-vote.cpp \
288-
governance-votedb.cpp \
282+
governance/governance.cpp \
283+
governance/governance-classes.cpp \
284+
governance/governance-object.cpp \
285+
governance/governance-validators.cpp \
286+
governance/governance-vote.cpp \
287+
governance/governance-votedb.cpp \
289288
llmq/quorums.cpp \
290289
llmq/quorums_blockprocessor.cpp \
291290
llmq/quorums_commitment.cpp \
@@ -299,10 +298,11 @@ libdash_server_a_SOURCES = \
299298
llmq/quorums_signing.cpp \
300299
llmq/quorums_signing_shares.cpp \
301300
llmq/quorums_utils.cpp \
302-
masternode-meta.cpp \
303-
masternode-payments.cpp \
304-
masternode-sync.cpp \
305-
masternode-utils.cpp \
301+
masternode/activemasternode.cpp \
302+
masternode/masternode-meta.cpp \
303+
masternode/masternode-payments.cpp \
304+
masternode/masternode-sync.cpp \
305+
masternode/masternode-utils.cpp \
306306
merkleblock.cpp \
307307
messagesigner.cpp \
308308
miner.cpp \
@@ -313,8 +313,8 @@ libdash_server_a_SOURCES = \
313313
policy/fees.cpp \
314314
policy/policy.cpp \
315315
pow.cpp \
316-
privatesend.cpp \
317-
privatesend-server.cpp \
316+
privatesend/privatesend.cpp \
317+
privatesend/privatesend-server.cpp \
318318
rest.cpp \
319319
rpc/blockchain.cpp \
320320
rpc/masternode.cpp \
@@ -356,8 +356,8 @@ libdash_wallet_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
356356
libdash_wallet_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
357357
libdash_wallet_a_SOURCES = \
358358
keepass.cpp \
359-
privatesend-client.cpp \
360-
privatesend-util.cpp \
359+
privatesend/privatesend-client.cpp \
360+
privatesend/privatesend-util.cpp \
361361
wallet/crypter.cpp \
362362
wallet/db.cpp \
363363
wallet/rpcdump.cpp \

src/dsnotificationinterface.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
#include "chainparams.h"
66
#include "dsnotificationinterface.h"
7-
#include "instantx.h"
8-
#include "governance.h"
9-
#include "masternode-payments.h"
10-
#include "masternode-sync.h"
11-
#include "privatesend.h"
7+
#include "instantsend.h"
8+
#include "governance/governance.h"
9+
#include "masternode/masternode-payments.h"
10+
#include "masternode/masternode-sync.h"
11+
#include "privatesend/privatesend.h"
1212
#ifdef ENABLE_WALLET
13-
#include "privatesend-client.h"
13+
#include "privatesend/privatesend-client.h"
1414
#endif // ENABLE_WALLET
1515
#include "validation.h"
1616

src/evo/mnauth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#include "mnauth.h"
66

7-
#include "activemasternode.h"
7+
#include "masternode/activemasternode.h"
88
#include "evo/deterministicmns.h"
9-
#include "masternode-sync.h"
9+
#include "masternode/masternode-sync.h"
1010
#include "net.h"
1111
#include "net_processing.h"
1212
#include "netmessagemaker.h"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#include "governance-validators.h"
99
#include "governance-vote.h"
1010
#include "governance.h"
11-
#include "instantx.h"
12-
#include "masternode-meta.h"
13-
#include "masternode-sync.h"
11+
#include "instantsend.h"
12+
#include "masternode/masternode-meta.h"
13+
#include "masternode/masternode-sync.h"
1414
#include "messagesigner.h"
1515
#include "spork.h"
1616
#include "util.h"

0 commit comments

Comments
 (0)