Skip to content

Commit 6267534

Browse files
committed
[MOVE] rename files specialtx_validation.* --> specialtx.*
Also rename 'tiertwo' folder to 'evo'
1 parent b6c873d commit 6267534

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ set(COMMON_SOURCES
383383
./src/coins.cpp
384384
./src/key_io.cpp
385385
./src/compressor.cpp
386-
./src/tiertwo/specialtx_validation.cpp
386+
./src/evo/specialtx.cpp
387387
./src/consensus/merkle.cpp
388388
./src/consensus/zerocoin_verify.cpp
389389
./src/primitives/block.cpp

src/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ BITCOIN_CORE_H = \
181181
cuckoocache.h \
182182
crypter.h \
183183
cyclingvector.h \
184+
evo/specialtx.h \
184185
pairresult.h \
185186
addressbook.h \
186187
wallet/db.h \
@@ -243,7 +244,6 @@ BITCOIN_CORE_H = \
243244
rpc/protocol.h \
244245
rpc/register.h \
245246
rpc/server.h \
246-
tiertwo/specialtx_validation.h \
247247
scheduler.h \
248248
script/interpreter.h \
249249
script/keyorigin.h \
@@ -322,6 +322,7 @@ libbitcoin_server_a_SOURCES = \
322322
consensus/params.cpp \
323323
consensus/tx_verify.cpp \
324324
consensus/zerocoin_verify.cpp \
325+
evo/specialtx.cpp \
325326
httprpc.cpp \
326327
httpserver.cpp \
327328
init.cpp \
@@ -346,7 +347,6 @@ libbitcoin_server_a_SOURCES = \
346347
rpc/net.cpp \
347348
rpc/rawtransaction.cpp \
348349
rpc/server.cpp \
349-
tiertwo/specialtx_validation.cpp \
350350
script/sigcache.cpp \
351351
script/ismine.cpp \
352352
sporkdb.cpp \

src/consensus/tx_verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#include "tx_verify.h"
66

77
#include "consensus/consensus.h"
8+
#include "evo/specialtx.h"
89
#include "consensus/zerocoin_verify.h"
910
#include "sapling/sapling_validation.h"
10-
#include "tiertwo/specialtx_validation.h"
1111
#include "../validation.h"
1212

1313
bool IsFinalTx(const CTransactionRef& tx, int nBlockHeight, int64_t nBlockTime)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Distributed under the MIT software license, see the accompanying
55
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
66

7-
#include "tiertwo/specialtx_validation.h"
7+
#include "evo/specialtx.h"
88

99
#include "chain.h"
1010
#include "chainparams.h"
@@ -71,3 +71,4 @@ bool UndoSpecialTxsInBlock(const CBlock& block, const CBlockIndex* pindexPrev)
7171
/* undo special txes in batches */
7272
return true;
7373
}
74+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ bool CheckSpecialTx(const CTransaction& tx, CValidationState& state, bool fIsSap
2727
bool ProcessSpecialTxsInBlock(const CBlock& block, const CBlockIndex* pindexPrev, CValidationState& state);
2828
bool UndoSpecialTxsInBlock(const CBlock& block, const CBlockIndex* pindexPrev);
2929

30-
#endif //PIVX_SAPLING_VALIDATION_H
30+
#endif // PIVX_SPECIALTX_H

src/test/validation_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "test/test_pivx.h"
66
#include "primitives/transaction.h"
77
#include "sapling/sapling_validation.h"
8-
#include "tiertwo/specialtx_validation.h"
8+
#include "evo/specialtx.h"
99
#include "test/librust/utiltest.h"
1010

1111
#include <boost/test/unit_test.hpp>

0 commit comments

Comments
 (0)