Skip to content

Commit

Permalink
Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinandresen committed Oct 5, 2011
2 parents 8bc52d0 + 452506f commit b898c8f
Show file tree
Hide file tree
Showing 28 changed files with 68 additions and 6,057 deletions.
17 changes: 2 additions & 15 deletions bitcoin-qt.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET =
INCLUDEPATH += src src/json src/cryptopp src/qt
INCLUDEPATH += src src/json src/qt
DEFINES += QT_GUI
CONFIG += no_include_pwd

Expand Down Expand Up @@ -45,7 +45,7 @@ QMAKE_LFLAGS += -fstack-protector
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

# Input
DEPENDPATH += src/qt src src/cryptopp src json/include
DEPENDPATH += src/qt src src json/include
HEADERS += src/qt/bitcoingui.h \
src/qt/transactiontablemodel.h \
src/qt/addresstablemodel.h \
Expand All @@ -60,17 +60,6 @@ HEADERS += src/qt/bitcoingui.h \
src/util.h \
src/uint256.h \
src/serialize.h \
src/cryptopp/stdcpp.h \
src/cryptopp/smartptr.h \
src/cryptopp/simple.h \
src/cryptopp/sha.h \
src/cryptopp/secblock.h \
src/cryptopp/pch.h \
src/cryptopp/misc.h \
src/cryptopp/iterhash.h \
src/cryptopp/cryptlib.h \
src/cryptopp/cpu.h \
src/cryptopp/config.h \
src/strlcpy.h \
src/main.h \
src/net.h \
Expand Down Expand Up @@ -126,8 +115,6 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
src/qt/aboutdialog.cpp \
src/qt/editaddressdialog.cpp \
src/qt/bitcoinaddressvalidator.cpp \
src/cryptopp/sha.cpp \
src/cryptopp/cpu.cpp \
src/util.cpp \
src/script.cpp \
src/main.cpp \
Expand Down
3 changes: 1 addition & 2 deletions src/bitcoinrpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// file license.txt or http://www.opensource.org/licenses/mit-license.php.

#include "headers.h"
#include "cryptopp/sha.h"
#include "db.h"
#include "net.h"
#include "init.h"
Expand Down Expand Up @@ -1628,7 +1627,7 @@ Value getwork(const Array& params, bool fHelp)

// Byte reverse
for (int i = 0; i < 128/4; i++)
((unsigned int*)pdata)[i] = CryptoPP::ByteReverse(((unsigned int*)pdata)[i]);
((unsigned int*)pdata)[i] = ByteReverse(((unsigned int*)pdata)[i]);

// Get saved block
if (!mapNewBlock.count(pdata->hashMerkleRoot))
Expand Down
67 changes: 0 additions & 67 deletions src/cryptopp/License.txt

This file was deleted.

Loading

0 comments on commit b898c8f

Please sign in to comment.