Skip to content

Commit b898c8f

Browse files
committed
Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoin
2 parents 8bc52d0 + 452506f commit b898c8f

28 files changed

+68
-6057
lines changed

bitcoin-qt.pro

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TEMPLATE = app
22
TARGET =
3-
INCLUDEPATH += src src/json src/cryptopp src/qt
3+
INCLUDEPATH += src src/json src/qt
44
DEFINES += QT_GUI
55
CONFIG += no_include_pwd
66

@@ -45,7 +45,7 @@ QMAKE_LFLAGS += -fstack-protector
4545
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
4646

4747
# Input
48-
DEPENDPATH += src/qt src src/cryptopp src json/include
48+
DEPENDPATH += src/qt src src json/include
4949
HEADERS += src/qt/bitcoingui.h \
5050
src/qt/transactiontablemodel.h \
5151
src/qt/addresstablemodel.h \
@@ -60,17 +60,6 @@ HEADERS += src/qt/bitcoingui.h \
6060
src/util.h \
6161
src/uint256.h \
6262
src/serialize.h \
63-
src/cryptopp/stdcpp.h \
64-
src/cryptopp/smartptr.h \
65-
src/cryptopp/simple.h \
66-
src/cryptopp/sha.h \
67-
src/cryptopp/secblock.h \
68-
src/cryptopp/pch.h \
69-
src/cryptopp/misc.h \
70-
src/cryptopp/iterhash.h \
71-
src/cryptopp/cryptlib.h \
72-
src/cryptopp/cpu.h \
73-
src/cryptopp/config.h \
7463
src/strlcpy.h \
7564
src/main.h \
7665
src/net.h \
@@ -126,8 +115,6 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
126115
src/qt/aboutdialog.cpp \
127116
src/qt/editaddressdialog.cpp \
128117
src/qt/bitcoinaddressvalidator.cpp \
129-
src/cryptopp/sha.cpp \
130-
src/cryptopp/cpu.cpp \
131118
src/util.cpp \
132119
src/script.cpp \
133120
src/main.cpp \

src/bitcoinrpc.cpp

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

66
#include "headers.h"
7-
#include "cryptopp/sha.h"
87
#include "db.h"
98
#include "net.h"
109
#include "init.h"
@@ -1628,7 +1627,7 @@ Value getwork(const Array& params, bool fHelp)
16281627

16291628
// Byte reverse
16301629
for (int i = 0; i < 128/4; i++)
1631-
((unsigned int*)pdata)[i] = CryptoPP::ByteReverse(((unsigned int*)pdata)[i]);
1630+
((unsigned int*)pdata)[i] = ByteReverse(((unsigned int*)pdata)[i]);
16321631

16331632
// Get saved block
16341633
if (!mapNewBlock.count(pdata->hashMerkleRoot))

src/cryptopp/License.txt

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)