diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a26b80c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +!.gitignore +build/* +bitcoin-qt.pro.user +Makefile* +object_script.gridcoin-qt.* \ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index 6ab5f12..0000000 --- a/Makefile +++ /dev/null @@ -1,162 +0,0 @@ -############################################################################# -# Makefile for building: gridcoin-qt -# Generated by qmake (2.01a) (Qt 4.8.4) on: Wed Jan 1 17:49:57 2014 -# Project: bitcoin-qt.pro -# Template: app -# Command: c:/qt/4.8.4/bin/qmake.exe BOOST_INCLUDE_PATH=libs/boost_1_54_0 BOOST_LIB_PATH=libs/boost_1_54_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_54 OPENSSL_INCLUDE_PATH=libs/openssl-1.0.1e/include OPENSSL_LIB_PATH=libs/openssl-1.0.1e BDB_INCLUDE_PATH=libs/db-4.8.30.NC/build_unix BDB_LIB_PATH=libs/db-4.8.30.NC/build_unix MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.8 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.8 "QMAKE_CXXFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" "QMAKE_CFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" -o Makefile bitcoin-qt.pro -############################################################################# - -first: debug -install: debug-install -uninstall: debug-uninstall -MAKEFILE = Makefile -QMAKE = c:/qt/4.8.4/bin/qmake.exe -DEL_FILE = rm -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -COPY = cp -COPY_FILE = $(COPY) -COPY_DIR = cp -r -INSTALL_FILE = $(COPY_FILE) -INSTALL_PROGRAM = $(COPY_FILE) -INSTALL_DIR = $(COPY_DIR) -DEL_FILE = rm -SYMLINK = -DEL_DIR = rmdir -MOVE = mv -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -SUBTARGETS = \ - debug \ - release - -debug: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug -debug-make_default: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug -debug-make_first: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug first -debug-all: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug all -debug-clean: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug clean -debug-distclean: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug distclean -debug-install: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug install -debug-uninstall: $(MAKEFILE).Debug FORCE - $(MAKE) -f $(MAKEFILE).Debug uninstall -release: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release -release-make_default: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release -release-make_first: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release first -release-all: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release all -release-clean: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release clean -release-distclean: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release distclean -release-install: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release install -release-uninstall: $(MAKEFILE).Release FORCE - $(MAKE) -f $(MAKEFILE).Release uninstall - -Makefile: bitcoin-qt.pro ../Qt/4.8.4/mkspecs/default/qmake.conf ../Qt/4.8.4/mkspecs/features/device_config.prf \ - ../Qt/4.8.4/mkspecs/qconfig.pri \ - ../Qt/4.8.4/mkspecs/modules/qt_webkit_version.pri \ - ../Qt/4.8.4/mkspecs/features/qt_functions.prf \ - ../Qt/4.8.4/mkspecs/features/qt_config.prf \ - ../Qt/4.8.4/mkspecs/win32-g++/qmake.conf \ - ../Qt/4.8.4/mkspecs/features/exclusive_builds.prf \ - ../Qt/4.8.4/mkspecs/features/default_pre.prf \ - ../Qt/4.8.4/mkspecs/features/win32/default_pre.prf \ - ../Qt/4.8.4/mkspecs/features/debug.prf \ - ../Qt/4.8.4/mkspecs/features/debug_and_release.prf \ - ../Qt/4.8.4/mkspecs/features/default_post.prf \ - ../Qt/4.8.4/mkspecs/features/win32/default_post.prf \ - ../Qt/4.8.4/mkspecs/features/win32/qaxcontainer.prf \ - ../Qt/4.8.4/mkspecs/features/win32/thread.prf \ - ../Qt/4.8.4/mkspecs/features/win32/rtti.prf \ - ../Qt/4.8.4/mkspecs/features/win32/exceptions.prf \ - ../Qt/4.8.4/mkspecs/features/win32/stl.prf \ - ../Qt/4.8.4/mkspecs/features/shared.prf \ - ../Qt/4.8.4/mkspecs/features/warn_on.prf \ - ../Qt/4.8.4/mkspecs/features/qt.prf \ - ../Qt/4.8.4/mkspecs/features/moc.prf \ - ../Qt/4.8.4/mkspecs/features/win32/windows.prf \ - ../Qt/4.8.4/mkspecs/features/resources.prf \ - ../Qt/4.8.4/mkspecs/features/uic.prf \ - ../Qt/4.8.4/mkspecs/features/yacc.prf \ - ../Qt/4.8.4/mkspecs/features/lex.prf \ - c:/Qt/4.8.4/lib/qtmaind.prl \ - c:/Qt/4.8.4/lib/QAxContainer.prl - $(QMAKE) BOOST_INCLUDE_PATH=libs/boost_1_54_0 BOOST_LIB_PATH=libs/boost_1_54_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_54 OPENSSL_INCLUDE_PATH=libs/openssl-1.0.1e/include OPENSSL_LIB_PATH=libs/openssl-1.0.1e BDB_INCLUDE_PATH=libs/db-4.8.30.NC/build_unix BDB_LIB_PATH=libs/db-4.8.30.NC/build_unix MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.8 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.8 "QMAKE_CXXFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" "QMAKE_CFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" -o Makefile bitcoin-qt.pro -../Qt/4.8.4/mkspecs/features/device_config.prf: -../Qt/4.8.4/mkspecs/qconfig.pri: -../Qt/4.8.4/mkspecs/modules/qt_webkit_version.pri: -../Qt/4.8.4/mkspecs/features/qt_functions.prf: -../Qt/4.8.4/mkspecs/features/qt_config.prf: -../Qt/4.8.4/mkspecs/win32-g++/qmake.conf: -../Qt/4.8.4/mkspecs/features/exclusive_builds.prf: -../Qt/4.8.4/mkspecs/features/default_pre.prf: -../Qt/4.8.4/mkspecs/features/win32/default_pre.prf: -../Qt/4.8.4/mkspecs/features/debug.prf: -../Qt/4.8.4/mkspecs/features/debug_and_release.prf: -../Qt/4.8.4/mkspecs/features/default_post.prf: -../Qt/4.8.4/mkspecs/features/win32/default_post.prf: -../Qt/4.8.4/mkspecs/features/win32/qaxcontainer.prf: -../Qt/4.8.4/mkspecs/features/win32/thread.prf: -../Qt/4.8.4/mkspecs/features/win32/rtti.prf: -../Qt/4.8.4/mkspecs/features/win32/exceptions.prf: -../Qt/4.8.4/mkspecs/features/win32/stl.prf: -../Qt/4.8.4/mkspecs/features/shared.prf: -../Qt/4.8.4/mkspecs/features/warn_on.prf: -../Qt/4.8.4/mkspecs/features/qt.prf: -../Qt/4.8.4/mkspecs/features/moc.prf: -../Qt/4.8.4/mkspecs/features/win32/windows.prf: -../Qt/4.8.4/mkspecs/features/resources.prf: -../Qt/4.8.4/mkspecs/features/uic.prf: -../Qt/4.8.4/mkspecs/features/yacc.prf: -../Qt/4.8.4/mkspecs/features/lex.prf: -c:\Qt\4.8.4\lib\qtmaind.prl: -c:\Qt\4.8.4\lib\QAxContainer.prl: -qmake: qmake_all FORCE - @$(QMAKE) BOOST_INCLUDE_PATH=libs/boost_1_54_0 BOOST_LIB_PATH=libs/boost_1_54_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_54 OPENSSL_INCLUDE_PATH=libs/openssl-1.0.1e/include OPENSSL_LIB_PATH=libs/openssl-1.0.1e BDB_INCLUDE_PATH=libs/db-4.8.30.NC/build_unix BDB_LIB_PATH=libs/db-4.8.30.NC/build_unix MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.8 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.8 "QMAKE_CXXFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" "QMAKE_CFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" -o Makefile bitcoin-qt.pro - -qmake_all: FORCE - -make_default: debug-make_default release-make_default FORCE -make_first: debug-make_first release-make_first FORCE -all: debug-all release-all FORCE -clean: debug-clean release-clean FORCE - -$(DEL_FILE) C:/Gridcoin-master/src/leveldb/libleveldb.a; - -$(DEL_FILE) cd - -$(DEL_FILE) C:/Gridcoin-master/src/leveldb - -$(DEL_FILE) ; - -$(DEL_FILE) $(MAKE) - -$(DEL_FILE) clean -distclean: debug-distclean release-distclean FORCE - -$(DEL_FILE) Makefile - -C:/Gridcoin-master/src/leveldb/libleveldb.a: FORCE - cd C:/Gridcoin-master/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT="-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && ranlib C:/Gridcoin-master/src/leveldb/libleveldb.a && ranlib C:/Gridcoin-master/src/leveldb/libmemenv.a - -check: first - -debug-mocclean: $(MAKEFILE).Debug - $(MAKE) -f $(MAKEFILE).Debug mocclean -release-mocclean: $(MAKEFILE).Release - $(MAKE) -f $(MAKEFILE).Release mocclean -mocclean: debug-mocclean release-mocclean - -debug-mocables: $(MAKEFILE).Debug - $(MAKE) -f $(MAKEFILE).Debug mocables -release-mocables: $(MAKEFILE).Release - $(MAKE) -f $(MAKEFILE).Release mocables -mocables: debug-mocables release-mocables -FORCE: - -$(MAKEFILE).Debug: Makefile -$(MAKEFILE).Release: Makefile diff --git a/Makefile.Debug b/Makefile.Debug deleted file mode 100644 index b691fd5..0000000 --- a/Makefile.Debug +++ /dev/null @@ -1,2494 +0,0 @@ -############################################################################# -# Makefile for building: gridcoin-qt -# Generated by qmake (2.01a) (Qt 4.8.4) on: Wed Jan 1 17:49:56 2014 -# Project: bitcoin-qt.pro -# Template: app -############################################################################# - -####### Compiler, tools and options - -CC = gcc -CXX = g++ -DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -CFLAGS = -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -g -Wall -Wextra $(DEFINES) -CXXFLAGS = -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector $(DEFINES) -INCPATH = -I'../Qt/4.8.4/include/QtCore' -I'../Qt/4.8.4/include/QtNetwork' -I'../Qt/4.8.4/include/QtGui' -I'../Qt/4.8.4/include' -I'src' -I'src/json' -I'src/qt' -I'tmp/moc/release_shared' -I'libs/miniupnpc-1.8' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_54_0' -I'libs/db-4.8.30.NC/build_unix' -I'libs/openssl-1.0.1e/include' -I'../Qt/4.8.4/include/ActiveQt' -I'build' -I'build' -I'../Qt/4.8.4/mkspecs/default' -LINK = g++ -LFLAGS = -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -mthreads -Wl,-subsystem,windows -LIBS = -L'c:/Qt/4.8.4/lib' -lmingwthrd -lmingw32 -lqtmaind build/bitcoin-qt_res.o -Llibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/Gridcoin-master/src/leveldb/libleveldb.a C:/Gridcoin-master/src/leveldb/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build_unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lboost_system-mgw46-mt-1_54 -lboost_filesystem-mgw46-mt-1_54 -lboost_program_options-mgw46-mt-1_54 -lboost_thread-mgw46-mt-1_54 -lboost_chrono-mgw46-mt-1_54 -lQAxContainerd -lQtNetworkd4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGuid4 -lQtCored4 -QMAKE = c:/qt/4.8.4/bin/qmake.exe -IDC = c:/Qt/4.8.4/bin/idc.exe -IDL = midl -ZIP = zip -r -9 -DEF_FILE = -RES_FILE = build/bitcoin-qt_res.o -COPY = cp -SED = -COPY_FILE = $(COPY) -COPY_DIR = cp -r -DEL_FILE = rm -DEL_DIR = rmdir -MOVE = mv -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -INSTALL_FILE = $(COPY_FILE) -INSTALL_PROGRAM = $(COPY_FILE) -INSTALL_DIR = $(COPY_DIR) - -####### Output directory - -OBJECTS_DIR = build/ - -####### Files - -SOURCES = src/qt/bitcoin.cpp \ - src/qt/bitcoingui.cpp \ - src/qt/transactiontablemodel.cpp \ - src/qt/addresstablemodel.cpp \ - src/qt/optionsdialog.cpp \ - src/qt/sendcoinsdialog.cpp \ - src/qt/addressbookpage.cpp \ - src/qt/signverifymessagedialog.cpp \ - src/qt/aboutdialog.cpp \ - src/qt/miningdialog.cpp \ - src/qt/genesisgenerator.cpp \ - src/gridcoin.cpp \ - src/qt/editaddressdialog.cpp \ - src/qt/bitcoinaddressvalidator.cpp \ - src/alert.cpp \ - src/version.cpp \ - src/sync.cpp \ - src/util.cpp \ - src/hash.cpp \ - src/netbase.cpp \ - src/key.cpp \ - src/script.cpp \ - src/main.cpp \ - src/init.cpp \ - src/net.cpp \ - src/bloom.cpp \ - src/checkpoints.cpp \ - src/addrman.cpp \ - src/db.cpp \ - src/walletdb.cpp \ - src/qt/clientmodel.cpp \ - src/qt/guiutil.cpp \ - src/qt/transactionrecord.cpp \ - src/qt/optionsmodel.cpp \ - src/qt/monitoreddatamapper.cpp \ - src/qt/transactiondesc.cpp \ - src/qt/transactiondescdialog.cpp \ - src/qt/bitcoinstrings.cpp \ - src/qt/bitcoinamountfield.cpp \ - src/wallet.cpp \ - src/keystore.cpp \ - src/qt/transactionfilterproxy.cpp \ - src/qt/transactionview.cpp \ - src/qt/walletmodel.cpp \ - src/qt/walletview.cpp \ - src/qt/walletstack.cpp \ - src/qt/walletframe.cpp \ - src/bitcoinrpc.cpp \ - src/rpcdump.cpp \ - src/rpcnet.cpp \ - src/rpcmining.cpp \ - src/rpcwallet.cpp \ - src/rpcblockchain.cpp \ - src/rpcrawtransaction.cpp \ - src/qt/overviewpage.cpp \ - src/qt/csvmodelwriter.cpp \ - src/crypter.cpp \ - src/qt/sendcoinsentry.cpp \ - src/qt/qvalidatedlineedit.cpp \ - src/qt/bitcoinunits.cpp \ - src/qt/qvaluecombobox.cpp \ - src/qt/askpassphrasedialog.cpp \ - src/protocol.cpp \ - src/qt/notificator.cpp \ - src/qt/paymentserver.cpp \ - src/qt/rpcconsole.cpp \ - src/scrypt.cpp \ - src/noui.cpp \ - src/leveldb.cpp \ - src/txdb.cpp \ - src/qt/splashscreen.cpp build/moc_bitcoingui.cpp \ - build/moc_transactiontablemodel.cpp \ - build/moc_addresstablemodel.cpp \ - build/moc_optionsdialog.cpp \ - build/moc_sendcoinsdialog.cpp \ - build/moc_addressbookpage.cpp \ - build/moc_signverifymessagedialog.cpp \ - build/moc_aboutdialog.cpp \ - build/moc_miningdialog.cpp \ - build/moc_editaddressdialog.cpp \ - build/moc_bitcoinaddressvalidator.cpp \ - build/moc_clientmodel.cpp \ - build/moc_guiutil.cpp \ - build/moc_optionsmodel.cpp \ - build/moc_monitoreddatamapper.cpp \ - build/moc_transactiondesc.cpp \ - build/moc_transactiondescdialog.cpp \ - build/moc_bitcoinamountfield.cpp \ - build/moc_transactionfilterproxy.cpp \ - build/moc_transactionview.cpp \ - build/moc_walletmodel.cpp \ - build/moc_walletview.cpp \ - build/moc_walletstack.cpp \ - build/moc_walletframe.cpp \ - build/moc_overviewpage.cpp \ - build/moc_csvmodelwriter.cpp \ - build/moc_sendcoinsentry.cpp \ - build/moc_qvalidatedlineedit.cpp \ - build/moc_bitcoinunits.cpp \ - build/moc_qvaluecombobox.cpp \ - build/moc_askpassphrasedialog.cpp \ - build/moc_notificator.cpp \ - build/moc_paymentserver.cpp \ - build/moc_rpcconsole.cpp \ - build/moc_macnotificationhandler.cpp \ - build/moc_splashscreen.cpp \ - debug/qrc_bitcoin.cpp -OBJECTS = build/bitcoin.o \ - build/bitcoingui.o \ - build/transactiontablemodel.o \ - build/addresstablemodel.o \ - build/optionsdialog.o \ - build/sendcoinsdialog.o \ - build/addressbookpage.o \ - build/signverifymessagedialog.o \ - build/aboutdialog.o \ - build/miningdialog.o \ - build/genesisgenerator.o \ - build/gridcoin.o \ - build/editaddressdialog.o \ - build/bitcoinaddressvalidator.o \ - build/alert.o \ - build/version.o \ - build/sync.o \ - build/util.o \ - build/hash.o \ - build/netbase.o \ - build/key.o \ - build/script.o \ - build/main.o \ - build/init.o \ - build/net.o \ - build/bloom.o \ - build/checkpoints.o \ - build/addrman.o \ - build/db.o \ - build/walletdb.o \ - build/clientmodel.o \ - build/guiutil.o \ - build/transactionrecord.o \ - build/optionsmodel.o \ - build/monitoreddatamapper.o \ - build/transactiondesc.o \ - build/transactiondescdialog.o \ - build/bitcoinstrings.o \ - build/bitcoinamountfield.o \ - build/wallet.o \ - build/keystore.o \ - build/transactionfilterproxy.o \ - build/transactionview.o \ - build/walletmodel.o \ - build/walletview.o \ - build/walletstack.o \ - build/walletframe.o \ - build/bitcoinrpc.o \ - build/rpcdump.o \ - build/rpcnet.o \ - build/rpcmining.o \ - build/rpcwallet.o \ - build/rpcblockchain.o \ - build/rpcrawtransaction.o \ - build/overviewpage.o \ - build/csvmodelwriter.o \ - build/crypter.o \ - build/sendcoinsentry.o \ - build/qvalidatedlineedit.o \ - build/bitcoinunits.o \ - build/qvaluecombobox.o \ - build/askpassphrasedialog.o \ - build/protocol.o \ - build/notificator.o \ - build/paymentserver.o \ - build/rpcconsole.o \ - build/scrypt.o \ - build/noui.o \ - build/leveldb.o \ - build/txdb.o \ - build/splashscreen.o \ - build/moc_bitcoingui.o \ - build/moc_transactiontablemodel.o \ - build/moc_addresstablemodel.o \ - build/moc_optionsdialog.o \ - build/moc_sendcoinsdialog.o \ - build/moc_addressbookpage.o \ - build/moc_signverifymessagedialog.o \ - build/moc_aboutdialog.o \ - build/moc_miningdialog.o \ - build/moc_editaddressdialog.o \ - build/moc_bitcoinaddressvalidator.o \ - build/moc_clientmodel.o \ - build/moc_guiutil.o \ - build/moc_optionsmodel.o \ - build/moc_monitoreddatamapper.o \ - build/moc_transactiondesc.o \ - build/moc_transactiondescdialog.o \ - build/moc_bitcoinamountfield.o \ - build/moc_transactionfilterproxy.o \ - build/moc_transactionview.o \ - build/moc_walletmodel.o \ - build/moc_walletview.o \ - build/moc_walletstack.o \ - build/moc_walletframe.o \ - build/moc_overviewpage.o \ - build/moc_csvmodelwriter.o \ - build/moc_sendcoinsentry.o \ - build/moc_qvalidatedlineedit.o \ - build/moc_bitcoinunits.o \ - build/moc_qvaluecombobox.o \ - build/moc_askpassphrasedialog.o \ - build/moc_notificator.o \ - build/moc_paymentserver.o \ - build/moc_rpcconsole.o \ - build/moc_macnotificationhandler.o \ - build/moc_splashscreen.o \ - build/qrc_bitcoin.o -DIST = -QMAKE_TARGET = gridcoin-qt -DESTDIR = debug/ #avoid trailing-slash linebreak -TARGET = gridcoin-qt.exe -DESTDIR_TARGET = debug/gridcoin-qt.exe - -####### Implicit rules - -.SUFFIXES: .cpp .cc .cxx .c - -.cpp.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.cc.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.cxx.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.c.o: - $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< - -####### Build rules - -first: all -all: Makefile.Debug $(DESTDIR_TARGET) - -$(DESTDIR_TARGET): c:/Gridcoin-master/src/leveldb/libleveldb.a build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h $(OBJECTS) build/bitcoin-qt_res.o - $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.gridcoin-qt.Debug $(LIBS) - -build/bitcoin-qt_res.o: src/qt/res/bitcoin-qt.rc - windres -i src/qt/res/bitcoin-qt.rc -o build/bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES) - -qmake: FORCE - @$(QMAKE) BOOST_INCLUDE_PATH=libs/boost_1_54_0 BOOST_LIB_PATH=libs/boost_1_54_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_54 OPENSSL_INCLUDE_PATH=libs/openssl-1.0.1e/include OPENSSL_LIB_PATH=libs/openssl-1.0.1e BDB_INCLUDE_PATH=libs/db-4.8.30.NC/build_unix BDB_LIB_PATH=libs/db-4.8.30.NC/build_unix MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.8 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.8 "QMAKE_CXXFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" "QMAKE_CFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" -o Makefile.Debug bitcoin-qt.pro - -dist: - $(ZIP) gridcoin-qt.zip $(SOURCES) $(DIST) bitcoin-qt.pro ../Qt/4.8.4/mkspecs/features/device_config.prf ../Qt/4.8.4/mkspecs/qconfig.pri ../Qt/4.8.4/mkspecs/modules/qt_webkit_version.pri ../Qt/4.8.4/mkspecs/features/qt_functions.prf ../Qt/4.8.4/mkspecs/features/qt_config.prf ../Qt/4.8.4/mkspecs/win32-g++/qmake.conf ../Qt/4.8.4/mkspecs/features/exclusive_builds.prf ../Qt/4.8.4/mkspecs/features/default_pre.prf ../Qt/4.8.4/mkspecs/features/win32/default_pre.prf ../Qt/4.8.4/mkspecs/features/debug.prf ../Qt/4.8.4/mkspecs/features/debug_and_release.prf ../Qt/4.8.4/mkspecs/features/default_post.prf ../Qt/4.8.4/mkspecs/features/win32/default_post.prf ../Qt/4.8.4/mkspecs/features/build_pass.prf ../Qt/4.8.4/mkspecs/features/win32/qaxcontainer.prf ../Qt/4.8.4/mkspecs/features/win32/thread.prf ../Qt/4.8.4/mkspecs/features/win32/rtti.prf ../Qt/4.8.4/mkspecs/features/win32/exceptions.prf ../Qt/4.8.4/mkspecs/features/win32/stl.prf ../Qt/4.8.4/mkspecs/features/shared.prf ../Qt/4.8.4/mkspecs/features/warn_on.prf ../Qt/4.8.4/mkspecs/features/qt.prf ../Qt/4.8.4/mkspecs/features/moc.prf ../Qt/4.8.4/mkspecs/features/win32/windows.prf ../Qt/4.8.4/mkspecs/features/resources.prf ../Qt/4.8.4/mkspecs/features/uic.prf ../Qt/4.8.4/mkspecs/features/yacc.prf ../Qt/4.8.4/mkspecs/features/lex.prf c:\Qt\4.8.4\lib\qtmaind.prl c:\Qt\4.8.4\lib\QAxContainerd.prl src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gu_IN.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gu_IN.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts TRANSLATIONS TYPELIBS TYPELIBS HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES - -clean: compiler_clean - -$(DEL_FILE) build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/miningdialog.o build/genesisgenerator.o build/gridcoin.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/walletview.o build/walletstack.o build/walletframe.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/paymentserver.o build/rpcconsole.o build/scrypt.o build/noui.o build/leveldb.o build/txdb.o build/splashscreen.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_miningdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o - -$(DEL_FILE) build/moc_walletview.o build/moc_walletstack.o build/moc_walletframe.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_bitcoinunits.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_paymentserver.o build/moc_rpcconsole.o build/moc_macnotificationhandler.o build/moc_splashscreen.o build/qrc_bitcoin.o - -$(DEL_FILE) C:/Gridcoin-master/src/leveldb/libleveldb.a; cd C:/Gridcoin-master/src/leveldb ; $(MAKE) clean - -$(DEL_FILE) build/bitcoin-qt_res.o - -distclean: clean - -$(DEL_FILE) $(DESTDIR_TARGET) - -$(DEL_FILE) Makefile.Debug - -C:/Gridcoin-master/src/leveldb/libleveldb.a: FORCE - cd C:/Gridcoin-master/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT="-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && ranlib C:/Gridcoin-master/src/leveldb/libleveldb.a && ranlib C:/Gridcoin-master/src/leveldb/libmemenv.a - -check: first - -mocclean: compiler_moc_header_clean compiler_moc_source_clean - -mocables: compiler_moc_header_make_all compiler_moc_source_make_all - -compiler_TSQM_make_all: src/qt/locale/bitcoin_af_ZA.qm src/qt/locale/bitcoin_ar.qm src/qt/locale/bitcoin_bg.qm src/qt/locale/bitcoin_bs.qm src/qt/locale/bitcoin_ca.qm src/qt/locale/bitcoin_ca_ES.qm src/qt/locale/bitcoin_cs.qm src/qt/locale/bitcoin_cy.qm src/qt/locale/bitcoin_da.qm src/qt/locale/bitcoin_de.qm src/qt/locale/bitcoin_el_GR.qm src/qt/locale/bitcoin_en.qm src/qt/locale/bitcoin_eo.qm src/qt/locale/bitcoin_es.qm src/qt/locale/bitcoin_es_CL.qm src/qt/locale/bitcoin_et.qm src/qt/locale/bitcoin_eu_ES.qm src/qt/locale/bitcoin_fa.qm src/qt/locale/bitcoin_fa_IR.qm src/qt/locale/bitcoin_fi.qm src/qt/locale/bitcoin_fr.qm src/qt/locale/bitcoin_fr_CA.qm src/qt/locale/bitcoin_gu_IN.qm src/qt/locale/bitcoin_he.qm src/qt/locale/bitcoin_hi_IN.qm src/qt/locale/bitcoin_hr.qm src/qt/locale/bitcoin_hu.qm src/qt/locale/bitcoin_it.qm src/qt/locale/bitcoin_ja.qm src/qt/locale/bitcoin_la.qm src/qt/locale/bitcoin_lt.qm src/qt/locale/bitcoin_lv_LV.qm src/qt/locale/bitcoin_nb.qm src/qt/locale/bitcoin_nl.qm src/qt/locale/bitcoin_pl.qm src/qt/locale/bitcoin_pt_BR.qm src/qt/locale/bitcoin_pt_PT.qm src/qt/locale/bitcoin_ro_RO.qm src/qt/locale/bitcoin_ru.qm src/qt/locale/bitcoin_sk.qm src/qt/locale/bitcoin_sr.qm src/qt/locale/bitcoin_sv.qm src/qt/locale/bitcoin_th_TH.qm src/qt/locale/bitcoin_tr.qm src/qt/locale/bitcoin_uk.qm src/qt/locale/bitcoin_zh_CN.qm src/qt/locale/bitcoin_zh_TW.qm -compiler_TSQM_clean: - -$(DEL_FILE) src/qt/locale/bitcoin_af_ZA.qm src/qt/locale/bitcoin_ar.qm src/qt/locale/bitcoin_bg.qm src/qt/locale/bitcoin_bs.qm src/qt/locale/bitcoin_ca.qm src/qt/locale/bitcoin_ca_ES.qm src/qt/locale/bitcoin_cs.qm src/qt/locale/bitcoin_cy.qm src/qt/locale/bitcoin_da.qm src/qt/locale/bitcoin_de.qm src/qt/locale/bitcoin_el_GR.qm src/qt/locale/bitcoin_en.qm src/qt/locale/bitcoin_eo.qm src/qt/locale/bitcoin_es.qm src/qt/locale/bitcoin_es_CL.qm src/qt/locale/bitcoin_et.qm src/qt/locale/bitcoin_eu_ES.qm src/qt/locale/bitcoin_fa.qm src/qt/locale/bitcoin_fa_IR.qm src/qt/locale/bitcoin_fi.qm src/qt/locale/bitcoin_fr.qm src/qt/locale/bitcoin_fr_CA.qm src/qt/locale/bitcoin_gu_IN.qm src/qt/locale/bitcoin_he.qm src/qt/locale/bitcoin_hi_IN.qm src/qt/locale/bitcoin_hr.qm src/qt/locale/bitcoin_hu.qm src/qt/locale/bitcoin_it.qm src/qt/locale/bitcoin_ja.qm src/qt/locale/bitcoin_la.qm src/qt/locale/bitcoin_lt.qm src/qt/locale/bitcoin_lv_LV.qm src/qt/locale/bitcoin_nb.qm src/qt/locale/bitcoin_nl.qm src/qt/locale/bitcoin_pl.qm src/qt/locale/bitcoin_pt_BR.qm src/qt/locale/bitcoin_pt_PT.qm src/qt/locale/bitcoin_ro_RO.qm src/qt/locale/bitcoin_ru.qm src/qt/locale/bitcoin_sk.qm src/qt/locale/bitcoin_sr.qm src/qt/locale/bitcoin_sv.qm src/qt/locale/bitcoin_th_TH.qm src/qt/locale/bitcoin_tr.qm src/qt/locale/bitcoin_uk.qm src/qt/locale/bitcoin_zh_CN.qm src/qt/locale/bitcoin_zh_TW.qm -src/qt/locale/bitcoin_af_ZA.qm: src/qt/locale/bitcoin_af_ZA.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_af_ZA.ts -qm src/qt/locale/bitcoin_af_ZA.qm - -src/qt/locale/bitcoin_ar.qm: src/qt/locale/bitcoin_ar.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ar.ts -qm src/qt/locale/bitcoin_ar.qm - -src/qt/locale/bitcoin_bg.qm: src/qt/locale/bitcoin_bg.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_bg.ts -qm src/qt/locale/bitcoin_bg.qm - -src/qt/locale/bitcoin_bs.qm: src/qt/locale/bitcoin_bs.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_bs.ts -qm src/qt/locale/bitcoin_bs.qm - -src/qt/locale/bitcoin_ca.qm: src/qt/locale/bitcoin_ca.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ca.ts -qm src/qt/locale/bitcoin_ca.qm - -src/qt/locale/bitcoin_ca_ES.qm: src/qt/locale/bitcoin_ca_ES.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ca_ES.ts -qm src/qt/locale/bitcoin_ca_ES.qm - -src/qt/locale/bitcoin_cs.qm: src/qt/locale/bitcoin_cs.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_cs.ts -qm src/qt/locale/bitcoin_cs.qm - -src/qt/locale/bitcoin_cy.qm: src/qt/locale/bitcoin_cy.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_cy.ts -qm src/qt/locale/bitcoin_cy.qm - -src/qt/locale/bitcoin_da.qm: src/qt/locale/bitcoin_da.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_da.ts -qm src/qt/locale/bitcoin_da.qm - -src/qt/locale/bitcoin_de.qm: src/qt/locale/bitcoin_de.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_de.ts -qm src/qt/locale/bitcoin_de.qm - -src/qt/locale/bitcoin_el_GR.qm: src/qt/locale/bitcoin_el_GR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_el_GR.ts -qm src/qt/locale/bitcoin_el_GR.qm - -src/qt/locale/bitcoin_en.qm: src/qt/locale/bitcoin_en.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_en.ts -qm src/qt/locale/bitcoin_en.qm - -src/qt/locale/bitcoin_eo.qm: src/qt/locale/bitcoin_eo.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_eo.ts -qm src/qt/locale/bitcoin_eo.qm - -src/qt/locale/bitcoin_es.qm: src/qt/locale/bitcoin_es.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_es.ts -qm src/qt/locale/bitcoin_es.qm - -src/qt/locale/bitcoin_es_CL.qm: src/qt/locale/bitcoin_es_CL.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_es_CL.ts -qm src/qt/locale/bitcoin_es_CL.qm - -src/qt/locale/bitcoin_et.qm: src/qt/locale/bitcoin_et.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_et.ts -qm src/qt/locale/bitcoin_et.qm - -src/qt/locale/bitcoin_eu_ES.qm: src/qt/locale/bitcoin_eu_ES.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_eu_ES.ts -qm src/qt/locale/bitcoin_eu_ES.qm - -src/qt/locale/bitcoin_fa.qm: src/qt/locale/bitcoin_fa.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fa.ts -qm src/qt/locale/bitcoin_fa.qm - -src/qt/locale/bitcoin_fa_IR.qm: src/qt/locale/bitcoin_fa_IR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fa_IR.ts -qm src/qt/locale/bitcoin_fa_IR.qm - -src/qt/locale/bitcoin_fi.qm: src/qt/locale/bitcoin_fi.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fi.ts -qm src/qt/locale/bitcoin_fi.qm - -src/qt/locale/bitcoin_fr.qm: src/qt/locale/bitcoin_fr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fr.ts -qm src/qt/locale/bitcoin_fr.qm - -src/qt/locale/bitcoin_fr_CA.qm: src/qt/locale/bitcoin_fr_CA.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fr_CA.ts -qm src/qt/locale/bitcoin_fr_CA.qm - -src/qt/locale/bitcoin_gu_IN.qm: src/qt/locale/bitcoin_gu_IN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_gu_IN.ts -qm src/qt/locale/bitcoin_gu_IN.qm - -src/qt/locale/bitcoin_he.qm: src/qt/locale/bitcoin_he.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_he.ts -qm src/qt/locale/bitcoin_he.qm - -src/qt/locale/bitcoin_hi_IN.qm: src/qt/locale/bitcoin_hi_IN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hi_IN.ts -qm src/qt/locale/bitcoin_hi_IN.qm - -src/qt/locale/bitcoin_hr.qm: src/qt/locale/bitcoin_hr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hr.ts -qm src/qt/locale/bitcoin_hr.qm - -src/qt/locale/bitcoin_hu.qm: src/qt/locale/bitcoin_hu.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hu.ts -qm src/qt/locale/bitcoin_hu.qm - -src/qt/locale/bitcoin_it.qm: src/qt/locale/bitcoin_it.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_it.ts -qm src/qt/locale/bitcoin_it.qm - -src/qt/locale/bitcoin_ja.qm: src/qt/locale/bitcoin_ja.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ja.ts -qm src/qt/locale/bitcoin_ja.qm - -src/qt/locale/bitcoin_la.qm: src/qt/locale/bitcoin_la.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_la.ts -qm src/qt/locale/bitcoin_la.qm - -src/qt/locale/bitcoin_lt.qm: src/qt/locale/bitcoin_lt.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_lt.ts -qm src/qt/locale/bitcoin_lt.qm - -src/qt/locale/bitcoin_lv_LV.qm: src/qt/locale/bitcoin_lv_LV.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_lv_LV.ts -qm src/qt/locale/bitcoin_lv_LV.qm - -src/qt/locale/bitcoin_nb.qm: src/qt/locale/bitcoin_nb.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_nb.ts -qm src/qt/locale/bitcoin_nb.qm - -src/qt/locale/bitcoin_nl.qm: src/qt/locale/bitcoin_nl.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_nl.ts -qm src/qt/locale/bitcoin_nl.qm - -src/qt/locale/bitcoin_pl.qm: src/qt/locale/bitcoin_pl.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pl.ts -qm src/qt/locale/bitcoin_pl.qm - -src/qt/locale/bitcoin_pt_BR.qm: src/qt/locale/bitcoin_pt_BR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pt_BR.ts -qm src/qt/locale/bitcoin_pt_BR.qm - -src/qt/locale/bitcoin_pt_PT.qm: src/qt/locale/bitcoin_pt_PT.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pt_PT.ts -qm src/qt/locale/bitcoin_pt_PT.qm - -src/qt/locale/bitcoin_ro_RO.qm: src/qt/locale/bitcoin_ro_RO.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ro_RO.ts -qm src/qt/locale/bitcoin_ro_RO.qm - -src/qt/locale/bitcoin_ru.qm: src/qt/locale/bitcoin_ru.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ru.ts -qm src/qt/locale/bitcoin_ru.qm - -src/qt/locale/bitcoin_sk.qm: src/qt/locale/bitcoin_sk.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sk.ts -qm src/qt/locale/bitcoin_sk.qm - -src/qt/locale/bitcoin_sr.qm: src/qt/locale/bitcoin_sr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sr.ts -qm src/qt/locale/bitcoin_sr.qm - -src/qt/locale/bitcoin_sv.qm: src/qt/locale/bitcoin_sv.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sv.ts -qm src/qt/locale/bitcoin_sv.qm - -src/qt/locale/bitcoin_th_TH.qm: src/qt/locale/bitcoin_th_TH.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_th_TH.ts -qm src/qt/locale/bitcoin_th_TH.qm - -src/qt/locale/bitcoin_tr.qm: src/qt/locale/bitcoin_tr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_tr.ts -qm src/qt/locale/bitcoin_tr.qm - -src/qt/locale/bitcoin_uk.qm: src/qt/locale/bitcoin_uk.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_uk.ts -qm src/qt/locale/bitcoin_uk.qm - -src/qt/locale/bitcoin_zh_CN.qm: src/qt/locale/bitcoin_zh_CN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_zh_CN.ts -qm src/qt/locale/bitcoin_zh_CN.qm - -src/qt/locale/bitcoin_zh_TW.qm: src/qt/locale/bitcoin_zh_TW.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_zh_TW.ts -qm src/qt/locale/bitcoin_zh_TW.qm - -compiler_dumpcpp_decl_make_all: -compiler_dumpcpp_decl_clean: -compiler_dumpcpp_impl_make_all: -compiler_dumpcpp_impl_clean: -compiler_moc_header_make_all: build/moc_bitcoingui.cpp build/moc_transactiontablemodel.cpp build/moc_addresstablemodel.cpp build/moc_optionsdialog.cpp build/moc_sendcoinsdialog.cpp build/moc_addressbookpage.cpp build/moc_signverifymessagedialog.cpp build/moc_aboutdialog.cpp build/moc_miningdialog.cpp build/moc_editaddressdialog.cpp build/moc_bitcoinaddressvalidator.cpp build/moc_clientmodel.cpp build/moc_guiutil.cpp build/moc_optionsmodel.cpp build/moc_monitoreddatamapper.cpp build/moc_transactiondesc.cpp build/moc_transactiondescdialog.cpp build/moc_bitcoinamountfield.cpp build/moc_transactionfilterproxy.cpp build/moc_transactionview.cpp build/moc_walletmodel.cpp build/moc_walletview.cpp build/moc_walletstack.cpp build/moc_walletframe.cpp build/moc_overviewpage.cpp build/moc_csvmodelwriter.cpp build/moc_sendcoinsentry.cpp build/moc_qvalidatedlineedit.cpp build/moc_bitcoinunits.cpp build/moc_qvaluecombobox.cpp build/moc_askpassphrasedialog.cpp build/moc_notificator.cpp build/moc_paymentserver.cpp build/moc_rpcconsole.cpp build/moc_macnotificationhandler.cpp build/moc_splashscreen.cpp -compiler_moc_header_clean: - -$(DEL_FILE) build/moc_bitcoingui.cpp build/moc_transactiontablemodel.cpp build/moc_addresstablemodel.cpp build/moc_optionsdialog.cpp build/moc_sendcoinsdialog.cpp build/moc_addressbookpage.cpp build/moc_signverifymessagedialog.cpp build/moc_aboutdialog.cpp build/moc_miningdialog.cpp build/moc_editaddressdialog.cpp build/moc_bitcoinaddressvalidator.cpp build/moc_clientmodel.cpp build/moc_guiutil.cpp build/moc_optionsmodel.cpp build/moc_monitoreddatamapper.cpp build/moc_transactiondesc.cpp build/moc_transactiondescdialog.cpp build/moc_bitcoinamountfield.cpp build/moc_transactionfilterproxy.cpp build/moc_transactionview.cpp build/moc_walletmodel.cpp build/moc_walletview.cpp build/moc_walletstack.cpp build/moc_walletframe.cpp build/moc_overviewpage.cpp build/moc_csvmodelwriter.cpp build/moc_sendcoinsentry.cpp build/moc_qvalidatedlineedit.cpp build/moc_bitcoinunits.cpp build/moc_qvaluecombobox.cpp build/moc_askpassphrasedialog.cpp build/moc_notificator.cpp build/moc_paymentserver.cpp build/moc_rpcconsole.cpp build/moc_macnotificationhandler.cpp build/moc_splashscreen.cpp -build/moc_bitcoingui.cpp: src/qt/bitcoingui.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoingui.h -o build/moc_bitcoingui.cpp - -build/moc_transactiontablemodel.cpp: src/qt/transactiontablemodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiontablemodel.h -o build/moc_transactiontablemodel.cpp - -build/moc_addresstablemodel.cpp: src/qt/addresstablemodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/addresstablemodel.h -o build/moc_addresstablemodel.cpp - -build/moc_optionsdialog.cpp: src/qt/optionsdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/optionsdialog.h -o build/moc_optionsdialog.cpp - -build/moc_sendcoinsdialog.cpp: src/qt/sendcoinsdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/sendcoinsdialog.h -o build/moc_sendcoinsdialog.cpp - -build/moc_addressbookpage.cpp: src/qt/addressbookpage.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/addressbookpage.h -o build/moc_addressbookpage.cpp - -build/moc_signverifymessagedialog.cpp: src/qt/signverifymessagedialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/signverifymessagedialog.h -o build/moc_signverifymessagedialog.cpp - -build/moc_aboutdialog.cpp: src/qt/aboutdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/aboutdialog.h -o build/moc_aboutdialog.cpp - -build/moc_miningdialog.cpp: src/qt/miningdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/miningdialog.h -o build/moc_miningdialog.cpp - -build/moc_editaddressdialog.cpp: src/qt/editaddressdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/editaddressdialog.h -o build/moc_editaddressdialog.cpp - -build/moc_bitcoinaddressvalidator.cpp: src/qt/bitcoinaddressvalidator.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinaddressvalidator.h -o build/moc_bitcoinaddressvalidator.cpp - -build/moc_clientmodel.cpp: src/qt/clientmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/clientmodel.h -o build/moc_clientmodel.cpp - -build/moc_guiutil.cpp: src/qt/guiutil.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/guiutil.h -o build/moc_guiutil.cpp - -build/moc_optionsmodel.cpp: src/qt/optionsmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/optionsmodel.h -o build/moc_optionsmodel.cpp - -build/moc_monitoreddatamapper.cpp: src/qt/monitoreddatamapper.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/monitoreddatamapper.h -o build/moc_monitoreddatamapper.cpp - -build/moc_transactiondesc.cpp: src/qt/transactiondesc.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiondesc.h -o build/moc_transactiondesc.cpp - -build/moc_transactiondescdialog.cpp: src/qt/transactiondescdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiondescdialog.h -o build/moc_transactiondescdialog.cpp - -build/moc_bitcoinamountfield.cpp: src/qt/bitcoinamountfield.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinamountfield.h -o build/moc_bitcoinamountfield.cpp - -build/moc_transactionfilterproxy.cpp: src/qt/transactionfilterproxy.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactionfilterproxy.h -o build/moc_transactionfilterproxy.cpp - -build/moc_transactionview.cpp: src/qt/transactionview.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactionview.h -o build/moc_transactionview.cpp - -build/moc_walletmodel.cpp: src/allocators.h \ - src/qt/walletmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletmodel.h -o build/moc_walletmodel.cpp - -build/moc_walletview.cpp: src/qt/walletview.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletview.h -o build/moc_walletview.cpp - -build/moc_walletstack.cpp: src/qt/walletstack.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletstack.h -o build/moc_walletstack.cpp - -build/moc_walletframe.cpp: src/qt/walletframe.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletframe.h -o build/moc_walletframe.cpp - -build/moc_overviewpage.cpp: src/qt/overviewpage.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/overviewpage.h -o build/moc_overviewpage.cpp - -build/moc_csvmodelwriter.cpp: src/qt/csvmodelwriter.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/csvmodelwriter.h -o build/moc_csvmodelwriter.cpp - -build/moc_sendcoinsentry.cpp: src/qt/sendcoinsentry.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/sendcoinsentry.h -o build/moc_sendcoinsentry.cpp - -build/moc_qvalidatedlineedit.cpp: src/qt/qvalidatedlineedit.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/qvalidatedlineedit.h -o build/moc_qvalidatedlineedit.cpp - -build/moc_bitcoinunits.cpp: src/qt/bitcoinunits.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinunits.h -o build/moc_bitcoinunits.cpp - -build/moc_qvaluecombobox.cpp: src/qt/qvaluecombobox.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/qvaluecombobox.h -o build/moc_qvaluecombobox.cpp - -build/moc_askpassphrasedialog.cpp: src/qt/askpassphrasedialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/askpassphrasedialog.h -o build/moc_askpassphrasedialog.cpp - -build/moc_notificator.cpp: src/qt/notificator.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/notificator.h -o build/moc_notificator.cpp - -build/moc_paymentserver.cpp: src/qt/paymentserver.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/paymentserver.h -o build/moc_paymentserver.cpp - -build/moc_rpcconsole.cpp: src/qt/rpcconsole.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/rpcconsole.h -o build/moc_rpcconsole.cpp - -build/moc_macnotificationhandler.cpp: src/qt/macnotificationhandler.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/macnotificationhandler.h -o build/moc_macnotificationhandler.cpp - -build/moc_splashscreen.cpp: src/qt/splashscreen.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/splashscreen.h -o build/moc_splashscreen.cpp - -compiler_rcc_make_all: debug/qrc_bitcoin.cpp -compiler_rcc_clean: - -$(DEL_FILE) debug/qrc_bitcoin.cpp -debug/qrc_bitcoin.cpp: src/qt/bitcoin.qrc \ - src/qt/locale/bitcoin_fr.qm \ - src/qt/locale/bitcoin_sk.qm \ - src/qt/locale/bitcoin_ca.ts \ - src/qt/locale/bitcoin_bs.ts \ - src/qt/locale/bitcoin_sr.qm \ - src/qt/locale/bitcoin_hi_IN.ts \ - src/qt/locale/bitcoin_sv.qm \ - src/qt/locale/bitcoin_la.ts \ - src/qt/locale/bitcoin_pt_BR.qm \ - src/qt/locale/bitcoin_da.qm \ - src/qt/locale/bitcoin_zh_CN.qm \ - src/qt/locale/bitcoin_he.qm \ - src/qt/locale/bitcoin_pl.qm \ - src/qt/locale/bitcoin_cs.qm \ - src/qt/locale/bitcoin_lv_LV.ts \ - src/qt/locale/bitcoin_de.qm \ - src/qt/locale/bitcoin_th_TH.ts \ - src/qt/locale/bitcoin_tr.qm \ - src/qt/locale/bitcoin_cy.ts \ - src/qt/locale/bitcoin_eu_ES.qm \ - src/qt/locale/bitcoin_fr_CA.qm \ - src/qt/locale/bitcoin_ca_ES.qm \ - src/qt/locale/bitcoin_lt.qm \ - src/qt/locale/bitcoin_zh_TW.qm \ - src/qt/locale/bitcoin_hr.qm \ - src/qt/locale/bitcoin_uk.qm \ - src/qt/locale/bitcoin_hu.qm \ - src/qt/locale/bitcoin_af_ZA.qm \ - src/qt/locale/bitcoin_es_CL.qm \ - src/qt/locale/bitcoin_pt_PT.qm \ - src/qt/locale/bitcoin_gu_IN.ts \ - src/qt/locale/bitcoin_ro_RO.qm \ - src/qt/locale/bitcoin_nb.qm \ - src/qt/locale/bitcoin_el_GR.qm \ - src/qt/locale/bitcoin_ja.ts \ - src/qt/locale/bitcoin_en.qm \ - src/qt/locale/bitcoin_eo.ts \ - src/qt/locale/bitcoin_it.qm \ - src/qt/locale/bitcoin_fa.qm \ - src/qt/locale/bitcoin_es.qm \ - src/qt/locale/bitcoin_et.qm \ - src/qt/locale/bitcoin_ar.qm \ - src/qt/locale/bitcoin_nl.qm \ - src/qt/locale/bitcoin_fa_IR.qm \ - src/qt/locale/bitcoin_fi.qm \ - src/qt/locale/bitcoin_bg.qm \ - src/qt/locale/bitcoin_ru.qm \ - src/qt/res/images/about.png \ - src/qt/res/images/splash_testnet.png \ - src/qt/res/images/splash.png \ - src/qt/res/movies/update_spinner.mng \ - src/qt/res/icons/add.png \ - src/qt/res/icons/connect0_16.png \ - src/qt/res/icons/connect1_16.png \ - src/qt/res/icons/quit.png \ - src/qt/res/icons/connect2_16.png \ - src/qt/res/icons/overview.png \ - src/qt/res/icons/tx_mined.png \ - src/qt/res/icons/connect3_16.png \ - src/qt/res/icons/connect4_16.png \ - src/qt/res/icons/address-book.png \ - src/qt/res/icons/send.png \ - src/qt/res/icons/configure.png \ - src/qt/res/icons/export.png \ - src/qt/res/icons/synced.png \ - src/qt/res/icons/history.png \ - src/qt/res/icons/filesave.png \ - src/qt/res/icons/transaction2.png \ - src/qt/res/icons/editpaste.png \ - src/qt/res/icons/edit.png \ - src/qt/res/icons/lock_closed.png \ - src/qt/res/icons/editcopy.png \ - src/qt/res/icons/receive.png \ - src/qt/res/icons/transaction0.png \ - src/qt/res/icons/clock1.png \ - src/qt/res/icons/clock2.png \ - src/qt/res/icons/clock3.png \ - src/qt/res/icons/clock4.png \ - src/qt/res/icons/clock5.png \ - src/qt/res/icons/qrcode.png \ - src/qt/res/icons/toolbar_testnet.png \ - src/qt/res/icons/bitcoin.png \ - src/qt/res/icons/key.png \ - src/qt/res/icons/tx_inout.png \ - src/qt/res/icons/remove.png \ - src/qt/res/icons/toolbar.png \ - src/qt/res/icons/lock_open.png \ - src/qt/res/icons/bitcoin_testnet.png \ - src/qt/res/icons/tx_input.png \ - src/qt/res/icons/debugwindow.png \ - src/qt/res/icons/tx_output.png - c:/Qt/4.8.4/bin/rcc.exe -name bitcoin src/qt/bitcoin.qrc -o debug/qrc_bitcoin.cpp - -compiler_image_collection_make_all: build/qmake_image_collection.cpp -compiler_image_collection_clean: - -$(DEL_FILE) build/qmake_image_collection.cpp -compiler_moc_source_make_all: build/gridcoin.moc build/overviewpage.moc build/rpcconsole.moc -compiler_moc_source_clean: - -$(DEL_FILE) build/gridcoin.moc build/overviewpage.moc build/rpcconsole.moc -build/gridcoin.moc: src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/global_objects.hpp \ - src/gridcoin.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/gridcoin.cpp -o build/gridcoin.moc - -build/overviewpage.moc: src/qt/overviewpage.h \ - build/ui_overviewpage.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/optionsmodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/transactionfilterproxy.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - src/qt/overviewpage.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/overviewpage.cpp -o build/overviewpage.moc - -build/rpcconsole.moc: src/qt/rpcconsole.h \ - build/ui_rpcconsole.h \ - src/qt/clientmodel.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/guiutil.h \ - src/qt/rpcconsole.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/rpcconsole.cpp -o build/rpcconsole.moc - -compiler_uic_make_all: build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h -compiler_uic_clean: - -$(DEL_FILE) build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h -build/ui_sendcoinsdialog.h: src/qt/forms/sendcoinsdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/sendcoinsdialog.ui -o build/ui_sendcoinsdialog.h - -build/ui_addressbookpage.h: src/qt/forms/addressbookpage.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/addressbookpage.ui -o build/ui_addressbookpage.h - -build/ui_signverifymessagedialog.h: src/qt/forms/signverifymessagedialog.ui \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/signverifymessagedialog.ui -o build/ui_signverifymessagedialog.h - -build/ui_aboutdialog.h: src/qt/forms/aboutdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/aboutdialog.ui -o build/ui_aboutdialog.h - -build/ui_miningdialog.h: src/qt/forms/miningdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/miningdialog.ui -o build/ui_miningdialog.h - -build/ui_editaddressdialog.h: src/qt/forms/editaddressdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/editaddressdialog.ui -o build/ui_editaddressdialog.h - -build/ui_transactiondescdialog.h: src/qt/forms/transactiondescdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/transactiondescdialog.ui -o build/ui_transactiondescdialog.h - -build/ui_overviewpage.h: src/qt/forms/overviewpage.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/overviewpage.ui -o build/ui_overviewpage.h - -build/ui_sendcoinsentry.h: src/qt/forms/sendcoinsentry.ui \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/sendcoinsentry.ui -o build/ui_sendcoinsentry.h - -build/ui_askpassphrasedialog.h: src/qt/forms/askpassphrasedialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/askpassphrasedialog.ui -o build/ui_askpassphrasedialog.h - -build/ui_rpcconsole.h: src/qt/forms/rpcconsole.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/rpcconsole.ui -o build/ui_rpcconsole.h - -build/ui_optionsdialog.h: src/qt/forms/optionsdialog.ui \ - src/qt/bitcoinamountfield.h \ - src/qt/qvaluecombobox.h \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h - -compiler_yacc_decl_make_all: -compiler_yacc_decl_clean: -compiler_yacc_impl_make_all: -compiler_yacc_impl_clean: -compiler_lex_make_all: -compiler_lex_clean: -compiler_clean: compiler_TSQM_clean compiler_moc_header_clean compiler_rcc_clean compiler_moc_source_clean compiler_uic_clean - - - -####### Compile - -build/bitcoin.o: src/qt/bitcoin.cpp src/qt/bitcoingui.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/qt/paymentserver.h \ - src/qt/splashscreen.h \ - src/qt/macdockiconhandler.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoin.o src/qt/bitcoin.cpp - -build/bitcoingui.o: src/qt/bitcoingui.cpp src/qt/bitcoingui.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - src/qt/transactiontablemodel.h \ - src/qt/optionsdialog.h \ - src/qt/aboutdialog.h \ - src/qt/miningdialog.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/walletframe.h \ - src/qt/optionsmodel.h \ - src/qt/transactiondescdialog.h \ - src/qt/bitcoinunits.h \ - src/qt/guiconstants.h \ - src/qt/notificator.h \ - src/qt/guiutil.h \ - src/qt/rpcconsole.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/init.h \ - src/qt/macdockiconhandler.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoingui.o src/qt/bitcoingui.cpp - -build/transactiontablemodel.o: src/qt/transactiontablemodel.cpp src/qt/transactiontablemodel.h \ - src/qt/guiutil.h \ - src/qt/transactionrecord.h \ - src/uint256.h \ - src/qt/guiconstants.h \ - src/qt/transactiondesc.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/bitcoinunits.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiontablemodel.o src/qt/transactiontablemodel.cpp - -build/addresstablemodel.o: src/qt/addresstablemodel.cpp src/qt/addresstablemodel.h \ - src/qt/guiutil.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addresstablemodel.o src/qt/addresstablemodel.cpp - -build/optionsdialog.o: src/qt/optionsdialog.cpp src/qt/optionsdialog.h \ - build/ui_optionsdialog.h \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/qvaluecombobox.h \ - src/qt/bitcoinunits.h \ - src/qt/monitoreddatamapper.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/optionsmodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/optionsdialog.o src/qt/optionsdialog.cpp - -build/sendcoinsdialog.o: src/qt/sendcoinsdialog.cpp src/qt/sendcoinsdialog.h \ - build/ui_sendcoinsdialog.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/addressbookpage.h \ - src/qt/optionsmodel.h \ - src/qt/sendcoinsentry.h \ - src/qt/guiutil.h \ - src/qt/askpassphrasedialog.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sendcoinsdialog.o src/qt/sendcoinsdialog.cpp - -build/addressbookpage.o: src/qt/addressbookpage.cpp src/qt/addressbookpage.h \ - build/ui_addressbookpage.h \ - src/qt/addresstablemodel.h \ - src/qt/optionsmodel.h \ - src/qt/bitcoingui.h \ - src/qt/editaddressdialog.h \ - src/qt/csvmodelwriter.h \ - src/qt/guiutil.h \ - src/qt/qrcodedialog.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addressbookpage.o src/qt/addressbookpage.cpp - -build/signverifymessagedialog.o: src/qt/signverifymessagedialog.cpp src/qt/signverifymessagedialog.h \ - build/ui_signverifymessagedialog.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/addressbookpage.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/qt/guiutil.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/qt/optionsmodel.h \ - src/qt/walletmodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/signverifymessagedialog.o src/qt/signverifymessagedialog.cpp - -build/aboutdialog.o: src/qt/aboutdialog.cpp src/qt/aboutdialog.h \ - build/ui_aboutdialog.h \ - src/qt/clientmodel.h \ - src/clientversion.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/aboutdialog.o src/qt/aboutdialog.cpp - -build/miningdialog.o: src/qt/miningdialog.cpp src/qt/miningdialog.h \ - build/ui_miningdialog.h \ - src/qt/clientmodel.h \ - src/clientversion.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/miningdialog.o src/qt/miningdialog.cpp - -build/genesisgenerator.o: src/qt/genesisgenerator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/genesisgenerator.o src/qt/genesisgenerator.cpp - -build/gridcoin.o: src/gridcoin.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/global_objects.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/gridcoin.o src/gridcoin.cpp - -build/editaddressdialog.o: src/qt/editaddressdialog.cpp src/qt/editaddressdialog.h \ - build/ui_editaddressdialog.h \ - src/qt/addresstablemodel.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/editaddressdialog.o src/qt/editaddressdialog.cpp - -build/bitcoinaddressvalidator.o: src/qt/bitcoinaddressvalidator.cpp src/qt/bitcoinaddressvalidator.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinaddressvalidator.o src/qt/bitcoinaddressvalidator.cpp - -build/alert.o: src/alert.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/sync.h \ - src/threadsafety.h \ - src/bloom.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/alert.o src/alert.cpp - -build/version.o: src/version.cpp src/version.h \ - src/clientversion.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/version.o src/version.cpp - -build/sync.o: src/sync.cpp src/sync.h \ - src/threadsafety.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sync.o src/sync.cpp - -build/util.o: src/util.cpp src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/util.o src/util.cpp - -build/hash.o: src/hash.cpp src/hash.h \ - src/uint256.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/hash.o src/hash.cpp - -build/netbase.o: src/netbase.cpp src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/util.h \ - src/uint256.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/netbase.o src/netbase.cpp - -build/key.o: src/key.cpp src/key.h \ - src/allocators.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/key.o src/key.cpp - -build/script.o: src/script.cpp src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h \ - src/sync.h \ - src/threadsafety.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/script.o src/script.cpp - -build/main.o: src/main.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp - -build/init.o: src/init.cpp src/txdb.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/leveldb.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/init.o src/init.cpp - -build/net.o: src/net.cpp src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/net.o src/net.cpp - -build/bloom.o: src/bloom.cpp src/bloom.h \ - src/uint256.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bloom.o src/bloom.cpp - -build/checkpoints.o: src/checkpoints.cpp src/checkpoints.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/checkpoints.o src/checkpoints.cpp - -build/addrman.o: src/addrman.cpp src/addrman.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/protocol.h \ - src/uint256.h \ - src/util.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addrman.o src/addrman.cpp - -build/db.o: src/db.cpp src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/db.o src/db.cpp - -build/walletdb.o: src/walletdb.cpp src/walletdb.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/base58.h \ - src/wallet.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletdb.o src/walletdb.cpp - -build/clientmodel.o: src/qt/clientmodel.cpp src/qt/clientmodel.h \ - src/qt/guiconstants.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/checkpoints.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/clientmodel.o src/qt/clientmodel.cpp - -build/guiutil.o: src/qt/guiutil.cpp src/qt/guiutil.h \ - src/qt/bitcoinaddressvalidator.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/guiutil.o src/qt/guiutil.cpp - -build/transactionrecord.o: src/qt/transactionrecord.cpp src/qt/transactionrecord.h \ - src/uint256.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionrecord.o src/qt/transactionrecord.cpp - -build/optionsmodel.o: src/qt/optionsmodel.cpp src/qt/optionsmodel.h \ - src/qt/bitcoinunits.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/optionsmodel.o src/qt/optionsmodel.cpp - -build/monitoreddatamapper.o: src/qt/monitoreddatamapper.cpp src/qt/monitoreddatamapper.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/monitoreddatamapper.o src/qt/monitoreddatamapper.cpp - -build/transactiondesc.o: src/qt/transactiondesc.cpp src/qt/transactiondesc.h \ - src/qt/guiutil.h \ - src/qt/bitcoinunits.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiondesc.o src/qt/transactiondesc.cpp - -build/transactiondescdialog.o: src/qt/transactiondescdialog.cpp src/qt/transactiondescdialog.h \ - build/ui_transactiondescdialog.h \ - src/qt/transactiontablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiondescdialog.o src/qt/transactiondescdialog.cpp - -build/bitcoinstrings.o: src/qt/bitcoinstrings.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinstrings.o src/qt/bitcoinstrings.cpp - -build/bitcoinamountfield.o: src/qt/bitcoinamountfield.cpp src/qt/bitcoinamountfield.h \ - src/qt/qvaluecombobox.h \ - src/qt/bitcoinunits.h \ - src/qt/guiconstants.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinamountfield.o src/qt/bitcoinamountfield.cpp - -build/wallet.o: src/wallet.cpp src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/wallet.o src/wallet.cpp - -build/keystore.o: src/keystore.cpp src/keystore.h \ - src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h \ - src/sync.h \ - src/threadsafety.h \ - src/script.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/keystore.o src/keystore.cpp - -build/transactionfilterproxy.o: src/qt/transactionfilterproxy.cpp src/qt/transactionfilterproxy.h \ - src/qt/transactiontablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionfilterproxy.o src/qt/transactionfilterproxy.cpp - -build/transactionview.o: src/qt/transactionview.cpp src/qt/transactionview.h \ - src/qt/transactionfilterproxy.h \ - src/qt/transactionrecord.h \ - src/uint256.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/bitcoinunits.h \ - src/qt/csvmodelwriter.h \ - src/qt/transactiondescdialog.h \ - src/qt/editaddressdialog.h \ - src/qt/optionsmodel.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionview.o src/qt/transactionview.cpp - -build/walletmodel.o: src/qt/walletmodel.cpp src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/guiconstants.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletmodel.o src/qt/walletmodel.cpp - -build/walletview.o: src/qt/walletview.cpp src/qt/walletview.h \ - src/qt/bitcoingui.h \ - src/qt/transactiontablemodel.h \ - src/qt/addressbookpage.h \ - src/qt/sendcoinsdialog.h \ - src/qt/signverifymessagedialog.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/transactionview.h \ - src/qt/overviewpage.h \ - src/qt/askpassphrasedialog.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletview.o src/qt/walletview.cpp - -build/walletstack.o: src/qt/walletstack.cpp src/qt/walletstack.h \ - src/qt/walletview.h \ - src/qt/bitcoingui.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletstack.o src/qt/walletstack.cpp - -build/walletframe.o: src/qt/walletframe.cpp src/qt/walletframe.h \ - src/qt/bitcoingui.h \ - src/qt/walletstack.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletframe.o src/qt/walletframe.cpp - -build/bitcoinrpc.o: src/bitcoinrpc.cpp src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinrpc.o src/bitcoinrpc.cpp - -build/rpcdump.o: src/rpcdump.cpp src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcdump.o src/rpcdump.cpp - -build/rpcnet.o: src/rpcnet.cpp src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/protocol.h \ - src/uint256.h \ - src/addrman.h \ - src/util.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h \ - src/bloom.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcnet.o src/rpcnet.cpp - -build/rpcmining.o: src/rpcmining.cpp src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/db.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcmining.o src/rpcmining.cpp - -build/rpcwallet.o: src/rpcwallet.cpp src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/init.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcwallet.o src/rpcwallet.cpp - -build/rpcblockchain.o: src/rpcblockchain.cpp src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcblockchain.o src/rpcblockchain.cpp - -build/rpcrawtransaction.o: src/rpcrawtransaction.cpp src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/db.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcrawtransaction.o src/rpcrawtransaction.cpp - -build/overviewpage.o: src/qt/overviewpage.cpp src/qt/overviewpage.h \ - build/ui_overviewpage.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/optionsmodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/transactionfilterproxy.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - build/overviewpage.moc - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/overviewpage.o src/qt/overviewpage.cpp - -build/csvmodelwriter.o: src/qt/csvmodelwriter.cpp src/qt/csvmodelwriter.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/csvmodelwriter.o src/qt/csvmodelwriter.cpp - -build/crypter.o: src/crypter.cpp src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/crypter.o src/crypter.cpp - -build/sendcoinsentry.o: src/qt/sendcoinsentry.cpp src/qt/sendcoinsentry.h \ - build/ui_sendcoinsentry.h \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/guiutil.h \ - src/qt/bitcoinunits.h \ - src/qt/addressbookpage.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sendcoinsentry.o src/qt/sendcoinsentry.cpp - -build/qvalidatedlineedit.o: src/qt/qvalidatedlineedit.cpp src/qt/qvalidatedlineedit.h \ - src/qt/guiconstants.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qvalidatedlineedit.o src/qt/qvalidatedlineedit.cpp - -build/bitcoinunits.o: src/qt/bitcoinunits.cpp src/qt/bitcoinunits.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinunits.o src/qt/bitcoinunits.cpp - -build/qvaluecombobox.o: src/qt/qvaluecombobox.cpp src/qt/qvaluecombobox.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qvaluecombobox.o src/qt/qvaluecombobox.cpp - -build/askpassphrasedialog.o: src/qt/askpassphrasedialog.cpp src/qt/askpassphrasedialog.h \ - build/ui_askpassphrasedialog.h \ - src/qt/guiconstants.h \ - src/qt/walletmodel.h \ - src/allocators.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/askpassphrasedialog.o src/qt/askpassphrasedialog.cpp - -build/protocol.o: src/protocol.cpp src/protocol.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/netbase.h \ - src/compat.h \ - src/uint256.h \ - src/util.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/protocol.o src/protocol.cpp - -build/notificator.o: src/qt/notificator.cpp src/qt/notificator.h \ - src/qt/macnotificationhandler.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/notificator.o src/qt/notificator.cpp - -build/paymentserver.o: src/qt/paymentserver.cpp src/qt/paymentserver.h \ - src/qt/guiconstants.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/paymentserver.o src/qt/paymentserver.cpp - -build/rpcconsole.o: src/qt/rpcconsole.cpp src/qt/rpcconsole.h \ - build/ui_rpcconsole.h \ - src/qt/clientmodel.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/guiutil.h \ - build/rpcconsole.moc - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcconsole.o src/qt/rpcconsole.cpp - -build/scrypt.o: src/scrypt.cpp src/scrypt.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/scrypt.o src/scrypt.cpp - -build/noui.o: src/noui.cpp src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/noui.o src/noui.cpp - -build/leveldb.o: src/leveldb.cpp src/leveldb.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/leveldb.o src/leveldb.cpp - -build/txdb.o: src/txdb.cpp src/txdb.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/leveldb.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/txdb.o src/txdb.cpp - -build/splashscreen.o: src/qt/splashscreen.cpp src/qt/splashscreen.h \ - src/clientversion.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/splashscreen.o src/qt/splashscreen.cpp - -build/moc_bitcoingui.o: build/moc_bitcoingui.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoingui.o build/moc_bitcoingui.cpp - -build/moc_transactiontablemodel.o: build/moc_transactiontablemodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiontablemodel.o build/moc_transactiontablemodel.cpp - -build/moc_addresstablemodel.o: build/moc_addresstablemodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_addresstablemodel.o build/moc_addresstablemodel.cpp - -build/moc_optionsdialog.o: build/moc_optionsdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_optionsdialog.o build/moc_optionsdialog.cpp - -build/moc_sendcoinsdialog.o: build/moc_sendcoinsdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_sendcoinsdialog.o build/moc_sendcoinsdialog.cpp - -build/moc_addressbookpage.o: build/moc_addressbookpage.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_addressbookpage.o build/moc_addressbookpage.cpp - -build/moc_signverifymessagedialog.o: build/moc_signverifymessagedialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_signverifymessagedialog.o build/moc_signverifymessagedialog.cpp - -build/moc_aboutdialog.o: build/moc_aboutdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_aboutdialog.o build/moc_aboutdialog.cpp - -build/moc_miningdialog.o: build/moc_miningdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_miningdialog.o build/moc_miningdialog.cpp - -build/moc_editaddressdialog.o: build/moc_editaddressdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_editaddressdialog.o build/moc_editaddressdialog.cpp - -build/moc_bitcoinaddressvalidator.o: build/moc_bitcoinaddressvalidator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinaddressvalidator.o build/moc_bitcoinaddressvalidator.cpp - -build/moc_clientmodel.o: build/moc_clientmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_clientmodel.o build/moc_clientmodel.cpp - -build/moc_guiutil.o: build/moc_guiutil.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_guiutil.o build/moc_guiutil.cpp - -build/moc_optionsmodel.o: build/moc_optionsmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_optionsmodel.o build/moc_optionsmodel.cpp - -build/moc_monitoreddatamapper.o: build/moc_monitoreddatamapper.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_monitoreddatamapper.o build/moc_monitoreddatamapper.cpp - -build/moc_transactiondesc.o: build/moc_transactiondesc.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiondesc.o build/moc_transactiondesc.cpp - -build/moc_transactiondescdialog.o: build/moc_transactiondescdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiondescdialog.o build/moc_transactiondescdialog.cpp - -build/moc_bitcoinamountfield.o: build/moc_bitcoinamountfield.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinamountfield.o build/moc_bitcoinamountfield.cpp - -build/moc_transactionfilterproxy.o: build/moc_transactionfilterproxy.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactionfilterproxy.o build/moc_transactionfilterproxy.cpp - -build/moc_transactionview.o: build/moc_transactionview.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactionview.o build/moc_transactionview.cpp - -build/moc_walletmodel.o: build/moc_walletmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletmodel.o build/moc_walletmodel.cpp - -build/moc_walletview.o: build/moc_walletview.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletview.o build/moc_walletview.cpp - -build/moc_walletstack.o: build/moc_walletstack.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletstack.o build/moc_walletstack.cpp - -build/moc_walletframe.o: build/moc_walletframe.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletframe.o build/moc_walletframe.cpp - -build/moc_overviewpage.o: build/moc_overviewpage.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_overviewpage.o build/moc_overviewpage.cpp - -build/moc_csvmodelwriter.o: build/moc_csvmodelwriter.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_csvmodelwriter.o build/moc_csvmodelwriter.cpp - -build/moc_sendcoinsentry.o: build/moc_sendcoinsentry.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_sendcoinsentry.o build/moc_sendcoinsentry.cpp - -build/moc_qvalidatedlineedit.o: build/moc_qvalidatedlineedit.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qvalidatedlineedit.o build/moc_qvalidatedlineedit.cpp - -build/moc_bitcoinunits.o: build/moc_bitcoinunits.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinunits.o build/moc_bitcoinunits.cpp - -build/moc_qvaluecombobox.o: build/moc_qvaluecombobox.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qvaluecombobox.o build/moc_qvaluecombobox.cpp - -build/moc_askpassphrasedialog.o: build/moc_askpassphrasedialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_askpassphrasedialog.o build/moc_askpassphrasedialog.cpp - -build/moc_notificator.o: build/moc_notificator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_notificator.o build/moc_notificator.cpp - -build/moc_paymentserver.o: build/moc_paymentserver.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_paymentserver.o build/moc_paymentserver.cpp - -build/moc_rpcconsole.o: build/moc_rpcconsole.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_rpcconsole.o build/moc_rpcconsole.cpp - -build/moc_macnotificationhandler.o: build/moc_macnotificationhandler.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_macnotificationhandler.o build/moc_macnotificationhandler.cpp - -build/moc_splashscreen.o: build/moc_splashscreen.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_splashscreen.o build/moc_splashscreen.cpp - -build/qrc_bitcoin.o: debug/qrc_bitcoin.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qrc_bitcoin.o debug/qrc_bitcoin.cpp - -####### Install - -install: FORCE - -uninstall: FORCE - -FORCE: - diff --git a/Makefile.Release b/Makefile.Release deleted file mode 100644 index 9f61667..0000000 --- a/Makefile.Release +++ /dev/null @@ -1,2494 +0,0 @@ -############################################################################# -# Makefile for building: gridcoin-qt -# Generated by qmake (2.01a) (Qt 4.8.4) on: Wed Jan 1 17:49:56 2014 -# Project: bitcoin-qt.pro -# Template: app -############################################################################# - -####### Compiler, tools and options - -CC = gcc -CXX = g++ -DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -CFLAGS = -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -O2 -Wall -Wextra $(DEFINES) -CXXFLAGS = -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector $(DEFINES) -INCPATH = -I'../Qt/4.8.4/include/QtCore' -I'../Qt/4.8.4/include/QtNetwork' -I'../Qt/4.8.4/include/QtGui' -I'../Qt/4.8.4/include' -I'src' -I'src/json' -I'src/qt' -I'tmp/moc/release_shared' -I'libs/miniupnpc-1.8' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_54_0' -I'libs/db-4.8.30.NC/build_unix' -I'libs/openssl-1.0.1e/include' -I'../Qt/4.8.4/include/ActiveQt' -I'build' -I'build' -I'../Qt/4.8.4/mkspecs/default' -LINK = g++ -LFLAGS = -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -LIBS = -L'c:/Qt/4.8.4/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Llibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/Gridcoin-master/src/leveldb/libleveldb.a C:/Gridcoin-master/src/leveldb/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build_unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lboost_system-mgw46-mt-1_54 -lboost_filesystem-mgw46-mt-1_54 -lboost_program_options-mgw46-mt-1_54 -lboost_thread-mgw46-mt-1_54 -lboost_chrono-mgw46-mt-1_54 -lQAxContainer -lQtNetwork4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGui4 -lQtCore4 -QMAKE = c:/qt/4.8.4/bin/qmake.exe -IDC = c:/Qt/4.8.4/bin/idc.exe -IDL = midl -ZIP = zip -r -9 -DEF_FILE = -RES_FILE = build/bitcoin-qt_res.o -COPY = cp -SED = -COPY_FILE = $(COPY) -COPY_DIR = cp -r -DEL_FILE = rm -DEL_DIR = rmdir -MOVE = mv -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -INSTALL_FILE = $(COPY_FILE) -INSTALL_PROGRAM = $(COPY_FILE) -INSTALL_DIR = $(COPY_DIR) - -####### Output directory - -OBJECTS_DIR = build/ - -####### Files - -SOURCES = src/qt/bitcoin.cpp \ - src/qt/bitcoingui.cpp \ - src/qt/transactiontablemodel.cpp \ - src/qt/addresstablemodel.cpp \ - src/qt/optionsdialog.cpp \ - src/qt/sendcoinsdialog.cpp \ - src/qt/addressbookpage.cpp \ - src/qt/signverifymessagedialog.cpp \ - src/qt/aboutdialog.cpp \ - src/qt/miningdialog.cpp \ - src/qt/genesisgenerator.cpp \ - src/gridcoin.cpp \ - src/qt/editaddressdialog.cpp \ - src/qt/bitcoinaddressvalidator.cpp \ - src/alert.cpp \ - src/version.cpp \ - src/sync.cpp \ - src/util.cpp \ - src/hash.cpp \ - src/netbase.cpp \ - src/key.cpp \ - src/script.cpp \ - src/main.cpp \ - src/init.cpp \ - src/net.cpp \ - src/bloom.cpp \ - src/checkpoints.cpp \ - src/addrman.cpp \ - src/db.cpp \ - src/walletdb.cpp \ - src/qt/clientmodel.cpp \ - src/qt/guiutil.cpp \ - src/qt/transactionrecord.cpp \ - src/qt/optionsmodel.cpp \ - src/qt/monitoreddatamapper.cpp \ - src/qt/transactiondesc.cpp \ - src/qt/transactiondescdialog.cpp \ - src/qt/bitcoinstrings.cpp \ - src/qt/bitcoinamountfield.cpp \ - src/wallet.cpp \ - src/keystore.cpp \ - src/qt/transactionfilterproxy.cpp \ - src/qt/transactionview.cpp \ - src/qt/walletmodel.cpp \ - src/qt/walletview.cpp \ - src/qt/walletstack.cpp \ - src/qt/walletframe.cpp \ - src/bitcoinrpc.cpp \ - src/rpcdump.cpp \ - src/rpcnet.cpp \ - src/rpcmining.cpp \ - src/rpcwallet.cpp \ - src/rpcblockchain.cpp \ - src/rpcrawtransaction.cpp \ - src/qt/overviewpage.cpp \ - src/qt/csvmodelwriter.cpp \ - src/crypter.cpp \ - src/qt/sendcoinsentry.cpp \ - src/qt/qvalidatedlineedit.cpp \ - src/qt/bitcoinunits.cpp \ - src/qt/qvaluecombobox.cpp \ - src/qt/askpassphrasedialog.cpp \ - src/protocol.cpp \ - src/qt/notificator.cpp \ - src/qt/paymentserver.cpp \ - src/qt/rpcconsole.cpp \ - src/scrypt.cpp \ - src/noui.cpp \ - src/leveldb.cpp \ - src/txdb.cpp \ - src/qt/splashscreen.cpp build/moc_bitcoingui.cpp \ - build/moc_transactiontablemodel.cpp \ - build/moc_addresstablemodel.cpp \ - build/moc_optionsdialog.cpp \ - build/moc_sendcoinsdialog.cpp \ - build/moc_addressbookpage.cpp \ - build/moc_signverifymessagedialog.cpp \ - build/moc_aboutdialog.cpp \ - build/moc_miningdialog.cpp \ - build/moc_editaddressdialog.cpp \ - build/moc_bitcoinaddressvalidator.cpp \ - build/moc_clientmodel.cpp \ - build/moc_guiutil.cpp \ - build/moc_optionsmodel.cpp \ - build/moc_monitoreddatamapper.cpp \ - build/moc_transactiondesc.cpp \ - build/moc_transactiondescdialog.cpp \ - build/moc_bitcoinamountfield.cpp \ - build/moc_transactionfilterproxy.cpp \ - build/moc_transactionview.cpp \ - build/moc_walletmodel.cpp \ - build/moc_walletview.cpp \ - build/moc_walletstack.cpp \ - build/moc_walletframe.cpp \ - build/moc_overviewpage.cpp \ - build/moc_csvmodelwriter.cpp \ - build/moc_sendcoinsentry.cpp \ - build/moc_qvalidatedlineedit.cpp \ - build/moc_bitcoinunits.cpp \ - build/moc_qvaluecombobox.cpp \ - build/moc_askpassphrasedialog.cpp \ - build/moc_notificator.cpp \ - build/moc_paymentserver.cpp \ - build/moc_rpcconsole.cpp \ - build/moc_macnotificationhandler.cpp \ - build/moc_splashscreen.cpp \ - release/qrc_bitcoin.cpp -OBJECTS = build/bitcoin.o \ - build/bitcoingui.o \ - build/transactiontablemodel.o \ - build/addresstablemodel.o \ - build/optionsdialog.o \ - build/sendcoinsdialog.o \ - build/addressbookpage.o \ - build/signverifymessagedialog.o \ - build/aboutdialog.o \ - build/miningdialog.o \ - build/genesisgenerator.o \ - build/gridcoin.o \ - build/editaddressdialog.o \ - build/bitcoinaddressvalidator.o \ - build/alert.o \ - build/version.o \ - build/sync.o \ - build/util.o \ - build/hash.o \ - build/netbase.o \ - build/key.o \ - build/script.o \ - build/main.o \ - build/init.o \ - build/net.o \ - build/bloom.o \ - build/checkpoints.o \ - build/addrman.o \ - build/db.o \ - build/walletdb.o \ - build/clientmodel.o \ - build/guiutil.o \ - build/transactionrecord.o \ - build/optionsmodel.o \ - build/monitoreddatamapper.o \ - build/transactiondesc.o \ - build/transactiondescdialog.o \ - build/bitcoinstrings.o \ - build/bitcoinamountfield.o \ - build/wallet.o \ - build/keystore.o \ - build/transactionfilterproxy.o \ - build/transactionview.o \ - build/walletmodel.o \ - build/walletview.o \ - build/walletstack.o \ - build/walletframe.o \ - build/bitcoinrpc.o \ - build/rpcdump.o \ - build/rpcnet.o \ - build/rpcmining.o \ - build/rpcwallet.o \ - build/rpcblockchain.o \ - build/rpcrawtransaction.o \ - build/overviewpage.o \ - build/csvmodelwriter.o \ - build/crypter.o \ - build/sendcoinsentry.o \ - build/qvalidatedlineedit.o \ - build/bitcoinunits.o \ - build/qvaluecombobox.o \ - build/askpassphrasedialog.o \ - build/protocol.o \ - build/notificator.o \ - build/paymentserver.o \ - build/rpcconsole.o \ - build/scrypt.o \ - build/noui.o \ - build/leveldb.o \ - build/txdb.o \ - build/splashscreen.o \ - build/moc_bitcoingui.o \ - build/moc_transactiontablemodel.o \ - build/moc_addresstablemodel.o \ - build/moc_optionsdialog.o \ - build/moc_sendcoinsdialog.o \ - build/moc_addressbookpage.o \ - build/moc_signverifymessagedialog.o \ - build/moc_aboutdialog.o \ - build/moc_miningdialog.o \ - build/moc_editaddressdialog.o \ - build/moc_bitcoinaddressvalidator.o \ - build/moc_clientmodel.o \ - build/moc_guiutil.o \ - build/moc_optionsmodel.o \ - build/moc_monitoreddatamapper.o \ - build/moc_transactiondesc.o \ - build/moc_transactiondescdialog.o \ - build/moc_bitcoinamountfield.o \ - build/moc_transactionfilterproxy.o \ - build/moc_transactionview.o \ - build/moc_walletmodel.o \ - build/moc_walletview.o \ - build/moc_walletstack.o \ - build/moc_walletframe.o \ - build/moc_overviewpage.o \ - build/moc_csvmodelwriter.o \ - build/moc_sendcoinsentry.o \ - build/moc_qvalidatedlineedit.o \ - build/moc_bitcoinunits.o \ - build/moc_qvaluecombobox.o \ - build/moc_askpassphrasedialog.o \ - build/moc_notificator.o \ - build/moc_paymentserver.o \ - build/moc_rpcconsole.o \ - build/moc_macnotificationhandler.o \ - build/moc_splashscreen.o \ - build/qrc_bitcoin.o -DIST = -QMAKE_TARGET = gridcoin-qt -DESTDIR = release/ #avoid trailing-slash linebreak -TARGET = gridcoin-qt.exe -DESTDIR_TARGET = release/gridcoin-qt.exe - -####### Implicit rules - -.SUFFIXES: .cpp .cc .cxx .c - -.cpp.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.cc.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.cxx.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< - -.c.o: - $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< - -####### Build rules - -first: all -all: Makefile.Release $(DESTDIR_TARGET) - -$(DESTDIR_TARGET): c:/Gridcoin-master/src/leveldb/libleveldb.a build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h $(OBJECTS) build/bitcoin-qt_res.o - $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.gridcoin-qt.Release $(LIBS) - -build/bitcoin-qt_res.o: src/qt/res/bitcoin-qt.rc - windres -i src/qt/res/bitcoin-qt.rc -o build/bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES) - -qmake: FORCE - @$(QMAKE) BOOST_INCLUDE_PATH=libs/boost_1_54_0 BOOST_LIB_PATH=libs/boost_1_54_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_54 OPENSSL_INCLUDE_PATH=libs/openssl-1.0.1e/include OPENSSL_LIB_PATH=libs/openssl-1.0.1e BDB_INCLUDE_PATH=libs/db-4.8.30.NC/build_unix BDB_LIB_PATH=libs/db-4.8.30.NC/build_unix MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.8 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.8 "QMAKE_CXXFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" "QMAKE_CFLAGS=-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing" -o Makefile.Release bitcoin-qt.pro - -dist: - $(ZIP) gridcoin-qt.zip $(SOURCES) $(DIST) bitcoin-qt.pro ../Qt/4.8.4/mkspecs/features/device_config.prf ../Qt/4.8.4/mkspecs/qconfig.pri ../Qt/4.8.4/mkspecs/modules/qt_webkit_version.pri ../Qt/4.8.4/mkspecs/features/qt_functions.prf ../Qt/4.8.4/mkspecs/features/qt_config.prf ../Qt/4.8.4/mkspecs/win32-g++/qmake.conf ../Qt/4.8.4/mkspecs/features/exclusive_builds.prf ../Qt/4.8.4/mkspecs/features/default_pre.prf ../Qt/4.8.4/mkspecs/features/win32/default_pre.prf ../Qt/4.8.4/mkspecs/features/release.prf ../Qt/4.8.4/mkspecs/features/debug_and_release.prf ../Qt/4.8.4/mkspecs/features/default_post.prf ../Qt/4.8.4/mkspecs/features/win32/default_post.prf ../Qt/4.8.4/mkspecs/features/build_pass.prf ../Qt/4.8.4/mkspecs/features/win32/qaxcontainer.prf ../Qt/4.8.4/mkspecs/features/win32/thread.prf ../Qt/4.8.4/mkspecs/features/win32/rtti.prf ../Qt/4.8.4/mkspecs/features/win32/exceptions.prf ../Qt/4.8.4/mkspecs/features/win32/stl.prf ../Qt/4.8.4/mkspecs/features/shared.prf ../Qt/4.8.4/mkspecs/features/warn_on.prf ../Qt/4.8.4/mkspecs/features/qt.prf ../Qt/4.8.4/mkspecs/features/moc.prf ../Qt/4.8.4/mkspecs/features/win32/windows.prf ../Qt/4.8.4/mkspecs/features/resources.prf ../Qt/4.8.4/mkspecs/features/uic.prf ../Qt/4.8.4/mkspecs/features/yacc.prf ../Qt/4.8.4/mkspecs/features/lex.prf c:\Qt\4.8.4\lib\qtmain.prl c:\Qt\4.8.4\lib\QAxContainer.prl src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gu_IN.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gu_IN.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts TRANSLATIONS TYPELIBS TYPELIBS HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES - -clean: compiler_clean - -$(DEL_FILE) build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/miningdialog.o build/genesisgenerator.o build/gridcoin.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/walletview.o build/walletstack.o build/walletframe.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/paymentserver.o build/rpcconsole.o build/scrypt.o build/noui.o build/leveldb.o build/txdb.o build/splashscreen.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_miningdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o - -$(DEL_FILE) build/moc_walletview.o build/moc_walletstack.o build/moc_walletframe.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_bitcoinunits.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_paymentserver.o build/moc_rpcconsole.o build/moc_macnotificationhandler.o build/moc_splashscreen.o build/qrc_bitcoin.o - -$(DEL_FILE) C:/Gridcoin-master/src/leveldb/libleveldb.a; cd C:/Gridcoin-master/src/leveldb ; $(MAKE) clean - -$(DEL_FILE) build/bitcoin-qt_res.o - -distclean: clean - -$(DEL_FILE) $(DESTDIR_TARGET) - -$(DEL_FILE) Makefile.Release - -C:/Gridcoin-master/src/leveldb/libleveldb.a: FORCE - cd C:/Gridcoin-master/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT="-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && ranlib C:/Gridcoin-master/src/leveldb/libleveldb.a && ranlib C:/Gridcoin-master/src/leveldb/libmemenv.a - -check: first - -mocclean: compiler_moc_header_clean compiler_moc_source_clean - -mocables: compiler_moc_header_make_all compiler_moc_source_make_all - -compiler_TSQM_make_all: src/qt/locale/bitcoin_af_ZA.qm src/qt/locale/bitcoin_ar.qm src/qt/locale/bitcoin_bg.qm src/qt/locale/bitcoin_bs.qm src/qt/locale/bitcoin_ca.qm src/qt/locale/bitcoin_ca_ES.qm src/qt/locale/bitcoin_cs.qm src/qt/locale/bitcoin_cy.qm src/qt/locale/bitcoin_da.qm src/qt/locale/bitcoin_de.qm src/qt/locale/bitcoin_el_GR.qm src/qt/locale/bitcoin_en.qm src/qt/locale/bitcoin_eo.qm src/qt/locale/bitcoin_es.qm src/qt/locale/bitcoin_es_CL.qm src/qt/locale/bitcoin_et.qm src/qt/locale/bitcoin_eu_ES.qm src/qt/locale/bitcoin_fa.qm src/qt/locale/bitcoin_fa_IR.qm src/qt/locale/bitcoin_fi.qm src/qt/locale/bitcoin_fr.qm src/qt/locale/bitcoin_fr_CA.qm src/qt/locale/bitcoin_gu_IN.qm src/qt/locale/bitcoin_he.qm src/qt/locale/bitcoin_hi_IN.qm src/qt/locale/bitcoin_hr.qm src/qt/locale/bitcoin_hu.qm src/qt/locale/bitcoin_it.qm src/qt/locale/bitcoin_ja.qm src/qt/locale/bitcoin_la.qm src/qt/locale/bitcoin_lt.qm src/qt/locale/bitcoin_lv_LV.qm src/qt/locale/bitcoin_nb.qm src/qt/locale/bitcoin_nl.qm src/qt/locale/bitcoin_pl.qm src/qt/locale/bitcoin_pt_BR.qm src/qt/locale/bitcoin_pt_PT.qm src/qt/locale/bitcoin_ro_RO.qm src/qt/locale/bitcoin_ru.qm src/qt/locale/bitcoin_sk.qm src/qt/locale/bitcoin_sr.qm src/qt/locale/bitcoin_sv.qm src/qt/locale/bitcoin_th_TH.qm src/qt/locale/bitcoin_tr.qm src/qt/locale/bitcoin_uk.qm src/qt/locale/bitcoin_zh_CN.qm src/qt/locale/bitcoin_zh_TW.qm -compiler_TSQM_clean: - -$(DEL_FILE) src/qt/locale/bitcoin_af_ZA.qm src/qt/locale/bitcoin_ar.qm src/qt/locale/bitcoin_bg.qm src/qt/locale/bitcoin_bs.qm src/qt/locale/bitcoin_ca.qm src/qt/locale/bitcoin_ca_ES.qm src/qt/locale/bitcoin_cs.qm src/qt/locale/bitcoin_cy.qm src/qt/locale/bitcoin_da.qm src/qt/locale/bitcoin_de.qm src/qt/locale/bitcoin_el_GR.qm src/qt/locale/bitcoin_en.qm src/qt/locale/bitcoin_eo.qm src/qt/locale/bitcoin_es.qm src/qt/locale/bitcoin_es_CL.qm src/qt/locale/bitcoin_et.qm src/qt/locale/bitcoin_eu_ES.qm src/qt/locale/bitcoin_fa.qm src/qt/locale/bitcoin_fa_IR.qm src/qt/locale/bitcoin_fi.qm src/qt/locale/bitcoin_fr.qm src/qt/locale/bitcoin_fr_CA.qm src/qt/locale/bitcoin_gu_IN.qm src/qt/locale/bitcoin_he.qm src/qt/locale/bitcoin_hi_IN.qm src/qt/locale/bitcoin_hr.qm src/qt/locale/bitcoin_hu.qm src/qt/locale/bitcoin_it.qm src/qt/locale/bitcoin_ja.qm src/qt/locale/bitcoin_la.qm src/qt/locale/bitcoin_lt.qm src/qt/locale/bitcoin_lv_LV.qm src/qt/locale/bitcoin_nb.qm src/qt/locale/bitcoin_nl.qm src/qt/locale/bitcoin_pl.qm src/qt/locale/bitcoin_pt_BR.qm src/qt/locale/bitcoin_pt_PT.qm src/qt/locale/bitcoin_ro_RO.qm src/qt/locale/bitcoin_ru.qm src/qt/locale/bitcoin_sk.qm src/qt/locale/bitcoin_sr.qm src/qt/locale/bitcoin_sv.qm src/qt/locale/bitcoin_th_TH.qm src/qt/locale/bitcoin_tr.qm src/qt/locale/bitcoin_uk.qm src/qt/locale/bitcoin_zh_CN.qm src/qt/locale/bitcoin_zh_TW.qm -src/qt/locale/bitcoin_af_ZA.qm: src/qt/locale/bitcoin_af_ZA.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_af_ZA.ts -qm src/qt/locale/bitcoin_af_ZA.qm - -src/qt/locale/bitcoin_ar.qm: src/qt/locale/bitcoin_ar.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ar.ts -qm src/qt/locale/bitcoin_ar.qm - -src/qt/locale/bitcoin_bg.qm: src/qt/locale/bitcoin_bg.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_bg.ts -qm src/qt/locale/bitcoin_bg.qm - -src/qt/locale/bitcoin_bs.qm: src/qt/locale/bitcoin_bs.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_bs.ts -qm src/qt/locale/bitcoin_bs.qm - -src/qt/locale/bitcoin_ca.qm: src/qt/locale/bitcoin_ca.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ca.ts -qm src/qt/locale/bitcoin_ca.qm - -src/qt/locale/bitcoin_ca_ES.qm: src/qt/locale/bitcoin_ca_ES.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ca_ES.ts -qm src/qt/locale/bitcoin_ca_ES.qm - -src/qt/locale/bitcoin_cs.qm: src/qt/locale/bitcoin_cs.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_cs.ts -qm src/qt/locale/bitcoin_cs.qm - -src/qt/locale/bitcoin_cy.qm: src/qt/locale/bitcoin_cy.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_cy.ts -qm src/qt/locale/bitcoin_cy.qm - -src/qt/locale/bitcoin_da.qm: src/qt/locale/bitcoin_da.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_da.ts -qm src/qt/locale/bitcoin_da.qm - -src/qt/locale/bitcoin_de.qm: src/qt/locale/bitcoin_de.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_de.ts -qm src/qt/locale/bitcoin_de.qm - -src/qt/locale/bitcoin_el_GR.qm: src/qt/locale/bitcoin_el_GR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_el_GR.ts -qm src/qt/locale/bitcoin_el_GR.qm - -src/qt/locale/bitcoin_en.qm: src/qt/locale/bitcoin_en.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_en.ts -qm src/qt/locale/bitcoin_en.qm - -src/qt/locale/bitcoin_eo.qm: src/qt/locale/bitcoin_eo.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_eo.ts -qm src/qt/locale/bitcoin_eo.qm - -src/qt/locale/bitcoin_es.qm: src/qt/locale/bitcoin_es.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_es.ts -qm src/qt/locale/bitcoin_es.qm - -src/qt/locale/bitcoin_es_CL.qm: src/qt/locale/bitcoin_es_CL.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_es_CL.ts -qm src/qt/locale/bitcoin_es_CL.qm - -src/qt/locale/bitcoin_et.qm: src/qt/locale/bitcoin_et.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_et.ts -qm src/qt/locale/bitcoin_et.qm - -src/qt/locale/bitcoin_eu_ES.qm: src/qt/locale/bitcoin_eu_ES.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_eu_ES.ts -qm src/qt/locale/bitcoin_eu_ES.qm - -src/qt/locale/bitcoin_fa.qm: src/qt/locale/bitcoin_fa.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fa.ts -qm src/qt/locale/bitcoin_fa.qm - -src/qt/locale/bitcoin_fa_IR.qm: src/qt/locale/bitcoin_fa_IR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fa_IR.ts -qm src/qt/locale/bitcoin_fa_IR.qm - -src/qt/locale/bitcoin_fi.qm: src/qt/locale/bitcoin_fi.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fi.ts -qm src/qt/locale/bitcoin_fi.qm - -src/qt/locale/bitcoin_fr.qm: src/qt/locale/bitcoin_fr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fr.ts -qm src/qt/locale/bitcoin_fr.qm - -src/qt/locale/bitcoin_fr_CA.qm: src/qt/locale/bitcoin_fr_CA.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_fr_CA.ts -qm src/qt/locale/bitcoin_fr_CA.qm - -src/qt/locale/bitcoin_gu_IN.qm: src/qt/locale/bitcoin_gu_IN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_gu_IN.ts -qm src/qt/locale/bitcoin_gu_IN.qm - -src/qt/locale/bitcoin_he.qm: src/qt/locale/bitcoin_he.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_he.ts -qm src/qt/locale/bitcoin_he.qm - -src/qt/locale/bitcoin_hi_IN.qm: src/qt/locale/bitcoin_hi_IN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hi_IN.ts -qm src/qt/locale/bitcoin_hi_IN.qm - -src/qt/locale/bitcoin_hr.qm: src/qt/locale/bitcoin_hr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hr.ts -qm src/qt/locale/bitcoin_hr.qm - -src/qt/locale/bitcoin_hu.qm: src/qt/locale/bitcoin_hu.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_hu.ts -qm src/qt/locale/bitcoin_hu.qm - -src/qt/locale/bitcoin_it.qm: src/qt/locale/bitcoin_it.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_it.ts -qm src/qt/locale/bitcoin_it.qm - -src/qt/locale/bitcoin_ja.qm: src/qt/locale/bitcoin_ja.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ja.ts -qm src/qt/locale/bitcoin_ja.qm - -src/qt/locale/bitcoin_la.qm: src/qt/locale/bitcoin_la.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_la.ts -qm src/qt/locale/bitcoin_la.qm - -src/qt/locale/bitcoin_lt.qm: src/qt/locale/bitcoin_lt.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_lt.ts -qm src/qt/locale/bitcoin_lt.qm - -src/qt/locale/bitcoin_lv_LV.qm: src/qt/locale/bitcoin_lv_LV.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_lv_LV.ts -qm src/qt/locale/bitcoin_lv_LV.qm - -src/qt/locale/bitcoin_nb.qm: src/qt/locale/bitcoin_nb.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_nb.ts -qm src/qt/locale/bitcoin_nb.qm - -src/qt/locale/bitcoin_nl.qm: src/qt/locale/bitcoin_nl.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_nl.ts -qm src/qt/locale/bitcoin_nl.qm - -src/qt/locale/bitcoin_pl.qm: src/qt/locale/bitcoin_pl.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pl.ts -qm src/qt/locale/bitcoin_pl.qm - -src/qt/locale/bitcoin_pt_BR.qm: src/qt/locale/bitcoin_pt_BR.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pt_BR.ts -qm src/qt/locale/bitcoin_pt_BR.qm - -src/qt/locale/bitcoin_pt_PT.qm: src/qt/locale/bitcoin_pt_PT.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_pt_PT.ts -qm src/qt/locale/bitcoin_pt_PT.qm - -src/qt/locale/bitcoin_ro_RO.qm: src/qt/locale/bitcoin_ro_RO.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ro_RO.ts -qm src/qt/locale/bitcoin_ro_RO.qm - -src/qt/locale/bitcoin_ru.qm: src/qt/locale/bitcoin_ru.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_ru.ts -qm src/qt/locale/bitcoin_ru.qm - -src/qt/locale/bitcoin_sk.qm: src/qt/locale/bitcoin_sk.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sk.ts -qm src/qt/locale/bitcoin_sk.qm - -src/qt/locale/bitcoin_sr.qm: src/qt/locale/bitcoin_sr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sr.ts -qm src/qt/locale/bitcoin_sr.qm - -src/qt/locale/bitcoin_sv.qm: src/qt/locale/bitcoin_sv.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_sv.ts -qm src/qt/locale/bitcoin_sv.qm - -src/qt/locale/bitcoin_th_TH.qm: src/qt/locale/bitcoin_th_TH.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_th_TH.ts -qm src/qt/locale/bitcoin_th_TH.qm - -src/qt/locale/bitcoin_tr.qm: src/qt/locale/bitcoin_tr.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_tr.ts -qm src/qt/locale/bitcoin_tr.qm - -src/qt/locale/bitcoin_uk.qm: src/qt/locale/bitcoin_uk.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_uk.ts -qm src/qt/locale/bitcoin_uk.qm - -src/qt/locale/bitcoin_zh_CN.qm: src/qt/locale/bitcoin_zh_CN.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_zh_CN.ts -qm src/qt/locale/bitcoin_zh_CN.qm - -src/qt/locale/bitcoin_zh_TW.qm: src/qt/locale/bitcoin_zh_TW.ts - c:/Qt/4.8.4/bin/lrelease.exe src/qt/locale/bitcoin_zh_TW.ts -qm src/qt/locale/bitcoin_zh_TW.qm - -compiler_dumpcpp_decl_make_all: -compiler_dumpcpp_decl_clean: -compiler_dumpcpp_impl_make_all: -compiler_dumpcpp_impl_clean: -compiler_moc_header_make_all: build/moc_bitcoingui.cpp build/moc_transactiontablemodel.cpp build/moc_addresstablemodel.cpp build/moc_optionsdialog.cpp build/moc_sendcoinsdialog.cpp build/moc_addressbookpage.cpp build/moc_signverifymessagedialog.cpp build/moc_aboutdialog.cpp build/moc_miningdialog.cpp build/moc_editaddressdialog.cpp build/moc_bitcoinaddressvalidator.cpp build/moc_clientmodel.cpp build/moc_guiutil.cpp build/moc_optionsmodel.cpp build/moc_monitoreddatamapper.cpp build/moc_transactiondesc.cpp build/moc_transactiondescdialog.cpp build/moc_bitcoinamountfield.cpp build/moc_transactionfilterproxy.cpp build/moc_transactionview.cpp build/moc_walletmodel.cpp build/moc_walletview.cpp build/moc_walletstack.cpp build/moc_walletframe.cpp build/moc_overviewpage.cpp build/moc_csvmodelwriter.cpp build/moc_sendcoinsentry.cpp build/moc_qvalidatedlineedit.cpp build/moc_bitcoinunits.cpp build/moc_qvaluecombobox.cpp build/moc_askpassphrasedialog.cpp build/moc_notificator.cpp build/moc_paymentserver.cpp build/moc_rpcconsole.cpp build/moc_macnotificationhandler.cpp build/moc_splashscreen.cpp -compiler_moc_header_clean: - -$(DEL_FILE) build/moc_bitcoingui.cpp build/moc_transactiontablemodel.cpp build/moc_addresstablemodel.cpp build/moc_optionsdialog.cpp build/moc_sendcoinsdialog.cpp build/moc_addressbookpage.cpp build/moc_signverifymessagedialog.cpp build/moc_aboutdialog.cpp build/moc_miningdialog.cpp build/moc_editaddressdialog.cpp build/moc_bitcoinaddressvalidator.cpp build/moc_clientmodel.cpp build/moc_guiutil.cpp build/moc_optionsmodel.cpp build/moc_monitoreddatamapper.cpp build/moc_transactiondesc.cpp build/moc_transactiondescdialog.cpp build/moc_bitcoinamountfield.cpp build/moc_transactionfilterproxy.cpp build/moc_transactionview.cpp build/moc_walletmodel.cpp build/moc_walletview.cpp build/moc_walletstack.cpp build/moc_walletframe.cpp build/moc_overviewpage.cpp build/moc_csvmodelwriter.cpp build/moc_sendcoinsentry.cpp build/moc_qvalidatedlineedit.cpp build/moc_bitcoinunits.cpp build/moc_qvaluecombobox.cpp build/moc_askpassphrasedialog.cpp build/moc_notificator.cpp build/moc_paymentserver.cpp build/moc_rpcconsole.cpp build/moc_macnotificationhandler.cpp build/moc_splashscreen.cpp -build/moc_bitcoingui.cpp: src/qt/bitcoingui.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoingui.h -o build/moc_bitcoingui.cpp - -build/moc_transactiontablemodel.cpp: src/qt/transactiontablemodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiontablemodel.h -o build/moc_transactiontablemodel.cpp - -build/moc_addresstablemodel.cpp: src/qt/addresstablemodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/addresstablemodel.h -o build/moc_addresstablemodel.cpp - -build/moc_optionsdialog.cpp: src/qt/optionsdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/optionsdialog.h -o build/moc_optionsdialog.cpp - -build/moc_sendcoinsdialog.cpp: src/qt/sendcoinsdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/sendcoinsdialog.h -o build/moc_sendcoinsdialog.cpp - -build/moc_addressbookpage.cpp: src/qt/addressbookpage.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/addressbookpage.h -o build/moc_addressbookpage.cpp - -build/moc_signverifymessagedialog.cpp: src/qt/signverifymessagedialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/signverifymessagedialog.h -o build/moc_signverifymessagedialog.cpp - -build/moc_aboutdialog.cpp: src/qt/aboutdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/aboutdialog.h -o build/moc_aboutdialog.cpp - -build/moc_miningdialog.cpp: src/qt/miningdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/miningdialog.h -o build/moc_miningdialog.cpp - -build/moc_editaddressdialog.cpp: src/qt/editaddressdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/editaddressdialog.h -o build/moc_editaddressdialog.cpp - -build/moc_bitcoinaddressvalidator.cpp: src/qt/bitcoinaddressvalidator.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinaddressvalidator.h -o build/moc_bitcoinaddressvalidator.cpp - -build/moc_clientmodel.cpp: src/qt/clientmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/clientmodel.h -o build/moc_clientmodel.cpp - -build/moc_guiutil.cpp: src/qt/guiutil.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/guiutil.h -o build/moc_guiutil.cpp - -build/moc_optionsmodel.cpp: src/qt/optionsmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/optionsmodel.h -o build/moc_optionsmodel.cpp - -build/moc_monitoreddatamapper.cpp: src/qt/monitoreddatamapper.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/monitoreddatamapper.h -o build/moc_monitoreddatamapper.cpp - -build/moc_transactiondesc.cpp: src/qt/transactiondesc.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiondesc.h -o build/moc_transactiondesc.cpp - -build/moc_transactiondescdialog.cpp: src/qt/transactiondescdialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactiondescdialog.h -o build/moc_transactiondescdialog.cpp - -build/moc_bitcoinamountfield.cpp: src/qt/bitcoinamountfield.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinamountfield.h -o build/moc_bitcoinamountfield.cpp - -build/moc_transactionfilterproxy.cpp: src/qt/transactionfilterproxy.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactionfilterproxy.h -o build/moc_transactionfilterproxy.cpp - -build/moc_transactionview.cpp: src/qt/transactionview.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/transactionview.h -o build/moc_transactionview.cpp - -build/moc_walletmodel.cpp: src/allocators.h \ - src/qt/walletmodel.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletmodel.h -o build/moc_walletmodel.cpp - -build/moc_walletview.cpp: src/qt/walletview.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletview.h -o build/moc_walletview.cpp - -build/moc_walletstack.cpp: src/qt/walletstack.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletstack.h -o build/moc_walletstack.cpp - -build/moc_walletframe.cpp: src/qt/walletframe.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/walletframe.h -o build/moc_walletframe.cpp - -build/moc_overviewpage.cpp: src/qt/overviewpage.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/overviewpage.h -o build/moc_overviewpage.cpp - -build/moc_csvmodelwriter.cpp: src/qt/csvmodelwriter.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/csvmodelwriter.h -o build/moc_csvmodelwriter.cpp - -build/moc_sendcoinsentry.cpp: src/qt/sendcoinsentry.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/sendcoinsentry.h -o build/moc_sendcoinsentry.cpp - -build/moc_qvalidatedlineedit.cpp: src/qt/qvalidatedlineedit.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/qvalidatedlineedit.h -o build/moc_qvalidatedlineedit.cpp - -build/moc_bitcoinunits.cpp: src/qt/bitcoinunits.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/bitcoinunits.h -o build/moc_bitcoinunits.cpp - -build/moc_qvaluecombobox.cpp: src/qt/qvaluecombobox.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/qvaluecombobox.h -o build/moc_qvaluecombobox.cpp - -build/moc_askpassphrasedialog.cpp: src/qt/askpassphrasedialog.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/askpassphrasedialog.h -o build/moc_askpassphrasedialog.cpp - -build/moc_notificator.cpp: src/qt/notificator.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/notificator.h -o build/moc_notificator.cpp - -build/moc_paymentserver.cpp: src/qt/paymentserver.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/paymentserver.h -o build/moc_paymentserver.cpp - -build/moc_rpcconsole.cpp: src/qt/rpcconsole.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/rpcconsole.h -o build/moc_rpcconsole.cpp - -build/moc_macnotificationhandler.cpp: src/qt/macnotificationhandler.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/macnotificationhandler.h -o build/moc_macnotificationhandler.cpp - -build/moc_splashscreen.cpp: src/qt/splashscreen.h - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/splashscreen.h -o build/moc_splashscreen.cpp - -compiler_rcc_make_all: release/qrc_bitcoin.cpp -compiler_rcc_clean: - -$(DEL_FILE) release/qrc_bitcoin.cpp -release/qrc_bitcoin.cpp: src/qt/bitcoin.qrc \ - src/qt/locale/bitcoin_fr.qm \ - src/qt/locale/bitcoin_sk.qm \ - src/qt/locale/bitcoin_ca.ts \ - src/qt/locale/bitcoin_bs.ts \ - src/qt/locale/bitcoin_sr.qm \ - src/qt/locale/bitcoin_hi_IN.ts \ - src/qt/locale/bitcoin_sv.qm \ - src/qt/locale/bitcoin_la.ts \ - src/qt/locale/bitcoin_pt_BR.qm \ - src/qt/locale/bitcoin_da.qm \ - src/qt/locale/bitcoin_zh_CN.qm \ - src/qt/locale/bitcoin_he.qm \ - src/qt/locale/bitcoin_pl.qm \ - src/qt/locale/bitcoin_cs.qm \ - src/qt/locale/bitcoin_lv_LV.ts \ - src/qt/locale/bitcoin_de.qm \ - src/qt/locale/bitcoin_th_TH.ts \ - src/qt/locale/bitcoin_tr.qm \ - src/qt/locale/bitcoin_cy.ts \ - src/qt/locale/bitcoin_eu_ES.qm \ - src/qt/locale/bitcoin_fr_CA.qm \ - src/qt/locale/bitcoin_ca_ES.qm \ - src/qt/locale/bitcoin_lt.qm \ - src/qt/locale/bitcoin_zh_TW.qm \ - src/qt/locale/bitcoin_hr.qm \ - src/qt/locale/bitcoin_uk.qm \ - src/qt/locale/bitcoin_hu.qm \ - src/qt/locale/bitcoin_af_ZA.qm \ - src/qt/locale/bitcoin_es_CL.qm \ - src/qt/locale/bitcoin_pt_PT.qm \ - src/qt/locale/bitcoin_gu_IN.ts \ - src/qt/locale/bitcoin_ro_RO.qm \ - src/qt/locale/bitcoin_nb.qm \ - src/qt/locale/bitcoin_el_GR.qm \ - src/qt/locale/bitcoin_ja.ts \ - src/qt/locale/bitcoin_en.qm \ - src/qt/locale/bitcoin_eo.ts \ - src/qt/locale/bitcoin_it.qm \ - src/qt/locale/bitcoin_fa.qm \ - src/qt/locale/bitcoin_es.qm \ - src/qt/locale/bitcoin_et.qm \ - src/qt/locale/bitcoin_ar.qm \ - src/qt/locale/bitcoin_nl.qm \ - src/qt/locale/bitcoin_fa_IR.qm \ - src/qt/locale/bitcoin_fi.qm \ - src/qt/locale/bitcoin_bg.qm \ - src/qt/locale/bitcoin_ru.qm \ - src/qt/res/images/about.png \ - src/qt/res/images/splash_testnet.png \ - src/qt/res/images/splash.png \ - src/qt/res/movies/update_spinner.mng \ - src/qt/res/icons/add.png \ - src/qt/res/icons/connect0_16.png \ - src/qt/res/icons/connect1_16.png \ - src/qt/res/icons/quit.png \ - src/qt/res/icons/connect2_16.png \ - src/qt/res/icons/overview.png \ - src/qt/res/icons/tx_mined.png \ - src/qt/res/icons/connect3_16.png \ - src/qt/res/icons/connect4_16.png \ - src/qt/res/icons/address-book.png \ - src/qt/res/icons/send.png \ - src/qt/res/icons/configure.png \ - src/qt/res/icons/export.png \ - src/qt/res/icons/synced.png \ - src/qt/res/icons/history.png \ - src/qt/res/icons/filesave.png \ - src/qt/res/icons/transaction2.png \ - src/qt/res/icons/editpaste.png \ - src/qt/res/icons/edit.png \ - src/qt/res/icons/lock_closed.png \ - src/qt/res/icons/editcopy.png \ - src/qt/res/icons/receive.png \ - src/qt/res/icons/transaction0.png \ - src/qt/res/icons/clock1.png \ - src/qt/res/icons/clock2.png \ - src/qt/res/icons/clock3.png \ - src/qt/res/icons/clock4.png \ - src/qt/res/icons/clock5.png \ - src/qt/res/icons/qrcode.png \ - src/qt/res/icons/toolbar_testnet.png \ - src/qt/res/icons/bitcoin.png \ - src/qt/res/icons/key.png \ - src/qt/res/icons/tx_inout.png \ - src/qt/res/icons/remove.png \ - src/qt/res/icons/toolbar.png \ - src/qt/res/icons/lock_open.png \ - src/qt/res/icons/bitcoin_testnet.png \ - src/qt/res/icons/tx_input.png \ - src/qt/res/icons/debugwindow.png \ - src/qt/res/icons/tx_output.png - c:/Qt/4.8.4/bin/rcc.exe -name bitcoin src/qt/bitcoin.qrc -o release/qrc_bitcoin.cpp - -compiler_image_collection_make_all: build/qmake_image_collection.cpp -compiler_image_collection_clean: - -$(DEL_FILE) build/qmake_image_collection.cpp -compiler_moc_source_make_all: build/gridcoin.moc build/overviewpage.moc build/rpcconsole.moc -compiler_moc_source_clean: - -$(DEL_FILE) build/gridcoin.moc build/overviewpage.moc build/rpcconsole.moc -build/gridcoin.moc: src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/global_objects.hpp \ - src/gridcoin.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/gridcoin.cpp -o build/gridcoin.moc - -build/overviewpage.moc: src/qt/overviewpage.h \ - build/ui_overviewpage.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/optionsmodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/transactionfilterproxy.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - src/qt/overviewpage.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/overviewpage.cpp -o build/overviewpage.moc - -build/rpcconsole.moc: src/qt/rpcconsole.h \ - build/ui_rpcconsole.h \ - src/qt/clientmodel.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/guiutil.h \ - src/qt/rpcconsole.cpp - C:/Qt/4.8.4/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/qt/rpcconsole.cpp -o build/rpcconsole.moc - -compiler_uic_make_all: build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h -compiler_uic_clean: - -$(DEL_FILE) build/ui_sendcoinsdialog.h build/ui_addressbookpage.h build/ui_signverifymessagedialog.h build/ui_aboutdialog.h build/ui_miningdialog.h build/ui_editaddressdialog.h build/ui_transactiondescdialog.h build/ui_overviewpage.h build/ui_sendcoinsentry.h build/ui_askpassphrasedialog.h build/ui_rpcconsole.h build/ui_optionsdialog.h -build/ui_sendcoinsdialog.h: src/qt/forms/sendcoinsdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/sendcoinsdialog.ui -o build/ui_sendcoinsdialog.h - -build/ui_addressbookpage.h: src/qt/forms/addressbookpage.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/addressbookpage.ui -o build/ui_addressbookpage.h - -build/ui_signverifymessagedialog.h: src/qt/forms/signverifymessagedialog.ui \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/signverifymessagedialog.ui -o build/ui_signverifymessagedialog.h - -build/ui_aboutdialog.h: src/qt/forms/aboutdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/aboutdialog.ui -o build/ui_aboutdialog.h - -build/ui_miningdialog.h: src/qt/forms/miningdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/miningdialog.ui -o build/ui_miningdialog.h - -build/ui_editaddressdialog.h: src/qt/forms/editaddressdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/editaddressdialog.ui -o build/ui_editaddressdialog.h - -build/ui_transactiondescdialog.h: src/qt/forms/transactiondescdialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/transactiondescdialog.ui -o build/ui_transactiondescdialog.h - -build/ui_overviewpage.h: src/qt/forms/overviewpage.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/overviewpage.ui -o build/ui_overviewpage.h - -build/ui_sendcoinsentry.h: src/qt/forms/sendcoinsentry.ui \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/sendcoinsentry.ui -o build/ui_sendcoinsentry.h - -build/ui_askpassphrasedialog.h: src/qt/forms/askpassphrasedialog.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/askpassphrasedialog.ui -o build/ui_askpassphrasedialog.h - -build/ui_rpcconsole.h: src/qt/forms/rpcconsole.ui - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/rpcconsole.ui -o build/ui_rpcconsole.h - -build/ui_optionsdialog.h: src/qt/forms/optionsdialog.ui \ - src/qt/bitcoinamountfield.h \ - src/qt/qvaluecombobox.h \ - src/qt/qvalidatedlineedit.h - c:/Qt/4.8.4/bin/uic.exe src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h - -compiler_yacc_decl_make_all: -compiler_yacc_decl_clean: -compiler_yacc_impl_make_all: -compiler_yacc_impl_clean: -compiler_lex_make_all: -compiler_lex_clean: -compiler_clean: compiler_TSQM_clean compiler_moc_header_clean compiler_rcc_clean compiler_moc_source_clean compiler_uic_clean - - - -####### Compile - -build/bitcoin.o: src/qt/bitcoin.cpp src/qt/bitcoingui.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/qt/paymentserver.h \ - src/qt/splashscreen.h \ - src/qt/macdockiconhandler.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoin.o src/qt/bitcoin.cpp - -build/bitcoingui.o: src/qt/bitcoingui.cpp src/qt/bitcoingui.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - src/qt/transactiontablemodel.h \ - src/qt/optionsdialog.h \ - src/qt/aboutdialog.h \ - src/qt/miningdialog.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/walletframe.h \ - src/qt/optionsmodel.h \ - src/qt/transactiondescdialog.h \ - src/qt/bitcoinunits.h \ - src/qt/guiconstants.h \ - src/qt/notificator.h \ - src/qt/guiutil.h \ - src/qt/rpcconsole.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/init.h \ - src/qt/macdockiconhandler.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoingui.o src/qt/bitcoingui.cpp - -build/transactiontablemodel.o: src/qt/transactiontablemodel.cpp src/qt/transactiontablemodel.h \ - src/qt/guiutil.h \ - src/qt/transactionrecord.h \ - src/uint256.h \ - src/qt/guiconstants.h \ - src/qt/transactiondesc.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/bitcoinunits.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiontablemodel.o src/qt/transactiontablemodel.cpp - -build/addresstablemodel.o: src/qt/addresstablemodel.cpp src/qt/addresstablemodel.h \ - src/qt/guiutil.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addresstablemodel.o src/qt/addresstablemodel.cpp - -build/optionsdialog.o: src/qt/optionsdialog.cpp src/qt/optionsdialog.h \ - build/ui_optionsdialog.h \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/qvaluecombobox.h \ - src/qt/bitcoinunits.h \ - src/qt/monitoreddatamapper.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/optionsmodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/optionsdialog.o src/qt/optionsdialog.cpp - -build/sendcoinsdialog.o: src/qt/sendcoinsdialog.cpp src/qt/sendcoinsdialog.h \ - build/ui_sendcoinsdialog.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/addressbookpage.h \ - src/qt/optionsmodel.h \ - src/qt/sendcoinsentry.h \ - src/qt/guiutil.h \ - src/qt/askpassphrasedialog.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sendcoinsdialog.o src/qt/sendcoinsdialog.cpp - -build/addressbookpage.o: src/qt/addressbookpage.cpp src/qt/addressbookpage.h \ - build/ui_addressbookpage.h \ - src/qt/addresstablemodel.h \ - src/qt/optionsmodel.h \ - src/qt/bitcoingui.h \ - src/qt/editaddressdialog.h \ - src/qt/csvmodelwriter.h \ - src/qt/guiutil.h \ - src/qt/qrcodedialog.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addressbookpage.o src/qt/addressbookpage.cpp - -build/signverifymessagedialog.o: src/qt/signverifymessagedialog.cpp src/qt/signverifymessagedialog.h \ - build/ui_signverifymessagedialog.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/addressbookpage.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/qt/guiutil.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/qt/optionsmodel.h \ - src/qt/walletmodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/signverifymessagedialog.o src/qt/signverifymessagedialog.cpp - -build/aboutdialog.o: src/qt/aboutdialog.cpp src/qt/aboutdialog.h \ - build/ui_aboutdialog.h \ - src/qt/clientmodel.h \ - src/clientversion.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/aboutdialog.o src/qt/aboutdialog.cpp - -build/miningdialog.o: src/qt/miningdialog.cpp src/qt/miningdialog.h \ - build/ui_miningdialog.h \ - src/qt/clientmodel.h \ - src/clientversion.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/miningdialog.o src/qt/miningdialog.cpp - -build/genesisgenerator.o: src/qt/genesisgenerator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/genesisgenerator.o src/qt/genesisgenerator.cpp - -build/gridcoin.o: src/gridcoin.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/global_objects.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/gridcoin.o src/gridcoin.cpp - -build/editaddressdialog.o: src/qt/editaddressdialog.cpp src/qt/editaddressdialog.h \ - build/ui_editaddressdialog.h \ - src/qt/addresstablemodel.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/editaddressdialog.o src/qt/editaddressdialog.cpp - -build/bitcoinaddressvalidator.o: src/qt/bitcoinaddressvalidator.cpp src/qt/bitcoinaddressvalidator.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinaddressvalidator.o src/qt/bitcoinaddressvalidator.cpp - -build/alert.o: src/alert.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/sync.h \ - src/threadsafety.h \ - src/bloom.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/alert.o src/alert.cpp - -build/version.o: src/version.cpp src/version.h \ - src/clientversion.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/version.o src/version.cpp - -build/sync.o: src/sync.cpp src/sync.h \ - src/threadsafety.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sync.o src/sync.cpp - -build/util.o: src/util.cpp src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/util.o src/util.cpp - -build/hash.o: src/hash.cpp src/hash.h \ - src/uint256.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/hash.o src/hash.cpp - -build/netbase.o: src/netbase.cpp src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/util.h \ - src/uint256.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/netbase.o src/netbase.cpp - -build/key.o: src/key.cpp src/key.h \ - src/allocators.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/key.o src/key.cpp - -build/script.o: src/script.cpp src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h \ - src/sync.h \ - src/threadsafety.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/script.o src/script.cpp - -build/main.o: src/main.cpp src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/checkpoints.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/txdb.h \ - src/leveldb.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/checkqueue.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp - -build/init.o: src/init.cpp src/txdb.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/leveldb.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/init.o src/init.cpp - -build/net.o: src/net.cpp src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/net.o src/net.cpp - -build/bloom.o: src/bloom.cpp src/bloom.h \ - src/uint256.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bloom.o src/bloom.cpp - -build/checkpoints.o: src/checkpoints.cpp src/checkpoints.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/checkpoints.o src/checkpoints.cpp - -build/addrman.o: src/addrman.cpp src/addrman.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/protocol.h \ - src/uint256.h \ - src/util.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/addrman.o src/addrman.cpp - -build/db.o: src/db.cpp src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/db.o src/db.cpp - -build/walletdb.o: src/walletdb.cpp src/walletdb.h \ - src/db.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/base58.h \ - src/wallet.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletdb.o src/walletdb.cpp - -build/clientmodel.o: src/qt/clientmodel.cpp src/qt/clientmodel.h \ - src/qt/guiconstants.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/alert.h \ - src/uint256.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/checkpoints.h \ - src/ui_interface.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/clientmodel.o src/qt/clientmodel.cpp - -build/guiutil.o: src/qt/guiutil.cpp src/qt/guiutil.h \ - src/qt/bitcoinaddressvalidator.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/guiutil.o src/qt/guiutil.cpp - -build/transactionrecord.o: src/qt/transactionrecord.cpp src/qt/transactionrecord.h \ - src/uint256.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionrecord.o src/qt/transactionrecord.cpp - -build/optionsmodel.o: src/qt/optionsmodel.cpp src/qt/optionsmodel.h \ - src/qt/bitcoinunits.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/optionsmodel.o src/qt/optionsmodel.cpp - -build/monitoreddatamapper.o: src/qt/monitoreddatamapper.cpp src/qt/monitoreddatamapper.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/monitoreddatamapper.o src/qt/monitoreddatamapper.cpp - -build/transactiondesc.o: src/qt/transactiondesc.cpp src/qt/transactiondesc.h \ - src/qt/guiutil.h \ - src/qt/bitcoinunits.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiondesc.o src/qt/transactiondesc.cpp - -build/transactiondescdialog.o: src/qt/transactiondescdialog.cpp src/qt/transactiondescdialog.h \ - build/ui_transactiondescdialog.h \ - src/qt/transactiontablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactiondescdialog.o src/qt/transactiondescdialog.cpp - -build/bitcoinstrings.o: src/qt/bitcoinstrings.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinstrings.o src/qt/bitcoinstrings.cpp - -build/bitcoinamountfield.o: src/qt/bitcoinamountfield.cpp src/qt/bitcoinamountfield.h \ - src/qt/qvaluecombobox.h \ - src/qt/bitcoinunits.h \ - src/qt/guiconstants.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinamountfield.o src/qt/bitcoinamountfield.cpp - -build/wallet.o: src/wallet.cpp src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/wallet.o src/wallet.cpp - -build/keystore.o: src/keystore.cpp src/keystore.h \ - src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h \ - src/sync.h \ - src/threadsafety.h \ - src/script.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/keystore.o src/keystore.cpp - -build/transactionfilterproxy.o: src/qt/transactionfilterproxy.cpp src/qt/transactionfilterproxy.h \ - src/qt/transactiontablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionfilterproxy.o src/qt/transactionfilterproxy.cpp - -build/transactionview.o: src/qt/transactionview.cpp src/qt/transactionview.h \ - src/qt/transactionfilterproxy.h \ - src/qt/transactionrecord.h \ - src/uint256.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/bitcoinunits.h \ - src/qt/csvmodelwriter.h \ - src/qt/transactiondescdialog.h \ - src/qt/editaddressdialog.h \ - src/qt/optionsmodel.h \ - src/qt/guiutil.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/transactionview.o src/qt/transactionview.cpp - -build/walletmodel.o: src/qt/walletmodel.cpp src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/guiconstants.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h \ - src/qt/transactiontablemodel.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/walletdb.h \ - src/db.h \ - src/base58.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletmodel.o src/qt/walletmodel.cpp - -build/walletview.o: src/qt/walletview.cpp src/qt/walletview.h \ - src/qt/bitcoingui.h \ - src/qt/transactiontablemodel.h \ - src/qt/addressbookpage.h \ - src/qt/sendcoinsdialog.h \ - src/qt/signverifymessagedialog.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/transactionview.h \ - src/qt/overviewpage.h \ - src/qt/askpassphrasedialog.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletview.o src/qt/walletview.cpp - -build/walletstack.o: src/qt/walletstack.cpp src/qt/walletstack.h \ - src/qt/walletview.h \ - src/qt/bitcoingui.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletstack.o src/qt/walletstack.cpp - -build/walletframe.o: src/qt/walletframe.cpp src/qt/walletframe.h \ - src/qt/bitcoingui.h \ - src/qt/walletstack.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/walletframe.o src/qt/walletframe.cpp - -build/bitcoinrpc.o: src/bitcoinrpc.cpp src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinrpc.o src/bitcoinrpc.cpp - -build/rpcdump.o: src/rpcdump.cpp src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcdump.o src/rpcdump.cpp - -build/rpcnet.o: src/rpcnet.cpp src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/protocol.h \ - src/uint256.h \ - src/addrman.h \ - src/util.h \ - src/sync.h \ - src/threadsafety.h \ - src/hash.h \ - src/bloom.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcnet.o src/rpcnet.cpp - -build/rpcmining.o: src/rpcmining.cpp src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/db.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcmining.o src/rpcmining.cpp - -build/rpcwallet.o: src/rpcwallet.cpp src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/ui_interface.h \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/init.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcwallet.o src/rpcwallet.cpp - -build/rpcblockchain.o: src/rpcblockchain.cpp src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcblockchain.o src/rpcblockchain.cpp - -build/rpcrawtransaction.o: src/rpcrawtransaction.cpp src/base58.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/db.h \ - src/main.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/bloom.h \ - src/scrypt.h \ - src/init.h \ - src/wallet.h \ - src/ui_interface.h \ - src/walletdb.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcrawtransaction.o src/rpcrawtransaction.cpp - -build/overviewpage.o: src/qt/overviewpage.cpp src/qt/overviewpage.h \ - build/ui_overviewpage.h \ - src/qt/clientmodel.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/bitcoinunits.h \ - src/qt/optionsmodel.h \ - src/qt/transactiontablemodel.h \ - src/qt/transactionfilterproxy.h \ - src/qt/guiutil.h \ - src/qt/guiconstants.h \ - src/uint256.h \ - src/base58.h \ - src/bignum.h \ - src/util.h \ - src/netbase.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/key.h \ - src/hash.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/sync.h \ - src/threadsafety.h \ - src/global_objects.hpp \ - src/global_objects_noui.hpp \ - build/overviewpage.moc - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/overviewpage.o src/qt/overviewpage.cpp - -build/csvmodelwriter.o: src/qt/csvmodelwriter.cpp src/qt/csvmodelwriter.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/csvmodelwriter.o src/qt/csvmodelwriter.cpp - -build/crypter.o: src/crypter.cpp src/crypter.h \ - src/allocators.h \ - src/key.h \ - src/serialize.h \ - src/version.h \ - src/clientversion.h \ - src/uint256.h \ - src/hash.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/crypter.o src/crypter.cpp - -build/sendcoinsentry.o: src/qt/sendcoinsentry.cpp src/qt/sendcoinsentry.h \ - build/ui_sendcoinsentry.h \ - src/qt/bitcoinamountfield.h \ - src/qt/qvalidatedlineedit.h \ - src/qt/guiutil.h \ - src/qt/bitcoinunits.h \ - src/qt/addressbookpage.h \ - src/qt/walletmodel.h \ - src/allocators.h \ - src/qt/optionsmodel.h \ - src/qt/addresstablemodel.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/sendcoinsentry.o src/qt/sendcoinsentry.cpp - -build/qvalidatedlineedit.o: src/qt/qvalidatedlineedit.cpp src/qt/qvalidatedlineedit.h \ - src/qt/guiconstants.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qvalidatedlineedit.o src/qt/qvalidatedlineedit.cpp - -build/bitcoinunits.o: src/qt/bitcoinunits.cpp src/qt/bitcoinunits.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/bitcoinunits.o src/qt/bitcoinunits.cpp - -build/qvaluecombobox.o: src/qt/qvaluecombobox.cpp src/qt/qvaluecombobox.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qvaluecombobox.o src/qt/qvaluecombobox.cpp - -build/askpassphrasedialog.o: src/qt/askpassphrasedialog.cpp src/qt/askpassphrasedialog.h \ - build/ui_askpassphrasedialog.h \ - src/qt/guiconstants.h \ - src/qt/walletmodel.h \ - src/allocators.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/askpassphrasedialog.o src/qt/askpassphrasedialog.cpp - -build/protocol.o: src/protocol.cpp src/protocol.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/netbase.h \ - src/compat.h \ - src/uint256.h \ - src/util.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/protocol.o src/protocol.cpp - -build/notificator.o: src/qt/notificator.cpp src/qt/notificator.h \ - src/qt/macnotificationhandler.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/notificator.o src/qt/notificator.cpp - -build/paymentserver.o: src/qt/paymentserver.cpp src/qt/paymentserver.h \ - src/qt/guiconstants.h \ - src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/paymentserver.o src/qt/paymentserver.cpp - -build/rpcconsole.o: src/qt/rpcconsole.cpp src/qt/rpcconsole.h \ - build/ui_rpcconsole.h \ - src/qt/clientmodel.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h \ - src/global_objects_noui.hpp \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/qt/guiutil.h \ - build/rpcconsole.moc - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/rpcconsole.o src/qt/rpcconsole.cpp - -build/scrypt.o: src/scrypt.cpp src/scrypt.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/scrypt.o src/scrypt.cpp - -build/noui.o: src/noui.cpp src/ui_interface.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/init.h \ - src/wallet.h \ - src/main.h \ - src/bignum.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/walletdb.h \ - src/db.h \ - src/base58.h \ - src/bitcoinrpc.h \ - src/json/json_spirit_reader_template.h \ - src/json/json_spirit_value.h \ - src/json/json_spirit_error_position.h \ - src/json/json_spirit_writer_template.h \ - src/json/json_spirit_utils.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/noui.o src/noui.cpp - -build/leveldb.o: src/leveldb.cpp src/leveldb.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/leveldb.o src/leveldb.cpp - -build/txdb.o: src/txdb.cpp src/txdb.h \ - src/main.h \ - src/bignum.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/clientversion.h \ - src/compat.h \ - src/sync.h \ - src/threadsafety.h \ - src/net.h \ - src/mruset.h \ - src/limitedmap.h \ - src/protocol.h \ - src/addrman.h \ - src/hash.h \ - src/bloom.h \ - src/script.h \ - src/keystore.h \ - src/crypter.h \ - src/key.h \ - src/scrypt.h \ - src/global_objects_noui.hpp \ - src/leveldb.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/txdb.o src/txdb.cpp - -build/splashscreen.o: src/qt/splashscreen.cpp src/qt/splashscreen.h \ - src/clientversion.h \ - src/util.h \ - src/uint256.h \ - src/netbase.h \ - src/serialize.h \ - src/allocators.h \ - src/version.h \ - src/compat.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/splashscreen.o src/qt/splashscreen.cpp - -build/moc_bitcoingui.o: build/moc_bitcoingui.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoingui.o build/moc_bitcoingui.cpp - -build/moc_transactiontablemodel.o: build/moc_transactiontablemodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiontablemodel.o build/moc_transactiontablemodel.cpp - -build/moc_addresstablemodel.o: build/moc_addresstablemodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_addresstablemodel.o build/moc_addresstablemodel.cpp - -build/moc_optionsdialog.o: build/moc_optionsdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_optionsdialog.o build/moc_optionsdialog.cpp - -build/moc_sendcoinsdialog.o: build/moc_sendcoinsdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_sendcoinsdialog.o build/moc_sendcoinsdialog.cpp - -build/moc_addressbookpage.o: build/moc_addressbookpage.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_addressbookpage.o build/moc_addressbookpage.cpp - -build/moc_signverifymessagedialog.o: build/moc_signverifymessagedialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_signverifymessagedialog.o build/moc_signverifymessagedialog.cpp - -build/moc_aboutdialog.o: build/moc_aboutdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_aboutdialog.o build/moc_aboutdialog.cpp - -build/moc_miningdialog.o: build/moc_miningdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_miningdialog.o build/moc_miningdialog.cpp - -build/moc_editaddressdialog.o: build/moc_editaddressdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_editaddressdialog.o build/moc_editaddressdialog.cpp - -build/moc_bitcoinaddressvalidator.o: build/moc_bitcoinaddressvalidator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinaddressvalidator.o build/moc_bitcoinaddressvalidator.cpp - -build/moc_clientmodel.o: build/moc_clientmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_clientmodel.o build/moc_clientmodel.cpp - -build/moc_guiutil.o: build/moc_guiutil.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_guiutil.o build/moc_guiutil.cpp - -build/moc_optionsmodel.o: build/moc_optionsmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_optionsmodel.o build/moc_optionsmodel.cpp - -build/moc_monitoreddatamapper.o: build/moc_monitoreddatamapper.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_monitoreddatamapper.o build/moc_monitoreddatamapper.cpp - -build/moc_transactiondesc.o: build/moc_transactiondesc.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiondesc.o build/moc_transactiondesc.cpp - -build/moc_transactiondescdialog.o: build/moc_transactiondescdialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactiondescdialog.o build/moc_transactiondescdialog.cpp - -build/moc_bitcoinamountfield.o: build/moc_bitcoinamountfield.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinamountfield.o build/moc_bitcoinamountfield.cpp - -build/moc_transactionfilterproxy.o: build/moc_transactionfilterproxy.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactionfilterproxy.o build/moc_transactionfilterproxy.cpp - -build/moc_transactionview.o: build/moc_transactionview.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_transactionview.o build/moc_transactionview.cpp - -build/moc_walletmodel.o: build/moc_walletmodel.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletmodel.o build/moc_walletmodel.cpp - -build/moc_walletview.o: build/moc_walletview.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletview.o build/moc_walletview.cpp - -build/moc_walletstack.o: build/moc_walletstack.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletstack.o build/moc_walletstack.cpp - -build/moc_walletframe.o: build/moc_walletframe.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_walletframe.o build/moc_walletframe.cpp - -build/moc_overviewpage.o: build/moc_overviewpage.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_overviewpage.o build/moc_overviewpage.cpp - -build/moc_csvmodelwriter.o: build/moc_csvmodelwriter.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_csvmodelwriter.o build/moc_csvmodelwriter.cpp - -build/moc_sendcoinsentry.o: build/moc_sendcoinsentry.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_sendcoinsentry.o build/moc_sendcoinsentry.cpp - -build/moc_qvalidatedlineedit.o: build/moc_qvalidatedlineedit.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qvalidatedlineedit.o build/moc_qvalidatedlineedit.cpp - -build/moc_bitcoinunits.o: build/moc_bitcoinunits.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_bitcoinunits.o build/moc_bitcoinunits.cpp - -build/moc_qvaluecombobox.o: build/moc_qvaluecombobox.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qvaluecombobox.o build/moc_qvaluecombobox.cpp - -build/moc_askpassphrasedialog.o: build/moc_askpassphrasedialog.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_askpassphrasedialog.o build/moc_askpassphrasedialog.cpp - -build/moc_notificator.o: build/moc_notificator.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_notificator.o build/moc_notificator.cpp - -build/moc_paymentserver.o: build/moc_paymentserver.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_paymentserver.o build/moc_paymentserver.cpp - -build/moc_rpcconsole.o: build/moc_rpcconsole.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_rpcconsole.o build/moc_rpcconsole.cpp - -build/moc_macnotificationhandler.o: build/moc_macnotificationhandler.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_macnotificationhandler.o build/moc_macnotificationhandler.cpp - -build/moc_splashscreen.o: build/moc_splashscreen.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_splashscreen.o build/moc_splashscreen.cpp - -build/qrc_bitcoin.o: release/qrc_bitcoin.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qrc_bitcoin.o release/qrc_bitcoin.cpp - -####### Install - -install: FORCE - -uninstall: FORCE - -FORCE: - diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index 3d83440..56301da 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -3,18 +3,26 @@ TARGET = gridcoin-qt macx:TARGET = "Gridcoin-Qt" VERSION = 0.7.7.2 INCLUDEPATH += src src/json src/qt -INCLUDEPATH += tmp/moc/release_shared + QT += core gui network -QT += qaxcontainer -#QT += axserver -#QT += widgets -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets +#INCLUDEPATH += tmp/moc/release_shared + +greaterThan(QT_MAJOR_VERSION, 4) { + QT += widgets + + win32 { + QT += axcontainer + } +} else { + win32 { + CONFIG += qaxcontainer + } +} + DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE CONFIG += no_include_pwd CONFIG += thread -CONFIG += qaxcontainer -#CONFIG += qaxserver dll # for boost 1.37, add -mt to the boost libraries # use: qmake BOOST_LIB_SUFFIX=-mt @@ -124,7 +132,7 @@ genleveldb.depends = FORCE PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a QMAKE_EXTRA_TARGETS += genleveldb # Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it. -QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean +QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean -y # regenerate src/build.h !win32|contains(USE_BUILD_INFO, 1) { @@ -149,7 +157,6 @@ HEADERS += src/qt/bitcoingui.h \ src/qt/signverifymessagedialog.h \ src/qt/aboutdialog.h \ src/qt/miningdialog.h \ - src/qt/gridcoin.h \ src/qt/editaddressdialog.h \ src/qt/bitcoinaddressvalidator.h \ src/alert.h \ @@ -224,7 +231,8 @@ HEADERS += src/qt/bitcoingui.h \ src/limitedmap.h \ src/qt/macnotificationhandler.h \ src/qt/splashscreen.h \ - + src/boinc-cpp/boinchelper.h + SOURCES += src/qt/bitcoin.cpp \ src/qt/bitcoingui.cpp \ src/qt/transactiontablemodel.cpp \ @@ -236,7 +244,7 @@ SOURCES += src/qt/bitcoin.cpp \ src/qt/aboutdialog.cpp \ src/qt/miningdialog.cpp \ src/qt/genesisgenerator.cpp \ - src/gridcoin.cpp \ + src/gridcoin.cpp \ src/qt/editaddressdialog.cpp \ src/qt/bitcoinaddressvalidator.cpp \ src/alert.cpp \ @@ -295,7 +303,8 @@ SOURCES += src/qt/bitcoin.cpp \ src/noui.cpp \ src/leveldb.cpp \ src/txdb.cpp \ - src/qt/splashscreen.cpp + src/qt/splashscreen.cpp \ + src/boinc-cpp/boinchelper.cpp ## #RC_FILE = qaxserver.rc @@ -367,7 +376,7 @@ OTHER_FILES += README.md \ # platform specific defaults, if not overridden on command line isEmpty(BOOST_LIB_SUFFIX) { macx:BOOST_LIB_SUFFIX = -mt - win32:BOOST_LIB_SUFFIX = -mgw44-mt-s-1_50 + win32:BOOST_LIB_SUFFIX = -mgw46-mt-1_54 } isEmpty(BOOST_THREAD_LIB_SUFFIX) { @@ -410,7 +419,7 @@ win32:!contains(MINGW_THREAD_BUGFIX, 0) { !win32:!macx { DEFINES += LINUX - LIBS += -lrt + LIBS += -lrt -lproc # _FILE_OFFSET_BITS=64 lets 32-bit fopen transparently support large files. DEFINES += _FILE_OFFSET_BITS=64 } @@ -431,7 +440,7 @@ LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX # -lgdi32 has to happen after -lcrypto (see #681) win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX -lole32 +LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX win32:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX macx:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX diff --git a/build/aboutdialog.o b/build/aboutdialog.o deleted file mode 100644 index 9686ee6..0000000 Binary files a/build/aboutdialog.o and /dev/null differ diff --git a/build/addressbookpage.o b/build/addressbookpage.o deleted file mode 100644 index b1073a2..0000000 Binary files a/build/addressbookpage.o and /dev/null differ diff --git a/build/addresstablemodel.o b/build/addresstablemodel.o deleted file mode 100644 index 27271bc..0000000 Binary files a/build/addresstablemodel.o and /dev/null differ diff --git a/build/addrman.o b/build/addrman.o deleted file mode 100644 index 980b515..0000000 Binary files a/build/addrman.o and /dev/null differ diff --git a/build/alert.o b/build/alert.o deleted file mode 100644 index 8a7e5c8..0000000 Binary files a/build/alert.o and /dev/null differ diff --git a/build/askpassphrasedialog.o b/build/askpassphrasedialog.o deleted file mode 100644 index df5a568..0000000 Binary files a/build/askpassphrasedialog.o and /dev/null differ diff --git a/build/bitcoinamountfield.o b/build/bitcoinamountfield.o deleted file mode 100644 index 6083503..0000000 Binary files a/build/bitcoinamountfield.o and /dev/null differ diff --git a/build/bitcoingui.o b/build/bitcoingui.o deleted file mode 100644 index 1af4442..0000000 Binary files a/build/bitcoingui.o and /dev/null differ diff --git a/build/bitcoinrpc.o b/build/bitcoinrpc.o deleted file mode 100644 index 38e4170..0000000 Binary files a/build/bitcoinrpc.o and /dev/null differ diff --git a/build/bitcoinstrings.o b/build/bitcoinstrings.o deleted file mode 100644 index 351dc09..0000000 Binary files a/build/bitcoinstrings.o and /dev/null differ diff --git a/build/bitcoinunits.o b/build/bitcoinunits.o deleted file mode 100644 index 1959d79..0000000 Binary files a/build/bitcoinunits.o and /dev/null differ diff --git a/build/bloom.o b/build/bloom.o deleted file mode 100644 index 961b743..0000000 Binary files a/build/bloom.o and /dev/null differ diff --git a/build/checkpoints.o b/build/checkpoints.o deleted file mode 100644 index 736bf5b..0000000 Binary files a/build/checkpoints.o and /dev/null differ diff --git a/build/clientmodel.o b/build/clientmodel.o deleted file mode 100644 index 694fa93..0000000 Binary files a/build/clientmodel.o and /dev/null differ diff --git a/build/csvmodelwriter.o b/build/csvmodelwriter.o deleted file mode 100644 index 828baec..0000000 Binary files a/build/csvmodelwriter.o and /dev/null differ diff --git a/build/db.o b/build/db.o deleted file mode 100644 index ab30362..0000000 Binary files a/build/db.o and /dev/null differ diff --git a/build/editaddressdialog.o b/build/editaddressdialog.o deleted file mode 100644 index f2762a4..0000000 Binary files a/build/editaddressdialog.o and /dev/null differ diff --git a/build/guiutil.o b/build/guiutil.o deleted file mode 100644 index 8c515b7..0000000 Binary files a/build/guiutil.o and /dev/null differ diff --git a/build/hash.o b/build/hash.o deleted file mode 100644 index 050e91c..0000000 Binary files a/build/hash.o and /dev/null differ diff --git a/build/init.o b/build/init.o deleted file mode 100644 index 8dcdaed..0000000 Binary files a/build/init.o and /dev/null differ diff --git a/build/key.o b/build/key.o deleted file mode 100644 index c2f1119..0000000 Binary files a/build/key.o and /dev/null differ diff --git a/build/keystore.o b/build/keystore.o deleted file mode 100644 index 407bc37..0000000 Binary files a/build/keystore.o and /dev/null differ diff --git a/build/leveldb.o b/build/leveldb.o deleted file mode 100644 index 3611c2e..0000000 Binary files a/build/leveldb.o and /dev/null differ diff --git a/build/main.o b/build/main.o deleted file mode 100644 index 5f2f67b..0000000 Binary files a/build/main.o and /dev/null differ diff --git a/build/moc_aboutdialog.cpp b/build/moc_aboutdialog.cpp deleted file mode 100644 index 3945f73..0000000 --- a/build/moc_aboutdialog.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'aboutdialog.h' -** -** Created: Fri Dec 27 12:49:03 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/aboutdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'aboutdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AboutDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 13, 12, 12, 12, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AboutDialog[] = { - "AboutDialog\0\0on_buttonBox_accepted()\0" -}; - -void AboutDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AboutDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->on_buttonBox_accepted(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData AboutDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AboutDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_AboutDialog, - qt_meta_data_AboutDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AboutDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AboutDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AboutDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AboutDialog)) - return static_cast(const_cast< AboutDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int AboutDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_aboutdialog.o b/build/moc_aboutdialog.o deleted file mode 100644 index 0fc0097..0000000 Binary files a/build/moc_aboutdialog.o and /dev/null differ diff --git a/build/moc_addressbookpage.cpp b/build/moc_addressbookpage.cpp deleted file mode 100644 index 54354d2..0000000 --- a/build/moc_addressbookpage.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'addressbookpage.h' -** -** Created: Fri Dec 27 12:49:01 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/addressbookpage.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'addressbookpage.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AddressBookPage[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: signature, parameters, type, tag, flags - 22, 17, 16, 16, 0x05, - 43, 17, 16, 16, 0x05, - 66, 17, 16, 16, 0x05, - - // slots: signature, parameters, type, tag, flags - 92, 85, 16, 16, 0x0a, - 102, 16, 16, 16, 0x08, - 129, 16, 16, 16, 0x08, - 153, 16, 16, 16, 0x08, - 178, 16, 16, 16, 0x08, - 203, 16, 16, 16, 0x08, - 230, 16, 16, 16, 0x08, - 250, 16, 16, 16, 0x08, - 274, 16, 16, 16, 0x08, - 294, 16, 16, 16, 0x08, - 309, 16, 16, 16, 0x08, - 335, 16, 16, 16, 0x08, - 360, 354, 16, 16, 0x08, - 397, 383, 16, 16, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AddressBookPage[] = { - "AddressBookPage\0\0addr\0signMessage(QString)\0" - "verifyMessage(QString)\0sendCoins(QString)\0" - "retval\0done(int)\0on_deleteAddress_clicked()\0" - "on_newAddress_clicked()\0" - "on_copyAddress_clicked()\0" - "on_signMessage_clicked()\0" - "on_verifyMessage_clicked()\0" - "onSendCoinsAction()\0on_showQRCode_clicked()\0" - "onCopyLabelAction()\0onEditAction()\0" - "on_exportButton_clicked()\0selectionChanged()\0" - "point\0contextualMenu(QPoint)\0parent,begin,\0" - "selectNewAddress(QModelIndex,int,int)\0" -}; - -void AddressBookPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AddressBookPage *_t = static_cast(_o); - switch (_id) { - case 0: _t->signMessage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->verifyMessage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->sendCoins((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 3: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break; - case 4: _t->on_deleteAddress_clicked(); break; - case 5: _t->on_newAddress_clicked(); break; - case 6: _t->on_copyAddress_clicked(); break; - case 7: _t->on_signMessage_clicked(); break; - case 8: _t->on_verifyMessage_clicked(); break; - case 9: _t->onSendCoinsAction(); break; - case 10: _t->on_showQRCode_clicked(); break; - case 11: _t->onCopyLabelAction(); break; - case 12: _t->onEditAction(); break; - case 13: _t->on_exportButton_clicked(); break; - case 14: _t->selectionChanged(); break; - case 15: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; - case 16: _t->selectNewAddress((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData AddressBookPage::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AddressBookPage::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_AddressBookPage, - qt_meta_data_AddressBookPage, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AddressBookPage::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AddressBookPage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AddressBookPage::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AddressBookPage)) - return static_cast(const_cast< AddressBookPage*>(this)); - return QDialog::qt_metacast(_clname); -} - -int AddressBookPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void AddressBookPage::signMessage(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void AddressBookPage::verifyMessage(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void AddressBookPage::sendCoins(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_addresstablemodel.cpp b/build/moc_addresstablemodel.cpp deleted file mode 100644 index bec26f5..0000000 --- a/build/moc_addresstablemodel.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'addresstablemodel.h' -** -** Created: Fri Dec 27 12:48:59 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/addresstablemodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'addresstablemodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AddressTableModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 27, 19, 18, 18, 0x05, - - // slots: signature, parameters, type, tag, flags - 86, 58, 18, 18, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_AddressTableModel[] = { - "AddressTableModel\0\0address\0" - "defaultAddressChanged(QString)\0" - "address,label,isMine,status\0" - "updateEntry(QString,QString,bool,int)\0" -}; - -void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AddressTableModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->defaultAddressChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 1: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData AddressTableModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AddressTableModel::staticMetaObject = { - { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_AddressTableModel, - qt_meta_data_AddressTableModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AddressTableModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AddressTableModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AddressTableModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AddressTableModel)) - return static_cast(const_cast< AddressTableModel*>(this)); - return QAbstractTableModel::qt_metacast(_clname); -} - -int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractTableModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void AddressTableModel::defaultAddressChanged(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_askpassphrasedialog.cpp b/build/moc_askpassphrasedialog.cpp deleted file mode 100644 index 6cda0b1..0000000 --- a/build/moc_askpassphrasedialog.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'askpassphrasedialog.h' -** -** Created: Fri Dec 27 12:49:21 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/askpassphrasedialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'askpassphrasedialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AskPassphraseDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 21, 20, 20, 20, 0x08, - 46, 40, 35, 20, 0x08, - 74, 61, 35, 20, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AskPassphraseDialog[] = { - "AskPassphraseDialog\0\0textChanged()\0" - "bool\0event\0event(QEvent*)\0object,event\0" - "eventFilter(QObject*,QEvent*)\0" -}; - -void AskPassphraseDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AskPassphraseDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->textChanged(); break; - case 1: { bool _r = _t->event((*reinterpret_cast< QEvent*(*)>(_a[1]))); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; - case 2: { bool _r = _t->eventFilter((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< QEvent*(*)>(_a[2]))); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; - default: ; - } - } -} - -const QMetaObjectExtraData AskPassphraseDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AskPassphraseDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_AskPassphraseDialog, - qt_meta_data_AskPassphraseDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AskPassphraseDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AskPassphraseDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AskPassphraseDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AskPassphraseDialog)) - return static_cast(const_cast< AskPassphraseDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int AskPassphraseDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_askpassphrasedialog.o b/build/moc_askpassphrasedialog.o deleted file mode 100644 index e3e7df4..0000000 Binary files a/build/moc_askpassphrasedialog.o and /dev/null differ diff --git a/build/moc_bitcoinaddressvalidator.cpp b/build/moc_bitcoinaddressvalidator.cpp deleted file mode 100644 index 5b56a2c..0000000 --- a/build/moc_bitcoinaddressvalidator.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'bitcoinaddressvalidator.h' -** -** Created: Fri Dec 27 12:49:05 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/bitcoinaddressvalidator.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'bitcoinaddressvalidator.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_BitcoinAddressValidator[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_BitcoinAddressValidator[] = { - "BitcoinAddressValidator\0" -}; - -void BitcoinAddressValidator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData BitcoinAddressValidator::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject BitcoinAddressValidator::staticMetaObject = { - { &QValidator::staticMetaObject, qt_meta_stringdata_BitcoinAddressValidator, - qt_meta_data_BitcoinAddressValidator, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &BitcoinAddressValidator::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *BitcoinAddressValidator::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *BitcoinAddressValidator::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_BitcoinAddressValidator)) - return static_cast(const_cast< BitcoinAddressValidator*>(this)); - return QValidator::qt_metacast(_clname); -} - -int BitcoinAddressValidator::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QValidator::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_bitcoinaddressvalidator.o b/build/moc_bitcoinaddressvalidator.o deleted file mode 100644 index 05bfa7e..0000000 Binary files a/build/moc_bitcoinaddressvalidator.o and /dev/null differ diff --git a/build/moc_bitcoinamountfield.cpp b/build/moc_bitcoinamountfield.cpp deleted file mode 100644 index 95a5bce..0000000 --- a/build/moc_bitcoinamountfield.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'bitcoinamountfield.h' -** -** Created: Fri Dec 27 12:49:10 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/bitcoinamountfield.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'bitcoinamountfield.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_BitcoinAmountField[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 1, 24, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 20, 19, 19, 19, 0x05, - - // slots: signature, parameters, type, tag, flags - 38, 34, 19, 19, 0x08, - - // properties: name, type, flags - 62, 55, 0x04595103, - - // properties: notify_signal_id - 0, - - 0 // eod -}; - -static const char qt_meta_stringdata_BitcoinAmountField[] = { - "BitcoinAmountField\0\0textChanged()\0idx\0" - "unitChanged(int)\0qint64\0value\0" -}; - -void BitcoinAmountField::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - BitcoinAmountField *_t = static_cast(_o); - switch (_id) { - case 0: _t->textChanged(); break; - case 1: _t->unitChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData BitcoinAmountField::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject BitcoinAmountField::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_BitcoinAmountField, - qt_meta_data_BitcoinAmountField, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &BitcoinAmountField::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *BitcoinAmountField::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *BitcoinAmountField::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_BitcoinAmountField)) - return static_cast(const_cast< BitcoinAmountField*>(this)); - return QWidget::qt_metacast(_clname); -} - -int BitcoinAmountField::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } -#ifndef QT_NO_PROPERTIES - else if (_c == QMetaObject::ReadProperty) { - void *_v = _a[0]; - switch (_id) { - case 0: *reinterpret_cast< qint64*>(_v) = value(); break; - } - _id -= 1; - } else if (_c == QMetaObject::WriteProperty) { - void *_v = _a[0]; - switch (_id) { - case 0: setValue(*reinterpret_cast< qint64*>(_v)); break; - } - _id -= 1; - } else if (_c == QMetaObject::ResetProperty) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyDesignable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyScriptable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyStored) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyEditable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyUser) { - _id -= 1; - } -#endif // QT_NO_PROPERTIES - return _id; -} - -// SIGNAL 0 -void BitcoinAmountField::textChanged() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_bitcoinamountfield.o b/build/moc_bitcoinamountfield.o deleted file mode 100644 index f5bf47d..0000000 Binary files a/build/moc_bitcoinamountfield.o and /dev/null differ diff --git a/build/moc_bitcoingui.cpp b/build/moc_bitcoingui.cpp deleted file mode 100644 index 5c4914b..0000000 --- a/build/moc_bitcoingui.cpp +++ /dev/null @@ -1,181 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'bitcoingui.h' -** -** Created: Wed Jan 1 17:56:03 2014 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/bitcoingui.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'bitcoingui.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_BitcoinGUI[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 33, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 18, 12, 11, 11, 0x0a, - 60, 41, 11, 11, 0x0a, - 89, 82, 11, 11, 0x0a, - 138, 114, 11, 11, 0x0a, - 194, 174, 11, 11, 0x2a, - 244, 224, 11, 11, 0x0a, - 275, 265, 11, 11, 0x0a, - 310, 303, 11, 11, 0x0a, - 359, 329, 11, 11, 0x0a, - 415, 11, 11, 11, 0x08, - 434, 11, 11, 11, 0x08, - 452, 11, 11, 11, 0x08, - 474, 11, 11, 11, 0x08, - 502, 497, 11, 11, 0x08, - 529, 11, 11, 11, 0x28, - 549, 497, 11, 11, 0x08, - 577, 11, 11, 11, 0x28, - 598, 497, 11, 11, 0x08, - 628, 11, 11, 11, 0x28, - 651, 11, 11, 11, 0x08, - 668, 11, 11, 11, 0x08, - 683, 11, 11, 11, 0x08, - 699, 11, 11, 11, 0x08, - 714, 11, 11, 11, 0x08, - 727, 11, 11, 11, 0x08, - 748, 11, 11, 11, 0x08, - 765, 11, 11, 11, 0x08, - 790, 783, 11, 11, 0x08, - 857, 843, 11, 11, 0x08, - 885, 11, 11, 11, 0x28, - 909, 11, 11, 11, 0x08, - 924, 11, 11, 11, 0x08, - 941, 11, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_BitcoinGUI[] = { - "BitcoinGUI\0\0count\0setNumConnections(int)\0" - "count,nTotalBlocks\0setNumBlocks(int,int)\0" - "status\0setEncryptionStatus(int)\0" - "title,message,style,ret\0" - "message(QString,QString,uint,bool*)\0" - "title,message,style\0message(QString,QString,uint)\0" - "nFeeRequired,payFee\0askFee(qint64,bool*)\0" - "sLog,sOut\0GetResult(QString,QString*)\0" - "strURI\0handleURI(QString)\0" - "date,unit,amount,type,address\0" - "incomingTransaction(QString,int,qint64,QString,QString)\0" - "gotoOverviewPage()\0gotoHistoryPage()\0" - "gotoAddressBookPage()\0gotoReceiveCoinsPage()\0" - "addr\0gotoSendCoinsPage(QString)\0" - "gotoSendCoinsPage()\0gotoSignMessageTab(QString)\0" - "gotoSignMessageTab()\0gotoVerifyMessageTab(QString)\0" - "gotoVerifyMessageTab()\0optionsClicked()\0" - "aboutClicked()\0miningClicked()\0" - "emailClicked()\0sqlClicked()\0" - "leaderboardClicked()\0rebuildClicked()\0" - "projectsClicked()\0reason\0" - "trayIconActivated(QSystemTrayIcon::ActivationReason)\0" - "fToggleHidden\0showNormalIfMinimized(bool)\0" - "showNormalIfMinimized()\0toggleHidden()\0" - "detectShutdown()\0timerfire()\0" -}; - -void BitcoinGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - BitcoinGUI *_t = static_cast(_o); - switch (_id) { - case 0: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break; - case 1: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 2: _t->setEncryptionStatus((*reinterpret_cast< int(*)>(_a[1]))); break; - case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break; - case 4: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break; - case 5: _t->askFee((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2]))); break; - case 6: _t->GetResult((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString*(*)>(_a[2]))); break; - case 7: _t->handleURI((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 8: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break; - case 9: _t->gotoOverviewPage(); break; - case 10: _t->gotoHistoryPage(); break; - case 11: _t->gotoAddressBookPage(); break; - case 12: _t->gotoReceiveCoinsPage(); break; - case 13: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 14: _t->gotoSendCoinsPage(); break; - case 15: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 16: _t->gotoSignMessageTab(); break; - case 17: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 18: _t->gotoVerifyMessageTab(); break; - case 19: _t->optionsClicked(); break; - case 20: _t->aboutClicked(); break; - case 21: _t->miningClicked(); break; - case 22: _t->emailClicked(); break; - case 23: _t->sqlClicked(); break; - case 24: _t->leaderboardClicked(); break; - case 25: _t->rebuildClicked(); break; - case 26: _t->projectsClicked(); break; - case 27: _t->trayIconActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break; - case 28: _t->showNormalIfMinimized((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 29: _t->showNormalIfMinimized(); break; - case 30: _t->toggleHidden(); break; - case 31: _t->detectShutdown(); break; - case 32: _t->timerfire(); break; - default: ; - } - } -} - -const QMetaObjectExtraData BitcoinGUI::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject BitcoinGUI::staticMetaObject = { - { &QMainWindow::staticMetaObject, qt_meta_stringdata_BitcoinGUI, - qt_meta_data_BitcoinGUI, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &BitcoinGUI::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *BitcoinGUI::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *BitcoinGUI::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_BitcoinGUI)) - return static_cast(const_cast< BitcoinGUI*>(this)); - return QMainWindow::qt_metacast(_clname); -} - -int BitcoinGUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QMainWindow::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 33) - qt_static_metacall(this, _c, _id, _a); - _id -= 33; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_bitcoingui.o b/build/moc_bitcoingui.o deleted file mode 100644 index b9bfbc3..0000000 Binary files a/build/moc_bitcoingui.o and /dev/null differ diff --git a/build/moc_bitcoinunits.cpp b/build/moc_bitcoinunits.cpp deleted file mode 100644 index 20073a6..0000000 --- a/build/moc_bitcoinunits.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'bitcoinunits.h' -** -** Created: Fri Dec 27 12:49:19 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/bitcoinunits.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'bitcoinunits.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_BitcoinUnits[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_BitcoinUnits[] = { - "BitcoinUnits\0" -}; - -void BitcoinUnits::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData BitcoinUnits::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject BitcoinUnits::staticMetaObject = { - { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_BitcoinUnits, - qt_meta_data_BitcoinUnits, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &BitcoinUnits::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *BitcoinUnits::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *BitcoinUnits::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_BitcoinUnits)) - return static_cast(const_cast< BitcoinUnits*>(this)); - return QAbstractListModel::qt_metacast(_clname); -} - -int BitcoinUnits::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractListModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_clientmodel.cpp b/build/moc_clientmodel.cpp deleted file mode 100644 index f480ef6..0000000 --- a/build/moc_clientmodel.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'clientmodel.h' -** -** Created: Fri Dec 27 12:49:06 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/clientmodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'clientmodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ClientModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: signature, parameters, type, tag, flags - 19, 13, 12, 12, 0x05, - 65, 46, 12, 12, 0x05, - 100, 91, 12, 12, 0x05, - 143, 123, 12, 12, 0x05, - - // slots: signature, parameters, type, tag, flags - 173, 12, 12, 12, 0x0a, - 202, 187, 12, 12, 0x0a, - 240, 228, 12, 12, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_ClientModel[] = { - "ClientModel\0\0count\0numConnectionsChanged(int)\0" - "count,countOfPeers\0numBlocksChanged(int,int)\0" - "warnings\0alertsChanged(QString)\0" - "title,message,style\0message(QString,QString,uint)\0" - "updateTimer()\0numConnections\0" - "updateNumConnections(int)\0hash,status\0" - "updateAlert(QString,int)\0" -}; - -void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ClientModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->numConnectionsChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 1: _t->numBlocksChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 2: _t->alertsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break; - case 4: _t->updateTimer(); break; - case 5: _t->updateNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break; - case 6: _t->updateAlert((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ClientModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ClientModel::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_ClientModel, - qt_meta_data_ClientModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ClientModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ClientModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ClientModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ClientModel)) - return static_cast(const_cast< ClientModel*>(this)); - return QObject::qt_metacast(_clname); -} - -int ClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void ClientModel::numConnectionsChanged(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void ClientModel::numBlocksChanged(int _t1, int _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void ClientModel::alertsChanged(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void ClientModel::message(const QString & _t1, const QString & _t2, unsigned int _t3) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_clientmodel.o b/build/moc_clientmodel.o deleted file mode 100644 index 3307638..0000000 Binary files a/build/moc_clientmodel.o and /dev/null differ diff --git a/build/moc_csvmodelwriter.cpp b/build/moc_csvmodelwriter.cpp deleted file mode 100644 index 631d5d9..0000000 --- a/build/moc_csvmodelwriter.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'csvmodelwriter.h' -** -** Created: Fri Dec 27 12:49:17 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/csvmodelwriter.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'csvmodelwriter.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_CSVModelWriter[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_CSVModelWriter[] = { - "CSVModelWriter\0" -}; - -void CSVModelWriter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData CSVModelWriter::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject CSVModelWriter::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_CSVModelWriter, - qt_meta_data_CSVModelWriter, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &CSVModelWriter::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *CSVModelWriter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *CSVModelWriter::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_CSVModelWriter)) - return static_cast(const_cast< CSVModelWriter*>(this)); - return QObject::qt_metacast(_clname); -} - -int CSVModelWriter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_csvmodelwriter.o b/build/moc_csvmodelwriter.o deleted file mode 100644 index 24e8792..0000000 Binary files a/build/moc_csvmodelwriter.o and /dev/null differ diff --git a/build/moc_editaddressdialog.cpp b/build/moc_editaddressdialog.cpp deleted file mode 100644 index f6b12b8..0000000 --- a/build/moc_editaddressdialog.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'editaddressdialog.h' -** -** Created: Fri Dec 27 12:49:04 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/editaddressdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'editaddressdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_EditAddressDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 19, 18, 18, 18, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_EditAddressDialog[] = { - "EditAddressDialog\0\0accept()\0" -}; - -void EditAddressDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - EditAddressDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->accept(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData EditAddressDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject EditAddressDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_EditAddressDialog, - qt_meta_data_EditAddressDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &EditAddressDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *EditAddressDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *EditAddressDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_EditAddressDialog)) - return static_cast(const_cast< EditAddressDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int EditAddressDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_editaddressdialog.o b/build/moc_editaddressdialog.o deleted file mode 100644 index 433fa1c..0000000 Binary files a/build/moc_editaddressdialog.o and /dev/null differ diff --git a/build/moc_guiutil.cpp b/build/moc_guiutil.cpp deleted file mode 100644 index 7672668..0000000 --- a/build/moc_guiutil.cpp +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'guiutil.h' -** -** Created: Fri Dec 27 12:49:06 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/guiutil.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'guiutil.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_GUIUtil__ToolTipToRichTextFilter[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter[] = { - "GUIUtil::ToolTipToRichTextFilter\0" -}; - -void GUIUtil::ToolTipToRichTextFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData GUIUtil::ToolTipToRichTextFilter::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject GUIUtil::ToolTipToRichTextFilter::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter, - qt_meta_data_GUIUtil__ToolTipToRichTextFilter, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &GUIUtil::ToolTipToRichTextFilter::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *GUIUtil::ToolTipToRichTextFilter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *GUIUtil::ToolTipToRichTextFilter::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_GUIUtil__ToolTipToRichTextFilter)) - return static_cast(const_cast< ToolTipToRichTextFilter*>(this)); - return QObject::qt_metacast(_clname); -} - -int GUIUtil::ToolTipToRichTextFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -static const uint qt_meta_data_GUIUtil__HelpMessageBox[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_GUIUtil__HelpMessageBox[] = { - "GUIUtil::HelpMessageBox\0" -}; - -void GUIUtil::HelpMessageBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData GUIUtil::HelpMessageBox::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject GUIUtil::HelpMessageBox::staticMetaObject = { - { &QMessageBox::staticMetaObject, qt_meta_stringdata_GUIUtil__HelpMessageBox, - qt_meta_data_GUIUtil__HelpMessageBox, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &GUIUtil::HelpMessageBox::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *GUIUtil::HelpMessageBox::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *GUIUtil::HelpMessageBox::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_GUIUtil__HelpMessageBox)) - return static_cast(const_cast< HelpMessageBox*>(this)); - return QMessageBox::qt_metacast(_clname); -} - -int GUIUtil::HelpMessageBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QMessageBox::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_guiutil.o b/build/moc_guiutil.o deleted file mode 100644 index ef3e0a6..0000000 Binary files a/build/moc_guiutil.o and /dev/null differ diff --git a/build/moc_macnotificationhandler.cpp b/build/moc_macnotificationhandler.cpp deleted file mode 100644 index bb91097..0000000 --- a/build/moc_macnotificationhandler.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'macnotificationhandler.h' -** -** Created: Fri Dec 27 12:49:23 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/macnotificationhandler.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'macnotificationhandler.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MacNotificationHandler[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_MacNotificationHandler[] = { - "MacNotificationHandler\0" -}; - -void MacNotificationHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData MacNotificationHandler::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MacNotificationHandler::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_MacNotificationHandler, - qt_meta_data_MacNotificationHandler, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MacNotificationHandler::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MacNotificationHandler::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MacNotificationHandler::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MacNotificationHandler)) - return static_cast(const_cast< MacNotificationHandler*>(this)); - return QObject::qt_metacast(_clname); -} - -int MacNotificationHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_macnotificationhandler.o b/build/moc_macnotificationhandler.o deleted file mode 100644 index 4881005..0000000 Binary files a/build/moc_macnotificationhandler.o and /dev/null differ diff --git a/build/moc_miningdialog.cpp b/build/moc_miningdialog.cpp deleted file mode 100644 index 0d4852d..0000000 --- a/build/moc_miningdialog.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'miningdialog.h' -** -** Created: Fri Dec 27 12:49:03 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/miningdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'miningdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MiningDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x08, - 31, 13, 13, 13, 0x08, - 49, 13, 13, 13, 0x08, - 63, 13, 13, 13, 0x08, - 111, 83, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_MiningDialog[] = { - "MiningDialog\0\0refreshClicked()\0" - "registerClicked()\0exitClicked()\0" - "unregisterClicked()\0program,sFilename,sArgument\0" - "regsvr(QString,QString,QString)\0" -}; - -void MiningDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MiningDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->refreshClicked(); break; - case 1: _t->registerClicked(); break; - case 2: _t->exitClicked(); break; - case 3: _t->unregisterClicked(); break; - case 4: _t->regsvr((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData MiningDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MiningDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_MiningDialog, - qt_meta_data_MiningDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MiningDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MiningDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MiningDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MiningDialog)) - return static_cast(const_cast< MiningDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int MiningDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_monitoreddatamapper.cpp b/build/moc_monitoreddatamapper.cpp deleted file mode 100644 index 1b1b358..0000000 --- a/build/moc_monitoreddatamapper.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'monitoreddatamapper.h' -** -** Created: Fri Dec 27 12:49:08 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/monitoreddatamapper.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'monitoreddatamapper.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MonitoredDataMapper[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 21, 20, 20, 20, 0x05, - - 0 // eod -}; - -static const char qt_meta_stringdata_MonitoredDataMapper[] = { - "MonitoredDataMapper\0\0viewModified()\0" -}; - -void MonitoredDataMapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MonitoredDataMapper *_t = static_cast(_o); - switch (_id) { - case 0: _t->viewModified(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData MonitoredDataMapper::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MonitoredDataMapper::staticMetaObject = { - { &QDataWidgetMapper::staticMetaObject, qt_meta_stringdata_MonitoredDataMapper, - qt_meta_data_MonitoredDataMapper, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MonitoredDataMapper::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MonitoredDataMapper::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MonitoredDataMapper::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MonitoredDataMapper)) - return static_cast(const_cast< MonitoredDataMapper*>(this)); - return QDataWidgetMapper::qt_metacast(_clname); -} - -int MonitoredDataMapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDataWidgetMapper::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void MonitoredDataMapper::viewModified() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_notificator.cpp b/build/moc_notificator.cpp deleted file mode 100644 index f9f83e1..0000000 --- a/build/moc_notificator.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'notificator.h' -** -** Created: Fri Dec 27 12:49:21 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/notificator.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'notificator.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_Notificator[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 47, 13, 12, 12, 0x0a, - 107, 87, 12, 12, 0x2a, - 158, 143, 12, 12, 0x2a, - - 0 // eod -}; - -static const char qt_meta_stringdata_Notificator[] = { - "Notificator\0\0cls,title,text,icon,millisTimeout\0" - "notify(Class,QString,QString,QIcon,int)\0" - "cls,title,text,icon\0" - "notify(Class,QString,QString,QIcon)\0" - "cls,title,text\0notify(Class,QString,QString)\0" -}; - -void Notificator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - Notificator *_t = static_cast(_o); - switch (_id) { - case 0: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QIcon(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break; - case 1: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QIcon(*)>(_a[4]))); break; - case 2: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData Notificator::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject Notificator::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_Notificator, - qt_meta_data_Notificator, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &Notificator::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *Notificator::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *Notificator::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_Notificator)) - return static_cast(const_cast< Notificator*>(this)); - return QObject::qt_metacast(_clname); -} - -int Notificator::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_optionsdialog.cpp b/build/moc_optionsdialog.cpp deleted file mode 100644 index d6f8426..0000000 --- a/build/moc_optionsdialog.cpp +++ /dev/null @@ -1,139 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'optionsdialog.h' -** -** Created: Fri Dec 27 12:48:59 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/optionsdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'optionsdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_OptionsDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 29, 15, 14, 14, 0x05, - - // slots: signature, parameters, type, tag, flags - 68, 14, 14, 14, 0x08, - 88, 14, 14, 14, 0x08, - 109, 14, 14, 14, 0x08, - 129, 14, 14, 14, 0x08, - 157, 150, 14, 14, 0x08, - 182, 14, 14, 14, 0x08, - 207, 14, 14, 14, 0x08, - 229, 14, 14, 14, 0x08, - 255, 14, 14, 14, 0x08, - 280, 14, 14, 14, 0x08, - 307, 14, 14, 14, 0x08, - 333, 14, 14, 14, 0x08, - 367, 353, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_OptionsDialog[] = { - "OptionsDialog\0\0object,fValid\0" - "proxyIpValid(QValidatedLineEdit*,bool)\0" - "enableApplyButton()\0disableApplyButton()\0" - "enableSaveButtons()\0disableSaveButtons()\0" - "fState\0setSaveButtonState(bool)\0" - "on_resetButton_clicked()\0on_okButton_clicked()\0" - "on_cancelButton_clicked()\0" - "on_applyButton_clicked()\0" - "showRestartWarning_Proxy()\0" - "showRestartWarning_Lang()\0updateDisplayUnit()\0" - "object,fState\0" - "handleProxyIpValid(QValidatedLineEdit*,bool)\0" -}; - -void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - OptionsDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->proxyIpValid((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; - case 1: _t->enableApplyButton(); break; - case 2: _t->disableApplyButton(); break; - case 3: _t->enableSaveButtons(); break; - case 4: _t->disableSaveButtons(); break; - case 5: _t->setSaveButtonState((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 6: _t->on_resetButton_clicked(); break; - case 7: _t->on_okButton_clicked(); break; - case 8: _t->on_cancelButton_clicked(); break; - case 9: _t->on_applyButton_clicked(); break; - case 10: _t->showRestartWarning_Proxy(); break; - case 11: _t->showRestartWarning_Lang(); break; - case 12: _t->updateDisplayUnit(); break; - case 13: _t->handleProxyIpValid((*reinterpret_cast< QValidatedLineEdit*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData OptionsDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject OptionsDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_OptionsDialog, - qt_meta_data_OptionsDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &OptionsDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *OptionsDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *OptionsDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_OptionsDialog)) - return static_cast(const_cast< OptionsDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int OptionsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void OptionsDialog::proxyIpValid(QValidatedLineEdit * _t1, bool _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_optionsmodel.cpp b/build/moc_optionsmodel.cpp deleted file mode 100644 index 1bd14d7..0000000 --- a/build/moc_optionsmodel.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'optionsmodel.h' -** -** Created: Fri Dec 27 12:49:07 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/optionsmodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'optionsmodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_OptionsModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 19, 14, 13, 13, 0x05, - - 0 // eod -}; - -static const char qt_meta_stringdata_OptionsModel[] = { - "OptionsModel\0\0unit\0displayUnitChanged(int)\0" -}; - -void OptionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - OptionsModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->displayUnitChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData OptionsModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject OptionsModel::staticMetaObject = { - { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_OptionsModel, - qt_meta_data_OptionsModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &OptionsModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *OptionsModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *OptionsModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_OptionsModel)) - return static_cast(const_cast< OptionsModel*>(this)); - return QAbstractListModel::qt_metacast(_clname); -} - -int OptionsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractListModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void OptionsModel::displayUnitChanged(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_overviewpage.cpp b/build/moc_overviewpage.cpp deleted file mode 100644 index 52849a4..0000000 --- a/build/moc_overviewpage.cpp +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'overviewpage.h' -** -** Created: Fri Dec 27 12:49:16 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/overviewpage.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'overviewpage.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_OverviewPage[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 20, 14, 13, 13, 0x05, - - // slots: signature, parameters, type, tag, flags - 95, 52, 13, 13, 0x0a, - 128, 13, 13, 13, 0x08, - 148, 14, 13, 13, 0x08, - 195, 186, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_OverviewPage[] = { - "OverviewPage\0\0index\0transactionClicked(QModelIndex)\0" - "balance,unconfirmedBalance,immatureBalance\0" - "setBalance(qint64,qint64,qint64)\0" - "updateDisplayUnit()\0" - "handleTransactionClicked(QModelIndex)\0" - "warnings\0updateAlerts(QString)\0" -}; - -void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - OverviewPage *_t = static_cast(_o); - switch (_id) { - case 0: _t->transactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 1: _t->setBalance((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3]))); break; - case 2: _t->updateDisplayUnit(); break; - case 3: _t->handleTransactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 4: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData OverviewPage::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject OverviewPage::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_OverviewPage, - qt_meta_data_OverviewPage, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &OverviewPage::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *OverviewPage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *OverviewPage::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_OverviewPage)) - return static_cast(const_cast< OverviewPage*>(this)); - return QWidget::qt_metacast(_clname); -} - -int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void OverviewPage::transactionClicked(const QModelIndex & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_paymentserver.cpp b/build/moc_paymentserver.cpp deleted file mode 100644 index 871dc6d..0000000 --- a/build/moc_paymentserver.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'paymentserver.h' -** -** Created: Fri Dec 27 12:49:22 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/paymentserver.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'paymentserver.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PaymentServer[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x05, - - // slots: signature, parameters, type, tag, flags - 36, 14, 14, 14, 0x0a, - 46, 14, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_PaymentServer[] = { - "PaymentServer\0\0receivedURI(QString)\0" - "uiReady()\0handleURIConnection()\0" -}; - -void PaymentServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PaymentServer *_t = static_cast(_o); - switch (_id) { - case 0: _t->receivedURI((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->uiReady(); break; - case 2: _t->handleURIConnection(); break; - default: ; - } - } -} - -const QMetaObjectExtraData PaymentServer::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PaymentServer::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_PaymentServer, - qt_meta_data_PaymentServer, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PaymentServer::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PaymentServer::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PaymentServer::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PaymentServer)) - return static_cast(const_cast< PaymentServer*>(this)); - return QObject::qt_metacast(_clname); -} - -int PaymentServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void PaymentServer::receivedURI(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_qvalidatedlineedit.cpp b/build/moc_qvalidatedlineedit.cpp deleted file mode 100644 index 6ba34d7..0000000 --- a/build/moc_qvalidatedlineedit.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'qvalidatedlineedit.h' -** -** Created: Fri Dec 27 12:49:18 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/qvalidatedlineedit.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'qvalidatedlineedit.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_QValidatedLineEdit[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 26, 20, 19, 19, 0x0a, - 41, 19, 19, 19, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_QValidatedLineEdit[] = { - "QValidatedLineEdit\0\0valid\0setValid(bool)\0" - "markValid()\0" -}; - -void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - QValidatedLineEdit *_t = static_cast(_o); - switch (_id) { - case 0: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->markValid(); break; - default: ; - } - } -} - -const QMetaObjectExtraData QValidatedLineEdit::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject QValidatedLineEdit::staticMetaObject = { - { &QLineEdit::staticMetaObject, qt_meta_stringdata_QValidatedLineEdit, - qt_meta_data_QValidatedLineEdit, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &QValidatedLineEdit::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *QValidatedLineEdit::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *QValidatedLineEdit::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_QValidatedLineEdit)) - return static_cast(const_cast< QValidatedLineEdit*>(this)); - return QLineEdit::qt_metacast(_clname); -} - -int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QLineEdit::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_qvaluecombobox.cpp b/build/moc_qvaluecombobox.cpp deleted file mode 100644 index 1f2d143..0000000 --- a/build/moc_qvaluecombobox.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'qvaluecombobox.h' -** -** Created: Fri Dec 27 12:49:20 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/qvaluecombobox.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'qvaluecombobox.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_QValueComboBox[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 1, 24, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x05, - - // slots: signature, parameters, type, tag, flags - 35, 31, 15, 15, 0x08, - - // properties: name, type, flags - 72, 63, 0xff595103, - - // properties: notify_signal_id - 0, - - 0 // eod -}; - -static const char qt_meta_stringdata_QValueComboBox[] = { - "QValueComboBox\0\0valueChanged()\0idx\0" - "handleSelectionChanged(int)\0QVariant\0" - "value\0" -}; - -void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - QValueComboBox *_t = static_cast(_o); - switch (_id) { - case 0: _t->valueChanged(); break; - case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData QValueComboBox::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject QValueComboBox::staticMetaObject = { - { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox, - qt_meta_data_QValueComboBox, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &QValueComboBox::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *QValueComboBox::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *QValueComboBox::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox)) - return static_cast(const_cast< QValueComboBox*>(this)); - return QComboBox::qt_metacast(_clname); -} - -int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QComboBox::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } -#ifndef QT_NO_PROPERTIES - else if (_c == QMetaObject::ReadProperty) { - void *_v = _a[0]; - switch (_id) { - case 0: *reinterpret_cast< QVariant*>(_v) = value(); break; - } - _id -= 1; - } else if (_c == QMetaObject::WriteProperty) { - void *_v = _a[0]; - switch (_id) { - case 0: setValue(*reinterpret_cast< QVariant*>(_v)); break; - } - _id -= 1; - } else if (_c == QMetaObject::ResetProperty) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyDesignable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyScriptable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyStored) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyEditable) { - _id -= 1; - } else if (_c == QMetaObject::QueryPropertyUser) { - _id -= 1; - } -#endif // QT_NO_PROPERTIES - return _id; -} - -// SIGNAL 0 -void QValueComboBox::valueChanged() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_rpcconsole.cpp b/build/moc_rpcconsole.cpp deleted file mode 100644 index a446678..0000000 --- a/build/moc_rpcconsole.cpp +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'rpcconsole.h' -** -** Created: Fri Dec 27 12:49:23 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/rpcconsole.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'rpcconsole.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_RPCConsole[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 13, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x05, - 35, 27, 11, 11, 0x05, - - // slots: signature, parameters, type, tag, flags - 55, 11, 11, 11, 0x08, - 89, 83, 11, 11, 0x08, - 122, 11, 11, 11, 0x08, - 158, 11, 11, 11, 0x08, - 191, 11, 11, 11, 0x0a, - 221, 199, 11, 11, 0x0a, - 264, 247, 11, 11, 0x2a, - 291, 285, 11, 11, 0x0a, - 333, 314, 11, 11, 0x0a, - 362, 355, 11, 11, 0x0a, - 381, 11, 11, 11, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_RPCConsole[] = { - "RPCConsole\0\0stopExecutor()\0command\0" - "cmdRequest(QString)\0on_lineEdit_returnPressed()\0" - "index\0on_tabWidget_currentChanged(int)\0" - "on_openDebugLogfileButton_clicked()\0" - "on_showCLOptionsButton_clicked()\0" - "clear()\0category,message,html\0" - "message(int,QString,bool)\0category,message\0" - "message(int,QString)\0count\0" - "setNumConnections(int)\0count,countOfPeers\0" - "setNumBlocks(int,int)\0offset\0" - "browseHistory(int)\0scrollToEnd()\0" -}; - -void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - RPCConsole *_t = static_cast(_o); - switch (_id) { - case 0: _t->stopExecutor(); break; - case 1: _t->cmdRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 2: _t->on_lineEdit_returnPressed(); break; - case 3: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 4: _t->on_openDebugLogfileButton_clicked(); break; - case 5: _t->on_showCLOptionsButton_clicked(); break; - case 6: _t->clear(); break; - case 7: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; - case 8: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 9: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break; - case 10: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 11: _t->browseHistory((*reinterpret_cast< int(*)>(_a[1]))); break; - case 12: _t->scrollToEnd(); break; - default: ; - } - } -} - -const QMetaObjectExtraData RPCConsole::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject RPCConsole::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_RPCConsole, - qt_meta_data_RPCConsole, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &RPCConsole::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *RPCConsole::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *RPCConsole::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_RPCConsole)) - return static_cast(const_cast< RPCConsole*>(this)); - return QDialog::qt_metacast(_clname); -} - -int RPCConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } - return _id; -} - -// SIGNAL 0 -void RPCConsole::stopExecutor() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} - -// SIGNAL 1 -void RPCConsole::cmdRequest(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_sendcoinsdialog.cpp b/build/moc_sendcoinsdialog.cpp deleted file mode 100644 index acf42d1..0000000 --- a/build/moc_sendcoinsdialog.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'sendcoinsdialog.h' -** -** Created: Fri Dec 27 12:49:00 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/sendcoinsdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'sendcoinsdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_SendCoinsDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 9, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 17, 16, 16, 16, 0x0a, - 25, 16, 16, 16, 0x0a, - 34, 16, 16, 16, 0x0a, - 59, 16, 43, 16, 0x0a, - 70, 16, 16, 16, 0x0a, - 135, 92, 16, 16, 0x0a, - 168, 16, 16, 16, 0x08, - 198, 192, 16, 16, 0x08, - 227, 16, 16, 16, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_SendCoinsDialog[] = { - "SendCoinsDialog\0\0clear()\0reject()\0" - "accept()\0SendCoinsEntry*\0addEntry()\0" - "updateRemoveEnabled()\0" - "balance,unconfirmedBalance,immatureBalance\0" - "setBalance(qint64,qint64,qint64)\0" - "on_sendButton_clicked()\0entry\0" - "removeEntry(SendCoinsEntry*)\0" - "updateDisplayUnit()\0" -}; - -void SendCoinsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - SendCoinsDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->clear(); break; - case 1: _t->reject(); break; - case 2: _t->accept(); break; - case 3: { SendCoinsEntry* _r = _t->addEntry(); - if (_a[0]) *reinterpret_cast< SendCoinsEntry**>(_a[0]) = _r; } break; - case 4: _t->updateRemoveEnabled(); break; - case 5: _t->setBalance((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3]))); break; - case 6: _t->on_sendButton_clicked(); break; - case 7: _t->removeEntry((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break; - case 8: _t->updateDisplayUnit(); break; - default: ; - } - } -} - -const QMetaObjectExtraData SendCoinsDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject SendCoinsDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_SendCoinsDialog, - qt_meta_data_SendCoinsDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &SendCoinsDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *SendCoinsDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *SendCoinsDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_SendCoinsDialog)) - return static_cast(const_cast< SendCoinsDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int SendCoinsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 9) - qt_static_metacall(this, _c, _id, _a); - _id -= 9; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_sendcoinsentry.cpp b/build/moc_sendcoinsentry.cpp deleted file mode 100644 index 1956f06..0000000 --- a/build/moc_sendcoinsentry.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'sendcoinsentry.h' -** -** Created: Fri Dec 27 12:49:18 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/sendcoinsentry.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'sendcoinsentry.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_SendCoinsEntry[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 22, 16, 15, 15, 0x05, - - // slots: signature, parameters, type, tag, flags - 59, 51, 15, 15, 0x0a, - 82, 15, 15, 15, 0x0a, - 90, 15, 15, 15, 0x08, - 124, 116, 15, 15, 0x08, - 154, 15, 15, 15, 0x08, - 185, 15, 15, 15, 0x08, - 210, 15, 15, 15, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_SendCoinsEntry[] = { - "SendCoinsEntry\0\0entry\0" - "removeEntry(SendCoinsEntry*)\0enabled\0" - "setRemoveEnabled(bool)\0clear()\0" - "on_deleteButton_clicked()\0address\0" - "on_payTo_textChanged(QString)\0" - "on_addressBookButton_clicked()\0" - "on_pasteButton_clicked()\0updateDisplayUnit()\0" -}; - -void SendCoinsEntry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - SendCoinsEntry *_t = static_cast(_o); - switch (_id) { - case 0: _t->removeEntry((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break; - case 1: _t->setRemoveEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->clear(); break; - case 3: _t->on_deleteButton_clicked(); break; - case 4: _t->on_payTo_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 5: _t->on_addressBookButton_clicked(); break; - case 6: _t->on_pasteButton_clicked(); break; - case 7: _t->updateDisplayUnit(); break; - default: ; - } - } -} - -const QMetaObjectExtraData SendCoinsEntry::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject SendCoinsEntry::staticMetaObject = { - { &QFrame::staticMetaObject, qt_meta_stringdata_SendCoinsEntry, - qt_meta_data_SendCoinsEntry, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &SendCoinsEntry::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *SendCoinsEntry::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *SendCoinsEntry::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_SendCoinsEntry)) - return static_cast(const_cast< SendCoinsEntry*>(this)); - return QFrame::qt_metacast(_clname); -} - -int SendCoinsEntry::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QFrame::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} - -// SIGNAL 0 -void SendCoinsEntry::removeEntry(SendCoinsEntry * _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_signverifymessagedialog.cpp b/build/moc_signverifymessagedialog.cpp deleted file mode 100644 index b8af9b4..0000000 --- a/build/moc_signverifymessagedialog.cpp +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'signverifymessagedialog.h' -** -** Created: Fri Dec 27 12:49:02 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/signverifymessagedialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'signverifymessagedialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_SignVerifyMessageDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 25, 24, 24, 24, 0x08, - 59, 24, 24, 24, 0x08, - 87, 24, 24, 24, 0x08, - 121, 24, 24, 24, 0x08, - 157, 24, 24, 24, 0x08, - 185, 24, 24, 24, 0x08, - 219, 24, 24, 24, 0x08, - 255, 24, 24, 24, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_SignVerifyMessageDialog[] = { - "SignVerifyMessageDialog\0\0" - "on_addressBookButton_SM_clicked()\0" - "on_pasteButton_SM_clicked()\0" - "on_signMessageButton_SM_clicked()\0" - "on_copySignatureButton_SM_clicked()\0" - "on_clearButton_SM_clicked()\0" - "on_addressBookButton_VM_clicked()\0" - "on_verifyMessageButton_VM_clicked()\0" - "on_clearButton_VM_clicked()\0" -}; - -void SignVerifyMessageDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - SignVerifyMessageDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->on_addressBookButton_SM_clicked(); break; - case 1: _t->on_pasteButton_SM_clicked(); break; - case 2: _t->on_signMessageButton_SM_clicked(); break; - case 3: _t->on_copySignatureButton_SM_clicked(); break; - case 4: _t->on_clearButton_SM_clicked(); break; - case 5: _t->on_addressBookButton_VM_clicked(); break; - case 6: _t->on_verifyMessageButton_VM_clicked(); break; - case 7: _t->on_clearButton_VM_clicked(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData SignVerifyMessageDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject SignVerifyMessageDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_SignVerifyMessageDialog, - qt_meta_data_SignVerifyMessageDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &SignVerifyMessageDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *SignVerifyMessageDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *SignVerifyMessageDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_SignVerifyMessageDialog)) - return static_cast(const_cast< SignVerifyMessageDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int SignVerifyMessageDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_splashscreen.cpp b/build/moc_splashscreen.cpp deleted file mode 100644 index 29ce186..0000000 --- a/build/moc_splashscreen.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'splashscreen.h' -** -** Created: Fri Dec 27 12:49:24 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/splashscreen.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'splashscreen.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_SplashScreen[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_SplashScreen[] = { - "SplashScreen\0" -}; - -void SplashScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData SplashScreen::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject SplashScreen::staticMetaObject = { - { &QSplashScreen::staticMetaObject, qt_meta_stringdata_SplashScreen, - qt_meta_data_SplashScreen, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &SplashScreen::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *SplashScreen::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *SplashScreen::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_SplashScreen)) - return static_cast(const_cast< SplashScreen*>(this)); - return QSplashScreen::qt_metacast(_clname); -} - -int SplashScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSplashScreen::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_transactiondesc.cpp b/build/moc_transactiondesc.cpp deleted file mode 100644 index ef8800f..0000000 --- a/build/moc_transactiondesc.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'transactiondesc.h' -** -** Created: Fri Dec 27 12:49:08 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/transactiondesc.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'transactiondesc.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TransactionDesc[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_TransactionDesc[] = { - "TransactionDesc\0" -}; - -void TransactionDesc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData TransactionDesc::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TransactionDesc::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_TransactionDesc, - qt_meta_data_TransactionDesc, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TransactionDesc::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TransactionDesc::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TransactionDesc::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TransactionDesc)) - return static_cast(const_cast< TransactionDesc*>(this)); - return QObject::qt_metacast(_clname); -} - -int TransactionDesc::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_transactiondescdialog.cpp b/build/moc_transactiondescdialog.cpp deleted file mode 100644 index 094edd2..0000000 --- a/build/moc_transactiondescdialog.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'transactiondescdialog.h' -** -** Created: Fri Dec 27 12:49:09 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/transactiondescdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'transactiondescdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TransactionDescDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_TransactionDescDialog[] = { - "TransactionDescDialog\0" -}; - -void TransactionDescDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData TransactionDescDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TransactionDescDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_TransactionDescDialog, - qt_meta_data_TransactionDescDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TransactionDescDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TransactionDescDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TransactionDescDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TransactionDescDialog)) - return static_cast(const_cast< TransactionDescDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int TransactionDescDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_transactionfilterproxy.cpp b/build/moc_transactionfilterproxy.cpp deleted file mode 100644 index 4871d39..0000000 --- a/build/moc_transactionfilterproxy.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'transactionfilterproxy.h' -** -** Created: Fri Dec 27 12:49:10 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/transactionfilterproxy.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'transactionfilterproxy.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TransactionFilterProxy[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_TransactionFilterProxy[] = { - "TransactionFilterProxy\0" -}; - -void TransactionFilterProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData TransactionFilterProxy::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TransactionFilterProxy::staticMetaObject = { - { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_TransactionFilterProxy, - qt_meta_data_TransactionFilterProxy, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TransactionFilterProxy::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TransactionFilterProxy::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TransactionFilterProxy::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TransactionFilterProxy)) - return static_cast(const_cast< TransactionFilterProxy*>(this)); - return QSortFilterProxyModel::qt_metacast(_clname); -} - -int TransactionFilterProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_transactiontablemodel.cpp b/build/moc_transactiontablemodel.cpp deleted file mode 100644 index 1f2592a..0000000 --- a/build/moc_transactiontablemodel.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'transactiontablemodel.h' -** -** Created: Fri Dec 27 12:48:58 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/transactiontablemodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'transactiontablemodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TransactionTableModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 35, 23, 22, 22, 0x0a, - 66, 22, 22, 22, 0x0a, - 88, 22, 22, 22, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_TransactionTableModel[] = { - "TransactionTableModel\0\0hash,status\0" - "updateTransaction(QString,int)\0" - "updateConfirmations()\0updateDisplayUnit()\0" -}; - -void TransactionTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TransactionTableModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 1: _t->updateConfirmations(); break; - case 2: _t->updateDisplayUnit(); break; - default: ; - } - } -} - -const QMetaObjectExtraData TransactionTableModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TransactionTableModel::staticMetaObject = { - { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_TransactionTableModel, - qt_meta_data_TransactionTableModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TransactionTableModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TransactionTableModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TransactionTableModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TransactionTableModel)) - return static_cast(const_cast< TransactionTableModel*>(this)); - return QAbstractTableModel::qt_metacast(_clname); -} - -int TransactionTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractTableModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_transactionview.cpp b/build/moc_transactionview.cpp deleted file mode 100644 index 3a17c85..0000000 --- a/build/moc_transactionview.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'transactionview.h' -** -** Created: Fri Dec 27 12:49:11 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/transactionview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'transactionview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TransactionView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 17, 16, 16, 16, 0x05, - - // slots: signature, parameters, type, tag, flags - 44, 16, 16, 16, 0x08, - 67, 16, 16, 16, 0x08, - 86, 16, 16, 16, 0x08, - 100, 16, 16, 16, 0x08, - 114, 16, 16, 16, 0x08, - 126, 16, 16, 16, 0x08, - 138, 16, 16, 16, 0x08, - 151, 16, 16, 16, 0x08, - 166, 162, 16, 16, 0x0a, - 182, 162, 16, 16, 0x0a, - 205, 198, 16, 16, 0x0a, - 235, 228, 16, 16, 0x0a, - 258, 16, 16, 16, 0x0a, - 274, 16, 16, 16, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_TransactionView[] = { - "TransactionView\0\0doubleClicked(QModelIndex)\0" - "contextualMenu(QPoint)\0dateRangeChanged()\0" - "showDetails()\0copyAddress()\0editLabel()\0" - "copyLabel()\0copyAmount()\0copyTxID()\0" - "idx\0chooseDate(int)\0chooseType(int)\0" - "prefix\0changedPrefix(QString)\0amount\0" - "changedAmount(QString)\0exportClicked()\0" - "focusTransaction(QModelIndex)\0" -}; - -void TransactionView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TransactionView *_t = static_cast(_o); - switch (_id) { - case 0: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 1: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; - case 2: _t->dateRangeChanged(); break; - case 3: _t->showDetails(); break; - case 4: _t->copyAddress(); break; - case 5: _t->editLabel(); break; - case 6: _t->copyLabel(); break; - case 7: _t->copyAmount(); break; - case 8: _t->copyTxID(); break; - case 9: _t->chooseDate((*reinterpret_cast< int(*)>(_a[1]))); break; - case 10: _t->chooseType((*reinterpret_cast< int(*)>(_a[1]))); break; - case 11: _t->changedPrefix((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 12: _t->changedAmount((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 13: _t->exportClicked(); break; - case 14: _t->focusTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TransactionView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TransactionView::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_TransactionView, - qt_meta_data_TransactionView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TransactionView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TransactionView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TransactionView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TransactionView)) - return static_cast(const_cast< TransactionView*>(this)); - return QWidget::qt_metacast(_clname); -} - -int TransactionView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 15) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void TransactionView::doubleClicked(const QModelIndex & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_walletframe.cpp b/build/moc_walletframe.cpp deleted file mode 100644 index 8be32ca..0000000 --- a/build/moc_walletframe.cpp +++ /dev/null @@ -1,130 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'walletframe.h' -** -** Created: Fri Dec 27 12:49:15 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/walletframe.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'walletframe.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_WalletFrame[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 13, 12, 12, 12, 0x0a, - 32, 12, 12, 12, 0x0a, - 50, 12, 12, 12, 0x0a, - 72, 12, 12, 12, 0x0a, - 100, 95, 12, 12, 0x0a, - 127, 12, 12, 12, 0x2a, - 147, 95, 12, 12, 0x0a, - 175, 12, 12, 12, 0x2a, - 196, 95, 12, 12, 0x0a, - 226, 12, 12, 12, 0x2a, - 256, 249, 12, 12, 0x0a, - 276, 12, 12, 12, 0x0a, - 291, 12, 12, 12, 0x0a, - 310, 12, 12, 12, 0x0a, - 325, 12, 12, 12, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_WalletFrame[] = { - "WalletFrame\0\0gotoOverviewPage()\0" - "gotoHistoryPage()\0gotoAddressBookPage()\0" - "gotoReceiveCoinsPage()\0addr\0" - "gotoSendCoinsPage(QString)\0" - "gotoSendCoinsPage()\0gotoSignMessageTab(QString)\0" - "gotoSignMessageTab()\0gotoVerifyMessageTab(QString)\0" - "gotoVerifyMessageTab()\0status\0" - "encryptWallet(bool)\0backupWallet()\0" - "changePassphrase()\0unlockWallet()\0" - "setEncryptionStatus()\0" -}; - -void WalletFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - WalletFrame *_t = static_cast(_o); - switch (_id) { - case 0: _t->gotoOverviewPage(); break; - case 1: _t->gotoHistoryPage(); break; - case 2: _t->gotoAddressBookPage(); break; - case 3: _t->gotoReceiveCoinsPage(); break; - case 4: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 5: _t->gotoSendCoinsPage(); break; - case 6: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 7: _t->gotoSignMessageTab(); break; - case 8: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 9: _t->gotoVerifyMessageTab(); break; - case 10: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 11: _t->backupWallet(); break; - case 12: _t->changePassphrase(); break; - case 13: _t->unlockWallet(); break; - case 14: _t->setEncryptionStatus(); break; - default: ; - } - } -} - -const QMetaObjectExtraData WalletFrame::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject WalletFrame::staticMetaObject = { - { &QFrame::staticMetaObject, qt_meta_stringdata_WalletFrame, - qt_meta_data_WalletFrame, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &WalletFrame::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *WalletFrame::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *WalletFrame::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_WalletFrame)) - return static_cast(const_cast< WalletFrame*>(this)); - return QFrame::qt_metacast(_clname); -} - -int WalletFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QFrame::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 15) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_walletframe.o b/build/moc_walletframe.o deleted file mode 100644 index 8dcb560..0000000 Binary files a/build/moc_walletframe.o and /dev/null differ diff --git a/build/moc_walletmodel.cpp b/build/moc_walletmodel.cpp deleted file mode 100644 index ec8e064..0000000 --- a/build/moc_walletmodel.cpp +++ /dev/null @@ -1,155 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'walletmodel.h' -** -** Created: Fri Dec 27 12:49:13 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/walletmodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'walletmodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_WalletModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 9, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 5, // signalCount - - // signals: signature, parameters, type, tag, flags - 56, 13, 12, 12, 0x05, - 99, 93, 12, 12, 0x05, - 134, 127, 12, 12, 0x05, - 163, 12, 12, 12, 0x05, - 199, 179, 12, 12, 0x05, - - // slots: signature, parameters, type, tag, flags - 229, 12, 12, 12, 0x0a, - 256, 244, 12, 12, 0x0a, - 315, 287, 12, 12, 0x0a, - 359, 12, 12, 12, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_WalletModel[] = { - "WalletModel\0\0balance,unconfirmedBalance,immatureBalance\0" - "balanceChanged(qint64,qint64,qint64)\0" - "count\0numTransactionsChanged(int)\0" - "status\0encryptionStatusChanged(int)\0" - "requireUnlock()\0title,message,style\0" - "message(QString,QString,uint)\0" - "updateStatus()\0hash,status\0" - "updateTransaction(QString,int)\0" - "address,label,isMine,status\0" - "updateAddressBook(QString,QString,bool,int)\0" - "pollBalanceChanged()\0" -}; - -void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - WalletModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->balanceChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3]))); break; - case 1: _t->numTransactionsChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 2: _t->encryptionStatusChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 3: _t->requireUnlock(); break; - case 4: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break; - case 5: _t->updateStatus(); break; - case 6: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 7: _t->updateAddressBook((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; - case 8: _t->pollBalanceChanged(); break; - default: ; - } - } -} - -const QMetaObjectExtraData WalletModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject WalletModel::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_WalletModel, - qt_meta_data_WalletModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &WalletModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *WalletModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *WalletModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_WalletModel)) - return static_cast(const_cast< WalletModel*>(this)); - return QObject::qt_metacast(_clname); -} - -int WalletModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 9) - qt_static_metacall(this, _c, _id, _a); - _id -= 9; - } - return _id; -} - -// SIGNAL 0 -void WalletModel::balanceChanged(qint64 _t1, qint64 _t2, qint64 _t3) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void WalletModel::numTransactionsChanged(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void WalletModel::encryptionStatusChanged(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void WalletModel::requireUnlock() -{ - QMetaObject::activate(this, &staticMetaObject, 3, 0); -} - -// SIGNAL 4 -void WalletModel::message(const QString & _t1, const QString & _t2, unsigned int _t3) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; - QMetaObject::activate(this, &staticMetaObject, 4, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_walletmodel.o b/build/moc_walletmodel.o deleted file mode 100644 index b7853db..0000000 Binary files a/build/moc_walletmodel.o and /dev/null differ diff --git a/build/moc_walletstack.cpp b/build/moc_walletstack.cpp deleted file mode 100644 index 7c8acad..0000000 --- a/build/moc_walletstack.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'walletstack.h' -** -** Created: Fri Dec 27 12:49:15 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/walletstack.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'walletstack.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_WalletStack[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 18, 13, 12, 12, 0x0a, - 44, 12, 12, 12, 0x0a, - 63, 12, 12, 12, 0x0a, - 81, 12, 12, 12, 0x0a, - 103, 12, 12, 12, 0x0a, - 131, 126, 12, 12, 0x0a, - 158, 12, 12, 12, 0x2a, - 178, 126, 12, 12, 0x0a, - 206, 12, 12, 12, 0x2a, - 227, 126, 12, 12, 0x0a, - 257, 12, 12, 12, 0x2a, - 287, 280, 12, 12, 0x0a, - 307, 12, 12, 12, 0x0a, - 322, 12, 12, 12, 0x0a, - 341, 12, 12, 12, 0x0a, - 356, 12, 12, 12, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_WalletStack[] = { - "WalletStack\0\0name\0setCurrentWallet(QString)\0" - "gotoOverviewPage()\0gotoHistoryPage()\0" - "gotoAddressBookPage()\0gotoReceiveCoinsPage()\0" - "addr\0gotoSendCoinsPage(QString)\0" - "gotoSendCoinsPage()\0gotoSignMessageTab(QString)\0" - "gotoSignMessageTab()\0gotoVerifyMessageTab(QString)\0" - "gotoVerifyMessageTab()\0status\0" - "encryptWallet(bool)\0backupWallet()\0" - "changePassphrase()\0unlockWallet()\0" - "setEncryptionStatus()\0" -}; - -void WalletStack::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - WalletStack *_t = static_cast(_o); - switch (_id) { - case 0: _t->setCurrentWallet((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 1: _t->gotoOverviewPage(); break; - case 2: _t->gotoHistoryPage(); break; - case 3: _t->gotoAddressBookPage(); break; - case 4: _t->gotoReceiveCoinsPage(); break; - case 5: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 6: _t->gotoSendCoinsPage(); break; - case 7: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 8: _t->gotoSignMessageTab(); break; - case 9: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 10: _t->gotoVerifyMessageTab(); break; - case 11: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 12: _t->backupWallet(); break; - case 13: _t->changePassphrase(); break; - case 14: _t->unlockWallet(); break; - case 15: _t->setEncryptionStatus(); break; - default: ; - } - } -} - -const QMetaObjectExtraData WalletStack::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject WalletStack::staticMetaObject = { - { &QStackedWidget::staticMetaObject, qt_meta_stringdata_WalletStack, - qt_meta_data_WalletStack, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &WalletStack::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *WalletStack::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *WalletStack::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_WalletStack)) - return static_cast(const_cast< WalletStack*>(this)); - return QStackedWidget::qt_metacast(_clname); -} - -int WalletStack::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QStackedWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_walletstack.o b/build/moc_walletstack.o deleted file mode 100644 index 014377a..0000000 Binary files a/build/moc_walletstack.o and /dev/null differ diff --git a/build/moc_walletview.cpp b/build/moc_walletview.cpp deleted file mode 100644 index 4a025c3..0000000 --- a/build/moc_walletview.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'walletview.h' -** -** Created: Fri Dec 27 12:49:14 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "../src/qt/walletview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'walletview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_WalletView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x0a, - 31, 11, 11, 11, 0x0a, - 49, 11, 11, 11, 0x0a, - 71, 11, 11, 11, 0x0a, - 99, 94, 11, 11, 0x0a, - 126, 11, 11, 11, 0x2a, - 146, 94, 11, 11, 0x0a, - 174, 11, 11, 11, 0x2a, - 195, 94, 11, 11, 0x0a, - 225, 11, 11, 11, 0x2a, - 262, 248, 11, 11, 0x0a, - 310, 303, 11, 11, 0x0a, - 330, 11, 11, 11, 0x0a, - 345, 11, 11, 11, 0x0a, - 364, 11, 11, 11, 0x0a, - 379, 11, 11, 11, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_WalletView[] = { - "WalletView\0\0gotoOverviewPage()\0" - "gotoHistoryPage()\0gotoAddressBookPage()\0" - "gotoReceiveCoinsPage()\0addr\0" - "gotoSendCoinsPage(QString)\0" - "gotoSendCoinsPage()\0gotoSignMessageTab(QString)\0" - "gotoSignMessageTab()\0gotoVerifyMessageTab(QString)\0" - "gotoVerifyMessageTab()\0parent,start,\0" - "incomingTransaction(QModelIndex,int,int)\0" - "status\0encryptWallet(bool)\0backupWallet()\0" - "changePassphrase()\0unlockWallet()\0" - "setEncryptionStatus()\0" -}; - -void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - WalletView *_t = static_cast(_o); - switch (_id) { - case 0: _t->gotoOverviewPage(); break; - case 1: _t->gotoHistoryPage(); break; - case 2: _t->gotoAddressBookPage(); break; - case 3: _t->gotoReceiveCoinsPage(); break; - case 4: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 5: _t->gotoSendCoinsPage(); break; - case 6: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 7: _t->gotoSignMessageTab(); break; - case 8: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 9: _t->gotoVerifyMessageTab(); break; - case 10: _t->incomingTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; - case 11: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 12: _t->backupWallet(); break; - case 13: _t->changePassphrase(); break; - case 14: _t->unlockWallet(); break; - case 15: _t->setEncryptionStatus(); break; - default: ; - } - } -} - -const QMetaObjectExtraData WalletView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject WalletView::staticMetaObject = { - { &QStackedWidget::staticMetaObject, qt_meta_stringdata_WalletView, - qt_meta_data_WalletView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &WalletView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *WalletView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *WalletView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_WalletView)) - return static_cast(const_cast< WalletView*>(this)); - return QStackedWidget::qt_metacast(_clname); -} - -int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QStackedWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/moc_walletview.o b/build/moc_walletview.o deleted file mode 100644 index c449170..0000000 Binary files a/build/moc_walletview.o and /dev/null differ diff --git a/build/monitoreddatamapper.o b/build/monitoreddatamapper.o deleted file mode 100644 index e29e025..0000000 Binary files a/build/monitoreddatamapper.o and /dev/null differ diff --git a/build/net.o b/build/net.o deleted file mode 100644 index ad3cfdc..0000000 Binary files a/build/net.o and /dev/null differ diff --git a/build/netbase.o b/build/netbase.o deleted file mode 100644 index a63af00..0000000 Binary files a/build/netbase.o and /dev/null differ diff --git a/build/overviewpage.moc b/build/overviewpage.moc deleted file mode 100644 index 13975cd..0000000 --- a/build/overviewpage.moc +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'overviewpage.cpp' -** -** Created: Sat Dec 28 14:47:57 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'overviewpage.cpp' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TxViewDelegate[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_TxViewDelegate[] = { - "TxViewDelegate\0" -}; - -void TxViewDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData TxViewDelegate::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TxViewDelegate::staticMetaObject = { - { &QAbstractItemDelegate::staticMetaObject, qt_meta_stringdata_TxViewDelegate, - qt_meta_data_TxViewDelegate, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TxViewDelegate::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TxViewDelegate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TxViewDelegate::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TxViewDelegate)) - return static_cast(const_cast< TxViewDelegate*>(this)); - return QAbstractItemDelegate::qt_metacast(_clname); -} - -int TxViewDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractItemDelegate::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/rpcconsole.moc b/build/rpcconsole.moc deleted file mode 100644 index e4d324f..0000000 --- a/build/rpcconsole.moc +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'rpcconsole.cpp' -** -** Created: Sat Dec 28 14:48:17 2013 -** by: The Qt Meta Object Compiler version 63 (Qt 4.8.4) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'rpcconsole.cpp' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.4. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_RPCExecutor[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 30, 13, 12, 12, 0x05, - - // slots: signature, parameters, type, tag, flags - 57, 49, 12, 12, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_RPCExecutor[] = { - "RPCExecutor\0\0category,command\0" - "reply(int,QString)\0command\0request(QString)\0" -}; - -void RPCExecutor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - RPCExecutor *_t = static_cast(_o); - switch (_id) { - case 0: _t->reply((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 1: _t->request((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData RPCExecutor::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject RPCExecutor::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_RPCExecutor, - qt_meta_data_RPCExecutor, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &RPCExecutor::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *RPCExecutor::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *RPCExecutor::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_RPCExecutor)) - return static_cast(const_cast< RPCExecutor*>(this)); - return QObject::qt_metacast(_clname); -} - -int RPCExecutor::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void RPCExecutor::reply(int _t1, const QString & _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/build/ui_aboutdialog.h b/build/ui_aboutdialog.h deleted file mode 100644 index 29c1b24..0000000 --- a/build/ui_aboutdialog.h +++ /dev/null @@ -1,196 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'aboutdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ABOUTDIALOG_H -#define UI_ABOUTDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_AboutDialog -{ -public: - QHBoxLayout *horizontalLayout_2; - QLabel *label_4; - QVBoxLayout *verticalLayout_2; - QSpacerItem *verticalSpacer_2; - QHBoxLayout *horizontalLayout; - QLabel *label; - QLabel *versionLabel; - QSpacerItem *horizontalSpacer; - QLabel *copyrightLabel; - QLabel *label_2; - QSpacerItem *verticalSpacer; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *AboutDialog) - { - if (AboutDialog->objectName().isEmpty()) - AboutDialog->setObjectName(QString::fromUtf8("AboutDialog")); - AboutDialog->resize(762, 360); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(27, 240, 134, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush2(QColor(0, 0, 127, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Light, brush2); - palette.setBrush(QPalette::Active, QPalette::Text, brush); - QBrush brush3(QColor(137, 148, 68, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::ButtonText, brush3); - QBrush brush4(QColor(255, 255, 255, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush4); - QBrush brush5(QColor(0, 0, 0, 255)); - brush5.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush5); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Light, brush2); - palette.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush3); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush4); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush5); - QBrush brush6(QColor(120, 120, 120, 255)); - brush6.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush6); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Light, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Text, brush6); - palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush6); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush5); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush5); - AboutDialog->setPalette(palette); - AboutDialog->setAutoFillBackground(true); - horizontalLayout_2 = new QHBoxLayout(AboutDialog); - horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); - label_4 = new QLabel(AboutDialog); - label_4->setObjectName(QString::fromUtf8("label_4")); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Ignored); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth()); - label_4->setSizePolicy(sizePolicy); - label_4->setPixmap(QPixmap(QString::fromUtf8(":/images/about"))); - - horizontalLayout_2->addWidget(label_4); - - verticalLayout_2 = new QVBoxLayout(); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_2->addItem(verticalSpacer_2); - - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - label = new QLabel(AboutDialog); - label->setObjectName(QString::fromUtf8("label")); - label->setCursor(QCursor(Qt::IBeamCursor)); - label->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - horizontalLayout->addWidget(label); - - versionLabel = new QLabel(AboutDialog); - versionLabel->setObjectName(QString::fromUtf8("versionLabel")); - versionLabel->setCursor(QCursor(Qt::IBeamCursor)); - versionLabel->setText(QString::fromUtf8("")); - versionLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - horizontalLayout->addWidget(versionLabel); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout->addItem(horizontalSpacer); - - - verticalLayout_2->addLayout(horizontalLayout); - - copyrightLabel = new QLabel(AboutDialog); - copyrightLabel->setObjectName(QString::fromUtf8("copyrightLabel")); - copyrightLabel->setCursor(QCursor(Qt::IBeamCursor)); - copyrightLabel->setText(QString::fromUtf8("Copyright © 2013-YYYY The original software credited to all of the Bitcoin developers\n" -"Copyright © 2013-YYYY The Gridcoin developers")); - copyrightLabel->setTextFormat(Qt::RichText); - copyrightLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - verticalLayout_2->addWidget(copyrightLabel); - - label_2 = new QLabel(AboutDialog); - label_2->setObjectName(QString::fromUtf8("label_2")); - label_2->setCursor(QCursor(Qt::IBeamCursor)); - label_2->setWordWrap(true); - label_2->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - verticalLayout_2->addWidget(label_2); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_2->addItem(verticalSpacer); - - buttonBox = new QDialogButtonBox(AboutDialog); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - QPalette palette1; - QBrush brush7(QColor(46, 57, 1, 255)); - brush7.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush7); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush7); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush6); - buttonBox->setPalette(palette1); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Ok); - - verticalLayout_2->addWidget(buttonBox); - - - horizontalLayout_2->addLayout(verticalLayout_2); - - - retranslateUi(AboutDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), AboutDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), AboutDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(AboutDialog); - } // setupUi - - void retranslateUi(QDialog *AboutDialog) - { - AboutDialog->setWindowTitle(QApplication::translate("AboutDialog", "About Litecoin", 0, QApplication::UnicodeUTF8)); - label->setText(QApplication::translate("AboutDialog", "Gridcoin ", 0, QApplication::UnicodeUTF8)); - label_2->setText(QApplication::translate("AboutDialog", "\n" -"This is experimental software.\n" -"\n" -"Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.\n" -"\n" -"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class AboutDialog: public Ui_AboutDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ABOUTDIALOG_H diff --git a/build/ui_addressbookpage.h b/build/ui_addressbookpage.h deleted file mode 100644 index 81d48ae..0000000 --- a/build/ui_addressbookpage.h +++ /dev/null @@ -1,444 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'addressbookpage.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ADDRESSBOOKPAGE_H -#define UI_ADDRESSBOOKPAGE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_AddressBookPage -{ -public: - QVBoxLayout *verticalLayout; - QLabel *labelExplanation; - QTableView *tableView; - QHBoxLayout *horizontalLayout; - QPushButton *newAddress; - QPushButton *copyAddress; - QPushButton *showQRCode; - QPushButton *signMessage; - QPushButton *verifyMessage; - QPushButton *deleteAddress; - QSpacerItem *horizontalSpacer; - QPushButton *exportButton; - QDialogButtonBox *buttonBox; - - void setupUi(QWidget *AddressBookPage) - { - if (AddressBookPage->objectName().isEmpty()) - AddressBookPage->setObjectName(QString::fromUtf8("AddressBookPage")); - AddressBookPage->resize(839, 380); - QPalette palette; - QBrush brush(QColor(255, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(0, 255, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush2(QColor(0, 255, 127, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Light, brush2); - QBrush brush3(QColor(170, 170, 127, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Midlight, brush3); - QBrush brush4(QColor(5, 5, 5, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Dark, brush4); - QBrush brush5(QColor(7, 7, 7, 255)); - brush5.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Mid, brush5); - palette.setBrush(QPalette::Active, QPalette::Text, brush1); - palette.setBrush(QPalette::Active, QPalette::BrightText, brush1); - palette.setBrush(QPalette::Active, QPalette::ButtonText, brush1); - QBrush brush6(QColor(8, 2, 9, 255)); - brush6.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush6); - QBrush brush7(QColor(18, 18, 18, 255)); - brush7.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush7); - QBrush brush8(QColor(0, 0, 0, 255)); - brush8.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Shadow, brush8); - QBrush brush9(QColor(40, 40, 40, 255)); - brush9.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush9); - QBrush brush10(QColor(3, 13, 8, 255)); - brush10.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::NoRole, brush10); - QBrush brush11(QColor(255, 255, 220, 255)); - brush11.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush11); - palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush8); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Light, brush2); - palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3); - palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4); - palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5); - palette.setBrush(QPalette::Inactive, QPalette::Text, brush1); - palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush1); - palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush6); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush7); - palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush8); - palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush9); - palette.setBrush(QPalette::Inactive, QPalette::NoRole, brush10); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush11); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush8); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Light, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3); - palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4); - palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5); - palette.setBrush(QPalette::Disabled, QPalette::Text, brush4); - palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush1); - palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush7); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush7); - palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush8); - palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush9); - palette.setBrush(QPalette::Disabled, QPalette::NoRole, brush10); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush11); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush8); - AddressBookPage->setPalette(palette); - AddressBookPage->setAutoFillBackground(true); - verticalLayout = new QVBoxLayout(AddressBookPage); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - labelExplanation = new QLabel(AddressBookPage); - labelExplanation->setObjectName(QString::fromUtf8("labelExplanation")); - QPalette palette1; - palette1.setBrush(QPalette::Active, QPalette::WindowText, brush1); - palette1.setBrush(QPalette::Active, QPalette::Button, brush2); - palette1.setBrush(QPalette::Active, QPalette::Light, brush1); - palette1.setBrush(QPalette::Active, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Active, QPalette::Text, brush1); - QBrush brush12(QColor(0, 106, 0, 255)); - brush12.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush12); - QBrush brush13(QColor(1, 8, 2, 255)); - brush13.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Base, brush13); - QBrush brush14(QColor(12, 16, 1, 255)); - brush14.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Window, brush14); - palette1.setBrush(QPalette::Active, QPalette::HighlightedText, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush2); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush12); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush13); - palette1.setBrush(QPalette::Inactive, QPalette::Window, brush14); - palette1.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush2); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush14); - palette1.setBrush(QPalette::Disabled, QPalette::Window, brush14); - palette1.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush1); - labelExplanation->setPalette(palette1); - labelExplanation->setAutoFillBackground(true); - labelExplanation->setTextFormat(Qt::PlainText); - labelExplanation->setWordWrap(true); - - verticalLayout->addWidget(labelExplanation); - - tableView = new QTableView(AddressBookPage); - tableView->setObjectName(QString::fromUtf8("tableView")); - QPalette palette2; - palette2.setBrush(QPalette::Active, QPalette::WindowText, brush1); - QBrush brush15(QColor(14, 127, 118, 255)); - brush15.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Dark, brush15); - palette2.setBrush(QPalette::Active, QPalette::Text, brush1); - QBrush brush16(QColor(0, 102, 0, 255)); - brush16.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::ButtonText, brush16); - palette2.setBrush(QPalette::Active, QPalette::Base, brush8); - palette2.setBrush(QPalette::Active, QPalette::Window, brush8); - QBrush brush17(QColor(112, 112, 112, 255)); - brush17.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Shadow, brush17); - palette2.setBrush(QPalette::Active, QPalette::HighlightedText, brush1); - QBrush brush18(QColor(7, 11, 20, 255)); - brush18.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::AlternateBase, brush18); - QBrush brush19(QColor(17, 22, 6, 255)); - brush19.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::NoRole, brush19); - palette2.setBrush(QPalette::Inactive, QPalette::WindowText, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::Dark, brush15); - palette2.setBrush(QPalette::Inactive, QPalette::Text, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::ButtonText, brush16); - palette2.setBrush(QPalette::Inactive, QPalette::Base, brush8); - palette2.setBrush(QPalette::Inactive, QPalette::Window, brush8); - palette2.setBrush(QPalette::Inactive, QPalette::Shadow, brush17); - palette2.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush18); - palette2.setBrush(QPalette::Inactive, QPalette::NoRole, brush19); - palette2.setBrush(QPalette::Disabled, QPalette::WindowText, brush15); - palette2.setBrush(QPalette::Disabled, QPalette::Dark, brush15); - palette2.setBrush(QPalette::Disabled, QPalette::Text, brush15); - palette2.setBrush(QPalette::Disabled, QPalette::ButtonText, brush15); - palette2.setBrush(QPalette::Disabled, QPalette::Base, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::Window, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::Shadow, brush17); - palette2.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush18); - palette2.setBrush(QPalette::Disabled, QPalette::NoRole, brush19); - tableView->setPalette(palette2); - tableView->setContextMenuPolicy(Qt::CustomContextMenu); - tableView->setAutoFillBackground(true); - tableView->setTabKeyNavigation(false); - tableView->setAlternatingRowColors(true); - tableView->setSelectionMode(QAbstractItemView::SingleSelection); - tableView->setSelectionBehavior(QAbstractItemView::SelectRows); - tableView->setSortingEnabled(true); - tableView->verticalHeader()->setVisible(false); - - verticalLayout->addWidget(tableView); - - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - newAddress = new QPushButton(AddressBookPage); - newAddress->setObjectName(QString::fromUtf8("newAddress")); - QPalette palette3; - QBrush brush20(QColor(80, 80, 0, 255)); - brush20.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette3.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - QBrush brush21(QColor(0, 0, 127, 255)); - brush21.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - newAddress->setPalette(palette3); - QFont font; - font.setFamily(QString::fromUtf8("MS PGothic")); - font.setPointSize(10); - newAddress->setFont(font); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/add"), QSize(), QIcon::Normal, QIcon::Off); - newAddress->setIcon(icon); - - horizontalLayout->addWidget(newAddress); - - copyAddress = new QPushButton(AddressBookPage); - copyAddress->setObjectName(QString::fromUtf8("copyAddress")); - QPalette palette4; - palette4.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - QBrush brush22(QColor(170, 0, 127, 255)); - brush22.setStyle(Qt::SolidPattern); - palette4.setBrush(QPalette::Active, QPalette::Shadow, brush22); - QBrush brush23(QColor(51, 153, 255, 255)); - brush23.setStyle(Qt::SolidPattern); - palette4.setBrush(QPalette::Active, QPalette::Highlight, brush23); - palette4.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette4.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette4.setBrush(QPalette::Inactive, QPalette::Shadow, brush22); - palette4.setBrush(QPalette::Inactive, QPalette::Highlight, brush8); - palette4.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette4.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette4.setBrush(QPalette::Disabled, QPalette::Shadow, brush22); - palette4.setBrush(QPalette::Disabled, QPalette::Highlight, brush23); - palette4.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - copyAddress->setPalette(palette4); - copyAddress->setFont(font); - QIcon icon1; - icon1.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off); - copyAddress->setIcon(icon1); - - horizontalLayout->addWidget(copyAddress); - - showQRCode = new QPushButton(AddressBookPage); - showQRCode->setObjectName(QString::fromUtf8("showQRCode")); - QPalette palette5; - palette5.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette5.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette5.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette5.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette5.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette5.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - showQRCode->setPalette(palette5); - showQRCode->setFont(font); - QIcon icon2; - icon2.addFile(QString::fromUtf8(":/icons/qrcode"), QSize(), QIcon::Normal, QIcon::Off); - showQRCode->setIcon(icon2); - - horizontalLayout->addWidget(showQRCode); - - signMessage = new QPushButton(AddressBookPage); - signMessage->setObjectName(QString::fromUtf8("signMessage")); - QPalette palette6; - palette6.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette6.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette6.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette6.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette6.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette6.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - signMessage->setPalette(palette6); - signMessage->setFont(font); - QIcon icon3; - icon3.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off); - signMessage->setIcon(icon3); - - horizontalLayout->addWidget(signMessage); - - verifyMessage = new QPushButton(AddressBookPage); - verifyMessage->setObjectName(QString::fromUtf8("verifyMessage")); - QPalette palette7; - palette7.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette7.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette7.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette7.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette7.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette7.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - verifyMessage->setPalette(palette7); - verifyMessage->setFont(font); - QIcon icon4; - icon4.addFile(QString::fromUtf8(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off); - verifyMessage->setIcon(icon4); - - horizontalLayout->addWidget(verifyMessage); - - deleteAddress = new QPushButton(AddressBookPage); - deleteAddress->setObjectName(QString::fromUtf8("deleteAddress")); - QPalette palette8; - QBrush brush24(QColor(99, 99, 0, 255)); - brush24.setStyle(Qt::SolidPattern); - palette8.setBrush(QPalette::Active, QPalette::Button, brush24); - palette8.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette8.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette8.setBrush(QPalette::Inactive, QPalette::Button, brush24); - palette8.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette8.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette8.setBrush(QPalette::Disabled, QPalette::Button, brush24); - palette8.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette8.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - deleteAddress->setPalette(palette8); - deleteAddress->setFont(font); - QIcon icon5; - icon5.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); - deleteAddress->setIcon(icon5); - - horizontalLayout->addWidget(deleteAddress); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout->addItem(horizontalSpacer); - - exportButton = new QPushButton(AddressBookPage); - exportButton->setObjectName(QString::fromUtf8("exportButton")); - QPalette palette9; - palette9.setBrush(QPalette::Active, QPalette::Button, brush24); - palette9.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette9.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette9.setBrush(QPalette::Inactive, QPalette::Button, brush24); - palette9.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette9.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette9.setBrush(QPalette::Disabled, QPalette::Button, brush24); - palette9.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette9.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - exportButton->setPalette(palette9); - exportButton->setFont(font); - exportButton->setAutoFillBackground(true); - QIcon icon6; - icon6.addFile(QString::fromUtf8(":/icons/export"), QSize(), QIcon::Normal, QIcon::Off); - exportButton->setIcon(icon6); - - horizontalLayout->addWidget(exportButton); - - buttonBox = new QDialogButtonBox(AddressBookPage); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth()); - buttonBox->setSizePolicy(sizePolicy); - QPalette palette10; - palette10.setBrush(QPalette::Active, QPalette::ButtonText, brush20); - palette10.setBrush(QPalette::Active, QPalette::ToolTipBase, brush21); - palette10.setBrush(QPalette::Inactive, QPalette::ButtonText, brush20); - palette10.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush21); - palette10.setBrush(QPalette::Disabled, QPalette::ButtonText, brush21); - palette10.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush21); - buttonBox->setPalette(palette10); - buttonBox->setFont(font); - buttonBox->setStandardButtons(QDialogButtonBox::Ok); - - horizontalLayout->addWidget(buttonBox); - - - verticalLayout->addLayout(horizontalLayout); - - - retranslateUi(AddressBookPage); - - QMetaObject::connectSlotsByName(AddressBookPage); - } // setupUi - - void retranslateUi(QWidget *AddressBookPage) - { - AddressBookPage->setWindowTitle(QApplication::translate("AddressBookPage", "Address Book", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - tableView->setToolTip(QApplication::translate("AddressBookPage", "Double-click to edit address or label", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_TOOLTIP - newAddress->setToolTip(QApplication::translate("AddressBookPage", "Create a new address", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - newAddress->setText(QApplication::translate("AddressBookPage", "&New Address", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - copyAddress->setToolTip(QApplication::translate("AddressBookPage", "Copy the currently selected address to the system clipboard", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - copyAddress->setText(QApplication::translate("AddressBookPage", "&Copy Address", 0, QApplication::UnicodeUTF8)); - showQRCode->setText(QApplication::translate("AddressBookPage", "Show &QR Code", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - signMessage->setToolTip(QApplication::translate("AddressBookPage", "Sign a message to prove you own a Gridcoin address", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - signMessage->setText(QApplication::translate("AddressBookPage", "Sign &Message", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - verifyMessage->setToolTip(QApplication::translate("AddressBookPage", "Verify a message to ensure it was signed with a specified Gridcoin address", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - verifyMessage->setText(QApplication::translate("AddressBookPage", "&Verify Message", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - deleteAddress->setToolTip(QApplication::translate("AddressBookPage", "Delete the currently selected address from the list", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - deleteAddress->setText(QApplication::translate("AddressBookPage", "&Delete", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - exportButton->setToolTip(QApplication::translate("AddressBookPage", "Export the data in the current tab to a file", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - exportButton->setText(QApplication::translate("AddressBookPage", "&Export", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class AddressBookPage: public Ui_AddressBookPage {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ADDRESSBOOKPAGE_H diff --git a/build/ui_askpassphrasedialog.h b/build/ui_askpassphrasedialog.h deleted file mode 100644 index 3883d62..0000000 --- a/build/ui_askpassphrasedialog.h +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'askpassphrasedialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ASKPASSPHRASEDIALOG_H -#define UI_ASKPASSPHRASEDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_AskPassphraseDialog -{ -public: - QVBoxLayout *verticalLayout; - QLabel *warningLabel; - QFormLayout *formLayout; - QLabel *passLabel1; - QLineEdit *passEdit1; - QLabel *passLabel2; - QLineEdit *passEdit2; - QLabel *passLabel3; - QLineEdit *passEdit3; - QLabel *capsLabel; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *AskPassphraseDialog) - { - if (AskPassphraseDialog->objectName().isEmpty()) - AskPassphraseDialog->setObjectName(QString::fromUtf8("AskPassphraseDialog")); - AskPassphraseDialog->resize(598, 198); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(AskPassphraseDialog->sizePolicy().hasHeightForWidth()); - AskPassphraseDialog->setSizePolicy(sizePolicy); - AskPassphraseDialog->setMinimumSize(QSize(550, 0)); - verticalLayout = new QVBoxLayout(AskPassphraseDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - warningLabel = new QLabel(AskPassphraseDialog); - warningLabel->setObjectName(QString::fromUtf8("warningLabel")); - warningLabel->setTextFormat(Qt::RichText); - warningLabel->setWordWrap(true); - - verticalLayout->addWidget(warningLabel); - - formLayout = new QFormLayout(); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); - passLabel1 = new QLabel(AskPassphraseDialog); - passLabel1->setObjectName(QString::fromUtf8("passLabel1")); - - formLayout->setWidget(0, QFormLayout::LabelRole, passLabel1); - - passEdit1 = new QLineEdit(AskPassphraseDialog); - passEdit1->setObjectName(QString::fromUtf8("passEdit1")); - passEdit1->setEchoMode(QLineEdit::Password); - - formLayout->setWidget(0, QFormLayout::FieldRole, passEdit1); - - passLabel2 = new QLabel(AskPassphraseDialog); - passLabel2->setObjectName(QString::fromUtf8("passLabel2")); - - formLayout->setWidget(1, QFormLayout::LabelRole, passLabel2); - - passEdit2 = new QLineEdit(AskPassphraseDialog); - passEdit2->setObjectName(QString::fromUtf8("passEdit2")); - passEdit2->setEchoMode(QLineEdit::Password); - - formLayout->setWidget(1, QFormLayout::FieldRole, passEdit2); - - passLabel3 = new QLabel(AskPassphraseDialog); - passLabel3->setObjectName(QString::fromUtf8("passLabel3")); - - formLayout->setWidget(2, QFormLayout::LabelRole, passLabel3); - - passEdit3 = new QLineEdit(AskPassphraseDialog); - passEdit3->setObjectName(QString::fromUtf8("passEdit3")); - passEdit3->setEchoMode(QLineEdit::Password); - - formLayout->setWidget(2, QFormLayout::FieldRole, passEdit3); - - capsLabel = new QLabel(AskPassphraseDialog); - capsLabel->setObjectName(QString::fromUtf8("capsLabel")); - QFont font; - font.setBold(true); - font.setWeight(75); - capsLabel->setFont(font); - capsLabel->setAlignment(Qt::AlignCenter); - - formLayout->setWidget(3, QFormLayout::FieldRole, capsLabel); - - - verticalLayout->addLayout(formLayout); - - buttonBox = new QDialogButtonBox(AskPassphraseDialog); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - - verticalLayout->addWidget(buttonBox); - - - retranslateUi(AskPassphraseDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), AskPassphraseDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), AskPassphraseDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(AskPassphraseDialog); - } // setupUi - - void retranslateUi(QDialog *AskPassphraseDialog) - { - AskPassphraseDialog->setWindowTitle(QApplication::translate("AskPassphraseDialog", "Passphrase Dialog", 0, QApplication::UnicodeUTF8)); - passLabel1->setText(QApplication::translate("AskPassphraseDialog", "Enter passphrase", 0, QApplication::UnicodeUTF8)); - passLabel2->setText(QApplication::translate("AskPassphraseDialog", "New passphrase", 0, QApplication::UnicodeUTF8)); - passLabel3->setText(QApplication::translate("AskPassphraseDialog", "Repeat new passphrase", 0, QApplication::UnicodeUTF8)); - capsLabel->setText(QString()); - } // retranslateUi - -}; - -namespace Ui { - class AskPassphraseDialog: public Ui_AskPassphraseDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ASKPASSPHRASEDIALOG_H diff --git a/build/ui_editaddressdialog.h b/build/ui_editaddressdialog.h deleted file mode 100644 index 4714744..0000000 --- a/build/ui_editaddressdialog.h +++ /dev/null @@ -1,165 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'editaddressdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_EDITADDRESSDIALOG_H -#define UI_EDITADDRESSDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_EditAddressDialog -{ -public: - QVBoxLayout *verticalLayout; - QFormLayout *formLayout; - QLabel *label; - QLineEdit *labelEdit; - QLabel *label_2; - QLineEdit *addressEdit; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *EditAddressDialog) - { - if (EditAddressDialog->objectName().isEmpty()) - EditAddressDialog->setObjectName(QString::fromUtf8("EditAddressDialog")); - EditAddressDialog->resize(457, 126); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(255, 255, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush2(QColor(0, 255, 255, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Light, brush2); - palette.setBrush(QPalette::Active, QPalette::Text, brush); - QBrush brush3(QColor(0, 170, 255, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::BrightText, brush3); - palette.setBrush(QPalette::Active, QPalette::ButtonText, brush1); - QBrush brush4(QColor(0, 0, 127, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush4); - QBrush brush5(QColor(0, 0, 0, 255)); - brush5.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush5); - QBrush brush6(QColor(255, 0, 0, 255)); - brush6.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::HighlightedText, brush6); - palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush4); - QBrush brush7(QColor(0, 0, 255, 255)); - brush7.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::NoRole, brush7); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Light, brush2); - palette.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush3); - palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush4); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush5); - palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush6); - palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush4); - palette.setBrush(QPalette::Inactive, QPalette::NoRole, brush7); - QBrush brush8(QColor(120, 120, 120, 255)); - brush8.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush8); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Light, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Text, brush8); - palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush3); - palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush8); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush5); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush5); - palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush6); - palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush4); - palette.setBrush(QPalette::Disabled, QPalette::NoRole, brush7); - EditAddressDialog->setPalette(palette); - EditAddressDialog->setAutoFillBackground(true); - verticalLayout = new QVBoxLayout(EditAddressDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - formLayout = new QFormLayout(); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); - label = new QLabel(EditAddressDialog); - label->setObjectName(QString::fromUtf8("label")); - - formLayout->setWidget(0, QFormLayout::LabelRole, label); - - labelEdit = new QLineEdit(EditAddressDialog); - labelEdit->setObjectName(QString::fromUtf8("labelEdit")); - - formLayout->setWidget(0, QFormLayout::FieldRole, labelEdit); - - label_2 = new QLabel(EditAddressDialog); - label_2->setObjectName(QString::fromUtf8("label_2")); - - formLayout->setWidget(1, QFormLayout::LabelRole, label_2); - - addressEdit = new QLineEdit(EditAddressDialog); - addressEdit->setObjectName(QString::fromUtf8("addressEdit")); - - formLayout->setWidget(1, QFormLayout::FieldRole, addressEdit); - - - verticalLayout->addLayout(formLayout); - - buttonBox = new QDialogButtonBox(EditAddressDialog); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - - verticalLayout->addWidget(buttonBox); - -#ifndef QT_NO_SHORTCUT - label->setBuddy(labelEdit); - label_2->setBuddy(addressEdit); -#endif // QT_NO_SHORTCUT - - retranslateUi(EditAddressDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), EditAddressDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), EditAddressDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(EditAddressDialog); - } // setupUi - - void retranslateUi(QDialog *EditAddressDialog) - { - EditAddressDialog->setWindowTitle(QApplication::translate("EditAddressDialog", "Edit Address", 0, QApplication::UnicodeUTF8)); - label->setText(QApplication::translate("EditAddressDialog", "&Label", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelEdit->setToolTip(QApplication::translate("EditAddressDialog", "The label associated with this address book entry", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - label_2->setText(QApplication::translate("EditAddressDialog", "&Address", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - addressEdit->setToolTip(QApplication::translate("EditAddressDialog", "The address associated with this address book entry. This can only be modified for sending addresses.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - } // retranslateUi - -}; - -namespace Ui { - class EditAddressDialog: public Ui_EditAddressDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_EDITADDRESSDIALOG_H diff --git a/build/ui_miningdialog.h b/build/ui_miningdialog.h deleted file mode 100644 index f58ae91..0000000 --- a/build/ui_miningdialog.h +++ /dev/null @@ -1,162 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'miningdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_MININGDIALOG_H -#define UI_MININGDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_MiningDialog -{ -public: - QHBoxLayout *horizontalLayout_2; - QVBoxLayout *verticalLayout_2; - QFrame *frame; - QTableView *tableView; - QLabel *lblBoincPower; - QLabel *lblProcessingPowerValue; - QLabel *lblBoincPower_2; - QLabel *lblThreads; - QDialogButtonBox *buttonBox; - QPushButton *btnRefresh; - QLabel *lblBoincPower_3; - QLabel *lblVersion; - QPushButton *btnRegister; - QPushButton *btnExit; - QPushButton *btnUnregister; - - void setupUi(QDialog *MiningDialog) - { - if (MiningDialog->objectName().isEmpty()) - MiningDialog->setObjectName(QString::fromUtf8("MiningDialog")); - MiningDialog->resize(1126, 594); - horizontalLayout_2 = new QHBoxLayout(MiningDialog); - horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); - verticalLayout_2 = new QVBoxLayout(); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - frame = new QFrame(MiningDialog); - frame->setObjectName(QString::fromUtf8("frame")); - frame->setFrameShape(QFrame::StyledPanel); - frame->setFrameShadow(QFrame::Raised); - tableView = new QTableView(frame); - tableView->setObjectName(QString::fromUtf8("tableView")); - tableView->setGeometry(QRect(20, 10, 761, 431)); - lblBoincPower = new QLabel(frame); - lblBoincPower->setObjectName(QString::fromUtf8("lblBoincPower")); - lblBoincPower->setGeometry(QRect(60, 30, 181, 33)); - lblBoincPower->setMaximumSize(QSize(300, 33)); - QFont font; - font.setPointSize(10); - font.setBold(true); - font.setWeight(75); - lblBoincPower->setFont(font); - lblBoincPower->setCursor(QCursor(Qt::IBeamCursor)); - lblBoincPower->setText(QString::fromUtf8("Boinc Processing Power:")); - lblBoincPower->setTextFormat(Qt::RichText); - lblBoincPower->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - lblProcessingPowerValue = new QLabel(frame); - lblProcessingPowerValue->setObjectName(QString::fromUtf8("lblProcessingPowerValue")); - lblProcessingPowerValue->setGeometry(QRect(280, 30, 222, 33)); - lblProcessingPowerValue->setMaximumSize(QSize(222, 33)); - QFont font1; - font1.setPointSize(12); - font1.setBold(true); - font1.setWeight(75); - lblProcessingPowerValue->setFont(font1); - lblBoincPower_2 = new QLabel(frame); - lblBoincPower_2->setObjectName(QString::fromUtf8("lblBoincPower_2")); - lblBoincPower_2->setGeometry(QRect(60, 80, 181, 33)); - lblBoincPower_2->setMaximumSize(QSize(300, 33)); - lblBoincPower_2->setCursor(QCursor(Qt::IBeamCursor)); - lblBoincPower_2->setText(QString::fromUtf8("Threads:")); - lblBoincPower_2->setTextFormat(Qt::RichText); - lblBoincPower_2->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - lblThreads = new QLabel(frame); - lblThreads->setObjectName(QString::fromUtf8("lblThreads")); - lblThreads->setGeometry(QRect(280, 80, 222, 33)); - lblThreads->setMaximumSize(QSize(222, 33)); - buttonBox = new QDialogButtonBox(frame); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setGeometry(QRect(-820, 280, 77, 23)); - buttonBox->setMaximumSize(QSize(555, 555)); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Ok); - btnRefresh = new QPushButton(frame); - btnRefresh->setObjectName(QString::fromUtf8("btnRefresh")); - btnRefresh->setGeometry(QRect(60, 370, 75, 23)); - lblBoincPower_3 = new QLabel(frame); - lblBoincPower_3->setObjectName(QString::fromUtf8("lblBoincPower_3")); - lblBoincPower_3->setGeometry(QRect(60, 120, 181, 33)); - lblBoincPower_3->setMaximumSize(QSize(300, 33)); - lblBoincPower_3->setCursor(QCursor(Qt::IBeamCursor)); - lblBoincPower_3->setText(QString::fromUtf8("Mining Module Registered Version:")); - lblBoincPower_3->setTextFormat(Qt::RichText); - lblBoincPower_3->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - lblVersion = new QLabel(frame); - lblVersion->setObjectName(QString::fromUtf8("lblVersion")); - lblVersion->setGeometry(QRect(280, 120, 222, 33)); - lblVersion->setMaximumSize(QSize(222, 33)); - btnRegister = new QPushButton(frame); - btnRegister->setObjectName(QString::fromUtf8("btnRegister")); - btnRegister->setGeometry(QRect(150, 370, 121, 23)); - btnExit = new QPushButton(frame); - btnExit->setObjectName(QString::fromUtf8("btnExit")); - btnExit->setGeometry(QRect(430, 370, 75, 23)); - btnUnregister = new QPushButton(frame); - btnUnregister->setObjectName(QString::fromUtf8("btnUnregister")); - btnUnregister->setGeometry(QRect(280, 370, 141, 23)); - - verticalLayout_2->addWidget(frame); - - - horizontalLayout_2->addLayout(verticalLayout_2); - - - retranslateUi(MiningDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), MiningDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), MiningDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(MiningDialog); - } // setupUi - - void retranslateUi(QDialog *MiningDialog) - { - MiningDialog->setWindowTitle(QApplication::translate("MiningDialog", "Gridcoin - Mining Console", 0, QApplication::UnicodeUTF8)); - lblProcessingPowerValue->setText(QApplication::translate("MiningDialog", "0%", 0, QApplication::UnicodeUTF8)); - lblThreads->setText(QApplication::translate("MiningDialog", "0", 0, QApplication::UnicodeUTF8)); - btnRefresh->setText(QApplication::translate("MiningDialog", "Refresh", 0, QApplication::UnicodeUTF8)); - lblVersion->setText(QApplication::translate("MiningDialog", "False", 0, QApplication::UnicodeUTF8)); - btnRegister->setText(QApplication::translate("MiningDialog", "Register Mining Module", 0, QApplication::UnicodeUTF8)); - btnExit->setText(QApplication::translate("MiningDialog", "Exit", 0, QApplication::UnicodeUTF8)); - btnUnregister->setText(QApplication::translate("MiningDialog", "Un-Register Mining Module", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class MiningDialog: public Ui_MiningDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_MININGDIALOG_H diff --git a/build/ui_optionsdialog.h b/build/ui_optionsdialog.h deleted file mode 100644 index 21c2351..0000000 --- a/build/ui_optionsdialog.h +++ /dev/null @@ -1,463 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'optionsdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_OPTIONSDIALOG_H -#define UI_OPTIONSDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "bitcoinamountfield.h" -#include "qvalidatedlineedit.h" -#include "qvaluecombobox.h" - -QT_BEGIN_NAMESPACE - -class Ui_OptionsDialog -{ -public: - QVBoxLayout *verticalLayout; - QTabWidget *tabWidget; - QWidget *tabMain; - QVBoxLayout *verticalLayout_Main; - QLabel *transactionFeeInfoLabel; - QHBoxLayout *horizontalLayout_1_Main; - QLabel *transactionFeeLabel; - BitcoinAmountField *transactionFee; - QSpacerItem *horizontalSpacer_1_Main; - QCheckBox *bitcoinAtStartup; - QSpacerItem *verticalSpacer_Main; - QHBoxLayout *horizontalLayout_2_Main; - QSpacerItem *horizontalSpacer_2_Main; - QPushButton *resetButton; - QWidget *tabNetwork; - QVBoxLayout *verticalLayout_Network; - QCheckBox *mapPortUpnp; - QCheckBox *connectSocks; - QHBoxLayout *horizontalLayout_Network; - QLabel *proxyIpLabel; - QValidatedLineEdit *proxyIp; - QLabel *proxyPortLabel; - QLineEdit *proxyPort; - QLabel *socksVersionLabel; - QValueComboBox *socksVersion; - QSpacerItem *horizontalSpacer_Network; - QSpacerItem *verticalSpacer_Network; - QWidget *tabWindow; - QVBoxLayout *verticalLayout_Window; - QCheckBox *minimizeToTray; - QCheckBox *minimizeOnClose; - QSpacerItem *verticalSpacer_Window; - QWidget *tabDisplay; - QVBoxLayout *verticalLayout_Display; - QHBoxLayout *horizontalLayout_1_Display; - QLabel *langLabel; - QValueComboBox *lang; - QHBoxLayout *horizontalLayout_2_Display; - QLabel *unitLabel; - QValueComboBox *unit; - QCheckBox *displayAddresses; - QSpacerItem *verticalSpacer_Display; - QHBoxLayout *horizontalLayout_Buttons; - QSpacerItem *horizontalSpacer_1; - QLabel *statusLabel; - QSpacerItem *horizontalSpacer_2; - QPushButton *okButton; - QPushButton *cancelButton; - QPushButton *applyButton; - - void setupUi(QDialog *OptionsDialog) - { - if (OptionsDialog->objectName().isEmpty()) - OptionsDialog->setObjectName(QString::fromUtf8("OptionsDialog")); - OptionsDialog->resize(540, 380); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(255, 255, 255, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush1); - QBrush brush2(QColor(0, 0, 0, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush2); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush2); - QBrush brush3(QColor(120, 120, 120, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush3); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush2); - OptionsDialog->setPalette(palette); - OptionsDialog->setAutoFillBackground(true); - OptionsDialog->setModal(true); - verticalLayout = new QVBoxLayout(OptionsDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - tabWidget = new QTabWidget(OptionsDialog); - tabWidget->setObjectName(QString::fromUtf8("tabWidget")); - QPalette palette1; - QBrush brush4(QColor(0, 0, 127, 255)); - brush4.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Light, brush4); - QBrush brush5(QColor(170, 255, 127, 255)); - brush5.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::BrightText, brush5); - palette1.setBrush(QPalette::Active, QPalette::Base, brush4); - QBrush brush6(QColor(255, 255, 0, 255)); - brush6.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::HighlightedText, brush6); - palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush4); - QBrush brush7(QColor(0, 0, 255, 255)); - brush7.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::NoRole, brush7); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush5); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush6); - palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush7); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush5); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush2); - palette1.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush6); - palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush7); - tabWidget->setPalette(palette1); - tabWidget->setAutoFillBackground(true); - tabWidget->setTabPosition(QTabWidget::North); - tabMain = new QWidget(); - tabMain->setObjectName(QString::fromUtf8("tabMain")); - verticalLayout_Main = new QVBoxLayout(tabMain); - verticalLayout_Main->setObjectName(QString::fromUtf8("verticalLayout_Main")); - transactionFeeInfoLabel = new QLabel(tabMain); - transactionFeeInfoLabel->setObjectName(QString::fromUtf8("transactionFeeInfoLabel")); - transactionFeeInfoLabel->setTextFormat(Qt::PlainText); - transactionFeeInfoLabel->setWordWrap(true); - - verticalLayout_Main->addWidget(transactionFeeInfoLabel); - - horizontalLayout_1_Main = new QHBoxLayout(); - horizontalLayout_1_Main->setObjectName(QString::fromUtf8("horizontalLayout_1_Main")); - transactionFeeLabel = new QLabel(tabMain); - transactionFeeLabel->setObjectName(QString::fromUtf8("transactionFeeLabel")); - transactionFeeLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_1_Main->addWidget(transactionFeeLabel); - - transactionFee = new BitcoinAmountField(tabMain); - transactionFee->setObjectName(QString::fromUtf8("transactionFee")); - - horizontalLayout_1_Main->addWidget(transactionFee); - - horizontalSpacer_1_Main = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_1_Main->addItem(horizontalSpacer_1_Main); - - - verticalLayout_Main->addLayout(horizontalLayout_1_Main); - - bitcoinAtStartup = new QCheckBox(tabMain); - bitcoinAtStartup->setObjectName(QString::fromUtf8("bitcoinAtStartup")); - - verticalLayout_Main->addWidget(bitcoinAtStartup); - - verticalSpacer_Main = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_Main->addItem(verticalSpacer_Main); - - horizontalLayout_2_Main = new QHBoxLayout(); - horizontalLayout_2_Main->setObjectName(QString::fromUtf8("horizontalLayout_2_Main")); - horizontalSpacer_2_Main = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_2_Main->addItem(horizontalSpacer_2_Main); - - resetButton = new QPushButton(tabMain); - resetButton->setObjectName(QString::fromUtf8("resetButton")); - resetButton->setAutoDefault(false); - - horizontalLayout_2_Main->addWidget(resetButton); - - - verticalLayout_Main->addLayout(horizontalLayout_2_Main); - - tabWidget->addTab(tabMain, QString()); - tabNetwork = new QWidget(); - tabNetwork->setObjectName(QString::fromUtf8("tabNetwork")); - verticalLayout_Network = new QVBoxLayout(tabNetwork); - verticalLayout_Network->setObjectName(QString::fromUtf8("verticalLayout_Network")); - mapPortUpnp = new QCheckBox(tabNetwork); - mapPortUpnp->setObjectName(QString::fromUtf8("mapPortUpnp")); - - verticalLayout_Network->addWidget(mapPortUpnp); - - connectSocks = new QCheckBox(tabNetwork); - connectSocks->setObjectName(QString::fromUtf8("connectSocks")); - - verticalLayout_Network->addWidget(connectSocks); - - horizontalLayout_Network = new QHBoxLayout(); - horizontalLayout_Network->setObjectName(QString::fromUtf8("horizontalLayout_Network")); - proxyIpLabel = new QLabel(tabNetwork); - proxyIpLabel->setObjectName(QString::fromUtf8("proxyIpLabel")); - proxyIpLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_Network->addWidget(proxyIpLabel); - - proxyIp = new QValidatedLineEdit(tabNetwork); - proxyIp->setObjectName(QString::fromUtf8("proxyIp")); - proxyIp->setMaximumSize(QSize(140, 16777215)); - - horizontalLayout_Network->addWidget(proxyIp); - - proxyPortLabel = new QLabel(tabNetwork); - proxyPortLabel->setObjectName(QString::fromUtf8("proxyPortLabel")); - proxyPortLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_Network->addWidget(proxyPortLabel); - - proxyPort = new QLineEdit(tabNetwork); - proxyPort->setObjectName(QString::fromUtf8("proxyPort")); - proxyPort->setMaximumSize(QSize(55, 16777215)); - - horizontalLayout_Network->addWidget(proxyPort); - - socksVersionLabel = new QLabel(tabNetwork); - socksVersionLabel->setObjectName(QString::fromUtf8("socksVersionLabel")); - socksVersionLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_Network->addWidget(socksVersionLabel); - - socksVersion = new QValueComboBox(tabNetwork); - socksVersion->setObjectName(QString::fromUtf8("socksVersion")); - - horizontalLayout_Network->addWidget(socksVersion); - - horizontalSpacer_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_Network->addItem(horizontalSpacer_Network); - - - verticalLayout_Network->addLayout(horizontalLayout_Network); - - verticalSpacer_Network = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_Network->addItem(verticalSpacer_Network); - - tabWidget->addTab(tabNetwork, QString()); - tabWindow = new QWidget(); - tabWindow->setObjectName(QString::fromUtf8("tabWindow")); - verticalLayout_Window = new QVBoxLayout(tabWindow); - verticalLayout_Window->setObjectName(QString::fromUtf8("verticalLayout_Window")); - minimizeToTray = new QCheckBox(tabWindow); - minimizeToTray->setObjectName(QString::fromUtf8("minimizeToTray")); - - verticalLayout_Window->addWidget(minimizeToTray); - - minimizeOnClose = new QCheckBox(tabWindow); - minimizeOnClose->setObjectName(QString::fromUtf8("minimizeOnClose")); - - verticalLayout_Window->addWidget(minimizeOnClose); - - verticalSpacer_Window = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_Window->addItem(verticalSpacer_Window); - - tabWidget->addTab(tabWindow, QString()); - tabDisplay = new QWidget(); - tabDisplay->setObjectName(QString::fromUtf8("tabDisplay")); - verticalLayout_Display = new QVBoxLayout(tabDisplay); - verticalLayout_Display->setObjectName(QString::fromUtf8("verticalLayout_Display")); - horizontalLayout_1_Display = new QHBoxLayout(); - horizontalLayout_1_Display->setObjectName(QString::fromUtf8("horizontalLayout_1_Display")); - langLabel = new QLabel(tabDisplay); - langLabel->setObjectName(QString::fromUtf8("langLabel")); - langLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_1_Display->addWidget(langLabel); - - lang = new QValueComboBox(tabDisplay); - lang->setObjectName(QString::fromUtf8("lang")); - - horizontalLayout_1_Display->addWidget(lang); - - - verticalLayout_Display->addLayout(horizontalLayout_1_Display); - - horizontalLayout_2_Display = new QHBoxLayout(); - horizontalLayout_2_Display->setObjectName(QString::fromUtf8("horizontalLayout_2_Display")); - unitLabel = new QLabel(tabDisplay); - unitLabel->setObjectName(QString::fromUtf8("unitLabel")); - unitLabel->setTextFormat(Qt::PlainText); - - horizontalLayout_2_Display->addWidget(unitLabel); - - unit = new QValueComboBox(tabDisplay); - unit->setObjectName(QString::fromUtf8("unit")); - - horizontalLayout_2_Display->addWidget(unit); - - - verticalLayout_Display->addLayout(horizontalLayout_2_Display); - - displayAddresses = new QCheckBox(tabDisplay); - displayAddresses->setObjectName(QString::fromUtf8("displayAddresses")); - - verticalLayout_Display->addWidget(displayAddresses); - - verticalSpacer_Display = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_Display->addItem(verticalSpacer_Display); - - tabWidget->addTab(tabDisplay, QString()); - - verticalLayout->addWidget(tabWidget); - - horizontalLayout_Buttons = new QHBoxLayout(); - horizontalLayout_Buttons->setObjectName(QString::fromUtf8("horizontalLayout_Buttons")); - horizontalSpacer_1 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_Buttons->addItem(horizontalSpacer_1); - - statusLabel = new QLabel(OptionsDialog); - statusLabel->setObjectName(QString::fromUtf8("statusLabel")); - QFont font; - font.setBold(true); - font.setWeight(75); - statusLabel->setFont(font); - statusLabel->setTextFormat(Qt::PlainText); - statusLabel->setWordWrap(true); - - horizontalLayout_Buttons->addWidget(statusLabel); - - horizontalSpacer_2 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_Buttons->addItem(horizontalSpacer_2); - - okButton = new QPushButton(OptionsDialog); - okButton->setObjectName(QString::fromUtf8("okButton")); - - horizontalLayout_Buttons->addWidget(okButton); - - cancelButton = new QPushButton(OptionsDialog); - cancelButton->setObjectName(QString::fromUtf8("cancelButton")); - cancelButton->setAutoDefault(false); - - horizontalLayout_Buttons->addWidget(cancelButton); - - applyButton = new QPushButton(OptionsDialog); - applyButton->setObjectName(QString::fromUtf8("applyButton")); - applyButton->setAutoDefault(false); - - horizontalLayout_Buttons->addWidget(applyButton); - - - verticalLayout->addLayout(horizontalLayout_Buttons); - -#ifndef QT_NO_SHORTCUT - transactionFeeLabel->setBuddy(transactionFee); - proxyIpLabel->setBuddy(proxyIp); - proxyPortLabel->setBuddy(proxyPort); - socksVersionLabel->setBuddy(socksVersion); - langLabel->setBuddy(lang); - unitLabel->setBuddy(unit); -#endif // QT_NO_SHORTCUT - - retranslateUi(OptionsDialog); - - tabWidget->setCurrentIndex(3); - - - QMetaObject::connectSlotsByName(OptionsDialog); - } // setupUi - - void retranslateUi(QDialog *OptionsDialog) - { - OptionsDialog->setWindowTitle(QApplication::translate("OptionsDialog", "Options", 0, QApplication::UnicodeUTF8)); - transactionFeeInfoLabel->setText(QApplication::translate("OptionsDialog", "Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.", 0, QApplication::UnicodeUTF8)); - transactionFeeLabel->setText(QApplication::translate("OptionsDialog", "Pay transaction &fee", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - bitcoinAtStartup->setToolTip(QApplication::translate("OptionsDialog", "Automatically start Gridcoin after logging in to the system.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - bitcoinAtStartup->setText(QApplication::translate("OptionsDialog", "&Start Gridcoin on system login", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - resetButton->setToolTip(QApplication::translate("OptionsDialog", "Reset all client options to default.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - resetButton->setText(QApplication::translate("OptionsDialog", "&Reset Options", 0, QApplication::UnicodeUTF8)); - tabWidget->setTabText(tabWidget->indexOf(tabMain), QApplication::translate("OptionsDialog", "&Main", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - mapPortUpnp->setToolTip(QApplication::translate("OptionsDialog", "Automatically open the Gridcoin client port on the router. This only works when your router supports UPnP and it is enabled.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - mapPortUpnp->setText(QApplication::translate("OptionsDialog", "Map port using &UPnP", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - connectSocks->setToolTip(QApplication::translate("OptionsDialog", "Connect to the Gridcoin network through a SOCKS proxy (e.g. when connecting through Tor).", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - connectSocks->setText(QApplication::translate("OptionsDialog", "&Connect through SOCKS proxy:", 0, QApplication::UnicodeUTF8)); - proxyIpLabel->setText(QApplication::translate("OptionsDialog", "Proxy &IP:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - proxyIp->setToolTip(QApplication::translate("OptionsDialog", "IP address of the proxy (e.g. 127.0.0.1)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - proxyPortLabel->setText(QApplication::translate("OptionsDialog", "&Port:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - proxyPort->setToolTip(QApplication::translate("OptionsDialog", "Port of the proxy (e.g. 9050)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - socksVersionLabel->setText(QApplication::translate("OptionsDialog", "SOCKS &Version:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - socksVersion->setToolTip(QApplication::translate("OptionsDialog", "SOCKS version of the proxy (e.g. 5)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QApplication::translate("OptionsDialog", "&Network", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - minimizeToTray->setToolTip(QApplication::translate("OptionsDialog", "Show only a tray icon after minimizing the window.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - minimizeToTray->setText(QApplication::translate("OptionsDialog", "&Minimize to the tray instead of the taskbar", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - minimizeOnClose->setToolTip(QApplication::translate("OptionsDialog", "Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - minimizeOnClose->setText(QApplication::translate("OptionsDialog", "M&inimize on close", 0, QApplication::UnicodeUTF8)); - tabWidget->setTabText(tabWidget->indexOf(tabWindow), QApplication::translate("OptionsDialog", "&Window", 0, QApplication::UnicodeUTF8)); - langLabel->setText(QApplication::translate("OptionsDialog", "User Interface &language:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - lang->setToolTip(QApplication::translate("OptionsDialog", "The user interface language can be set here. This setting will take effect after restarting Gridcoin.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - unitLabel->setText(QApplication::translate("OptionsDialog", "&Unit to show amounts in:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - unit->setToolTip(QApplication::translate("OptionsDialog", "Choose the default subdivision unit to show in the interface and when sending coins.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_TOOLTIP - displayAddresses->setToolTip(QApplication::translate("OptionsDialog", "Whether to show Gridcoin addresses in the transaction list or not.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - displayAddresses->setText(QApplication::translate("OptionsDialog", "&Display addresses in transaction list", 0, QApplication::UnicodeUTF8)); - tabWidget->setTabText(tabWidget->indexOf(tabDisplay), QApplication::translate("OptionsDialog", "&Display", 0, QApplication::UnicodeUTF8)); - statusLabel->setText(QString()); - okButton->setText(QApplication::translate("OptionsDialog", "&OK", 0, QApplication::UnicodeUTF8)); - cancelButton->setText(QApplication::translate("OptionsDialog", "&Cancel", 0, QApplication::UnicodeUTF8)); - applyButton->setText(QApplication::translate("OptionsDialog", "&Apply", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class OptionsDialog: public Ui_OptionsDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_OPTIONSDIALOG_H diff --git a/build/ui_overviewpage.h b/build/ui_overviewpage.h deleted file mode 100644 index 74b2413..0000000 --- a/build/ui_overviewpage.h +++ /dev/null @@ -1,408 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'overviewpage.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_OVERVIEWPAGE_H -#define UI_OVERVIEWPAGE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_OverviewPage -{ -public: - QVBoxLayout *topLayout; - QLabel *labelAlerts; - QHBoxLayout *horizontalLayout; - QVBoxLayout *verticalLayout_2; - QFrame *frame; - QVBoxLayout *verticalLayout_4; - QHBoxLayout *horizontalLayout_4; - QLabel *label_5; - QLabel *labelWalletStatus; - QSpacerItem *horizontalSpacer_2; - QFormLayout *formLayout_2; - QLabel *label; - QLabel *labelBalance; - QLabel *label_3; - QLabel *labelUnconfirmed; - QLabel *labelImmatureText; - QLabel *labelImmature; - QSpacerItem *verticalSpacer; - QLabel *txtDisplay; - QVBoxLayout *verticalLayout_3; - QFrame *frame_2; - QVBoxLayout *verticalLayout; - QHBoxLayout *horizontalLayout_2; - QLabel *label_4; - QLabel *labelTransactionsStatus; - QSpacerItem *horizontalSpacer; - QListView *listTransactions; - QSpacerItem *verticalSpacer_2; - - void setupUi(QWidget *OverviewPage) - { - if (OverviewPage->objectName().isEmpty()) - OverviewPage->setObjectName(QString::fromUtf8("OverviewPage")); - OverviewPage->resize(839, 755); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(0, 85, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush2(QColor(0, 0, 107, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Light, brush2); - QBrush brush3(QColor(170, 255, 127, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Midlight, brush3); - QBrush brush4(QColor(0, 0, 127, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Dark, brush4); - QBrush brush5(QColor(0, 113, 170, 255)); - brush5.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Mid, brush5); - palette.setBrush(QPalette::Active, QPalette::Text, brush); - palette.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette.setBrush(QPalette::Active, QPalette::ButtonText, brush); - QBrush brush6(QColor(0, 0, 0, 255)); - brush6.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush6); - palette.setBrush(QPalette::Active, QPalette::Window, brush6); - QBrush brush7(QColor(141, 141, 141, 255)); - brush7.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Shadow, brush7); - QBrush brush8(QColor(51, 153, 255, 255)); - brush8.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Highlight, brush8); - QBrush brush9(QColor(85, 255, 0, 255)); - brush9.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::HighlightedText, brush9); - palette.setBrush(QPalette::Active, QPalette::Link, brush4); - QBrush brush10(QColor(255, 255, 127, 255)); - brush10.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::LinkVisited, brush10); - QBrush brush11(QColor(20, 29, 8, 255)); - brush11.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush11); - palette.setBrush(QPalette::Active, QPalette::NoRole, brush4); - QBrush brush12(QColor(255, 255, 220, 255)); - brush12.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush12); - QBrush brush13(QColor(0, 255, 255, 255)); - brush13.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush13); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Light, brush2); - palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3); - palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4); - palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5); - palette.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush6); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush6); - palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush7); - palette.setBrush(QPalette::Inactive, QPalette::Highlight, brush6); - palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush9); - palette.setBrush(QPalette::Inactive, QPalette::Link, brush4); - palette.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush10); - palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush11); - palette.setBrush(QPalette::Inactive, QPalette::NoRole, brush4); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush12); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush13); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Light, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3); - palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4); - palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5); - palette.setBrush(QPalette::Disabled, QPalette::Text, brush); - palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush6); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush6); - palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush7); - palette.setBrush(QPalette::Disabled, QPalette::Highlight, brush8); - palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush9); - palette.setBrush(QPalette::Disabled, QPalette::Link, brush4); - palette.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush10); - palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush11); - palette.setBrush(QPalette::Disabled, QPalette::NoRole, brush4); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush12); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush13); - OverviewPage->setPalette(palette); - QFont font; - font.setFamily(QString::fromUtf8("MS UI Gothic")); - font.setPointSize(12); - OverviewPage->setFont(font); - OverviewPage->setWindowOpacity(55); - OverviewPage->setAutoFillBackground(true); - OverviewPage->setStyleSheet(QString::fromUtf8("")); - topLayout = new QVBoxLayout(OverviewPage); - topLayout->setObjectName(QString::fromUtf8("topLayout")); - labelAlerts = new QLabel(OverviewPage); - labelAlerts->setObjectName(QString::fromUtf8("labelAlerts")); - labelAlerts->setVisible(false); - labelAlerts->setStyleSheet(QString::fromUtf8("background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000;")); - labelAlerts->setWordWrap(true); - labelAlerts->setMargin(3); - - topLayout->addWidget(labelAlerts); - - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - verticalLayout_2 = new QVBoxLayout(); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - frame = new QFrame(OverviewPage); - frame->setObjectName(QString::fromUtf8("frame")); - frame->setFrameShape(QFrame::StyledPanel); - frame->setFrameShadow(QFrame::Raised); - verticalLayout_4 = new QVBoxLayout(frame); - verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4")); - horizontalLayout_4 = new QHBoxLayout(); - horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); - label_5 = new QLabel(frame); - label_5->setObjectName(QString::fromUtf8("label_5")); - QFont font1; - font1.setFamily(QString::fromUtf8("MS UI Gothic")); - label_5->setFont(font1); - label_5->setAutoFillBackground(false); - - horizontalLayout_4->addWidget(label_5); - - labelWalletStatus = new QLabel(frame); - labelWalletStatus->setObjectName(QString::fromUtf8("labelWalletStatus")); - labelWalletStatus->setAutoFillBackground(false); - labelWalletStatus->setStyleSheet(QString::fromUtf8("QLabel { color: red; }")); - labelWalletStatus->setText(QString::fromUtf8("(out of sync)")); - labelWalletStatus->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); - - horizontalLayout_4->addWidget(labelWalletStatus); - - horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_4->addItem(horizontalSpacer_2); - - - verticalLayout_4->addLayout(horizontalLayout_4); - - formLayout_2 = new QFormLayout(); - formLayout_2->setObjectName(QString::fromUtf8("formLayout_2")); - formLayout_2->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); - formLayout_2->setHorizontalSpacing(12); - formLayout_2->setVerticalSpacing(12); - label = new QLabel(frame); - label->setObjectName(QString::fromUtf8("label")); - label->setAutoFillBackground(false); - - formLayout_2->setWidget(0, QFormLayout::LabelRole, label); - - labelBalance = new QLabel(frame); - labelBalance->setObjectName(QString::fromUtf8("labelBalance")); - labelBalance->setFont(font1); - labelBalance->setCursor(QCursor(Qt::IBeamCursor)); - labelBalance->setAutoFillBackground(false); - labelBalance->setText(QString::fromUtf8("0 GRC")); - labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - formLayout_2->setWidget(0, QFormLayout::FieldRole, labelBalance); - - label_3 = new QLabel(frame); - label_3->setObjectName(QString::fromUtf8("label_3")); - label_3->setAutoFillBackground(false); - - formLayout_2->setWidget(1, QFormLayout::LabelRole, label_3); - - labelUnconfirmed = new QLabel(frame); - labelUnconfirmed->setObjectName(QString::fromUtf8("labelUnconfirmed")); - labelUnconfirmed->setFont(font1); - labelUnconfirmed->setCursor(QCursor(Qt::IBeamCursor)); - labelUnconfirmed->setAutoFillBackground(false); - labelUnconfirmed->setText(QString::fromUtf8("0 GRC")); - labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - formLayout_2->setWidget(1, QFormLayout::FieldRole, labelUnconfirmed); - - labelImmatureText = new QLabel(frame); - labelImmatureText->setObjectName(QString::fromUtf8("labelImmatureText")); - labelImmatureText->setAutoFillBackground(false); - - formLayout_2->setWidget(2, QFormLayout::LabelRole, labelImmatureText); - - labelImmature = new QLabel(frame); - labelImmature->setObjectName(QString::fromUtf8("labelImmature")); - labelImmature->setFont(font1); - labelImmature->setAutoFillBackground(false); - labelImmature->setText(QString::fromUtf8("0 GRC")); - labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - formLayout_2->setWidget(2, QFormLayout::FieldRole, labelImmature); - - - verticalLayout_4->addLayout(formLayout_2); - - - verticalLayout_2->addWidget(frame); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_2->addItem(verticalSpacer); - - txtDisplay = new QLabel(OverviewPage); - txtDisplay->setObjectName(QString::fromUtf8("txtDisplay")); - - verticalLayout_2->addWidget(txtDisplay); - - - horizontalLayout->addLayout(verticalLayout_2); - - verticalLayout_3 = new QVBoxLayout(); - verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); - frame_2 = new QFrame(OverviewPage); - frame_2->setObjectName(QString::fromUtf8("frame_2")); - frame_2->setAutoFillBackground(false); - frame_2->setFrameShape(QFrame::StyledPanel); - frame_2->setFrameShadow(QFrame::Raised); - verticalLayout = new QVBoxLayout(frame_2); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - horizontalLayout_2 = new QHBoxLayout(); - horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); - label_4 = new QLabel(frame_2); - label_4->setObjectName(QString::fromUtf8("label_4")); - label_4->setAutoFillBackground(false); - - horizontalLayout_2->addWidget(label_4); - - labelTransactionsStatus = new QLabel(frame_2); - labelTransactionsStatus->setObjectName(QString::fromUtf8("labelTransactionsStatus")); - labelTransactionsStatus->setAutoFillBackground(false); - labelTransactionsStatus->setStyleSheet(QString::fromUtf8("QLabel { color: red; }")); - labelTransactionsStatus->setText(QString::fromUtf8("(out of sync)")); - labelTransactionsStatus->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); - - horizontalLayout_2->addWidget(labelTransactionsStatus); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_2->addItem(horizontalSpacer); - - - verticalLayout->addLayout(horizontalLayout_2); - - listTransactions = new QListView(frame_2); - listTransactions->setObjectName(QString::fromUtf8("listTransactions")); - QPalette palette1; - palette1.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush14(QColor(0, 0, 0, 0)); - brush14.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Button, brush14); - palette1.setBrush(QPalette::Active, QPalette::Text, brush); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush); - QBrush brush15(QColor(0, 0, 0, 255)); - brush15.setStyle(Qt::NoBrush); - palette1.setBrush(QPalette::Active, QPalette::Base, brush15); - palette1.setBrush(QPalette::Active, QPalette::Window, brush14); - palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush14); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - QBrush brush16(QColor(0, 0, 0, 255)); - brush16.setStyle(Qt::NoBrush); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush16); - palette1.setBrush(QPalette::Inactive, QPalette::Window, brush14); - palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush14); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush); - QBrush brush17(QColor(0, 0, 0, 255)); - brush17.setStyle(Qt::NoBrush); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush17); - palette1.setBrush(QPalette::Disabled, QPalette::Window, brush14); - listTransactions->setPalette(palette1); - listTransactions->setAutoFillBackground(true); - listTransactions->setStyleSheet(QString::fromUtf8("QListView { background: transparent; } color:#00FF00;")); - listTransactions->setFrameShape(QFrame::NoFrame); - listTransactions->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - listTransactions->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - listTransactions->setSelectionMode(QAbstractItemView::NoSelection); - - verticalLayout->addWidget(listTransactions); - - - verticalLayout_3->addWidget(frame_2); - - verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_3->addItem(verticalSpacer_2); - - - horizontalLayout->addLayout(verticalLayout_3); - - horizontalLayout->setStretch(0, 1); - horizontalLayout->setStretch(1, 1); - - topLayout->addLayout(horizontalLayout); - - - retranslateUi(OverviewPage); - - QMetaObject::connectSlotsByName(OverviewPage); - } // setupUi - - void retranslateUi(QWidget *OverviewPage) - { - OverviewPage->setWindowTitle(QApplication::translate("OverviewPage", "Form", 0, QApplication::UnicodeUTF8)); - label_5->setText(QApplication::translate("OverviewPage", "Wallet", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelWalletStatus->setToolTip(QApplication::translate("OverviewPage", "The displayed information may be out of date. Your wallet automatically synchronizes with the Litecoin network after a connection is established, but this process has not completed yet.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - label->setText(QApplication::translate("OverviewPage", "Balance:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelBalance->setToolTip(QApplication::translate("OverviewPage", "Your current balance", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - label_3->setText(QApplication::translate("OverviewPage", "Unconfirmed:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelUnconfirmed->setToolTip(QApplication::translate("OverviewPage", "Total of transactions that have yet to be confirmed, and do not yet count toward the current balance", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - labelImmatureText->setText(QApplication::translate("OverviewPage", "Immature:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelImmature->setToolTip(QApplication::translate("OverviewPage", "Mined balance that has not yet matured", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - txtDisplay->setText(QApplication::translate("OverviewPage", "TextLabel", 0, QApplication::UnicodeUTF8)); - label_4->setText(QApplication::translate("OverviewPage", "Recent transactions", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - labelTransactionsStatus->setToolTip(QApplication::translate("OverviewPage", "The displayed information may be out of date. Your wallet automatically synchronizes with the Litecoin network after a connection is established, but this process has not completed yet.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - } // retranslateUi - -}; - -namespace Ui { - class OverviewPage: public Ui_OverviewPage {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_OVERVIEWPAGE_H diff --git a/build/ui_rpcconsole.h b/build/ui_rpcconsole.h deleted file mode 100644 index 25ba9d6..0000000 --- a/build/ui_rpcconsole.h +++ /dev/null @@ -1,608 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'rpcconsole.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_RPCCONSOLE_H -#define UI_RPCCONSOLE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_RPCConsole -{ -public: - QVBoxLayout *verticalLayout_2; - QTabWidget *tabWidget; - QWidget *tab_info; - QGridLayout *gridLayout; - QLabel *label_9; - QLabel *label_5; - QLabel *clientName; - QLabel *label_6; - QLabel *clientVersion; - QLabel *label_14; - QLabel *openSSLVersion; - QLabel *label_12; - QLabel *buildDate; - QLabel *label_13; - QLabel *startupTime; - QLabel *label_11; - QLabel *label_7; - QLabel *numberOfConnections; - QLabel *label_8; - QCheckBox *isTestNet; - QLabel *label_10; - QLabel *label_3; - QLabel *numberOfBlocks; - QLabel *label_4; - QLabel *totalBlocks; - QLabel *label_2; - QLabel *lastBlockTime; - QSpacerItem *verticalSpacer_2; - QLabel *labelDebugLogfile; - QPushButton *openDebugLogfileButton; - QLabel *labelCLOptions; - QPushButton *showCLOptionsButton; - QSpacerItem *verticalSpacer; - QWidget *tab_console; - QVBoxLayout *verticalLayout_3; - QTextEdit *messagesWidget; - QHBoxLayout *horizontalLayout; - QLabel *label; - QLineEdit *lineEdit; - QPushButton *clearButton; - - void setupUi(QDialog *RPCConsole) - { - if (RPCConsole->objectName().isEmpty()) - RPCConsole->setObjectName(QString::fromUtf8("RPCConsole")); - RPCConsole->resize(885, 584); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(0, 0, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - palette.setBrush(QPalette::Active, QPalette::Light, brush1); - palette.setBrush(QPalette::Active, QPalette::Midlight, brush1); - palette.setBrush(QPalette::Active, QPalette::Dark, brush1); - palette.setBrush(QPalette::Active, QPalette::Mid, brush1); - palette.setBrush(QPalette::Active, QPalette::Text, brush); - palette.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette.setBrush(QPalette::Active, QPalette::ButtonText, brush); - QBrush brush2(QColor(8, 8, 8, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush2); - QBrush brush3(QColor(12, 12, 12, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush3); - palette.setBrush(QPalette::Active, QPalette::Shadow, brush1); - QBrush brush4(QColor(51, 153, 255, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Highlight, brush4); - QBrush brush5(QColor(170, 170, 0, 255)); - brush5.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::HighlightedText, brush5); - QBrush brush6(QColor(14, 21, 21, 255)); - brush6.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush6); - QBrush brush7(QColor(30, 20, 0, 255)); - brush7.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::NoRole, brush7); - QBrush brush8(QColor(255, 170, 0, 255)); - brush8.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush8); - palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush1); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Light, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Dark, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Mid, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Highlight, brush1); - palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush5); - palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush1); - QBrush brush9(QColor(33, 33, 33, 255)); - brush9.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Inactive, QPalette::NoRole, brush9); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush9); - palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Light, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Dark, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Mid, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Text, brush1); - palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Highlight, brush4); - palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush5); - palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1); - palette.setBrush(QPalette::Disabled, QPalette::NoRole, brush9); - QBrush brush10(QColor(255, 255, 220, 255)); - brush10.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush10); - palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1); - RPCConsole->setPalette(palette); - RPCConsole->setWindowOpacity(55); - RPCConsole->setAutoFillBackground(true); - verticalLayout_2 = new QVBoxLayout(RPCConsole); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - tabWidget = new QTabWidget(RPCConsole); - tabWidget->setObjectName(QString::fromUtf8("tabWidget")); - QPalette palette1; - palette1.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Active, QPalette::Button, brush1); - palette1.setBrush(QPalette::Active, QPalette::Light, brush1); - palette1.setBrush(QPalette::Active, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Active, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Active, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Active, QPalette::Text, brush); - palette1.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush); - palette1.setBrush(QPalette::Active, QPalette::Base, brush1); - palette1.setBrush(QPalette::Active, QPalette::Window, brush1); - palette1.setBrush(QPalette::Active, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Active, QPalette::Highlight, brush9); - QBrush brush11(QColor(2, 9, 11, 255)); - brush11.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush11); - QBrush brush12(QColor(1, 4, 2, 255)); - brush12.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::NoRole, brush12); - QBrush brush13(QColor(170, 85, 255, 255)); - brush13.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush13); - palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Window, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Highlight, brush9); - palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush11); - palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush12); - palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush13); - palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush); - palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Window, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Highlight, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush11); - palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush12); - palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush13); - palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1); - tabWidget->setPalette(palette1); - tabWidget->setAutoFillBackground(false); - tabWidget->setStyleSheet(QString::fromUtf8("font: 12pt \"MS UI Gothic\";color:#00FF00;background-color:black")); - tab_info = new QWidget(); - tab_info->setObjectName(QString::fromUtf8("tab_info")); - gridLayout = new QGridLayout(tab_info); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - gridLayout->setHorizontalSpacing(12); - label_9 = new QLabel(tab_info); - label_9->setObjectName(QString::fromUtf8("label_9")); - QFont font; - font.setFamily(QString::fromUtf8("MS UI Gothic")); - font.setPointSize(12); - font.setBold(false); - font.setItalic(false); - font.setWeight(50); - label_9->setFont(font); - label_9->setAutoFillBackground(false); - - gridLayout->addWidget(label_9, 0, 0, 1, 1); - - label_5 = new QLabel(tab_info); - label_5->setObjectName(QString::fromUtf8("label_5")); - label_5->setAutoFillBackground(false); - - gridLayout->addWidget(label_5, 1, 0, 1, 1); - - clientName = new QLabel(tab_info); - clientName->setObjectName(QString::fromUtf8("clientName")); - clientName->setCursor(QCursor(Qt::IBeamCursor)); - clientName->setAutoFillBackground(false); - clientName->setTextFormat(Qt::PlainText); - clientName->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(clientName, 1, 1, 1, 1); - - label_6 = new QLabel(tab_info); - label_6->setObjectName(QString::fromUtf8("label_6")); - label_6->setAutoFillBackground(false); - - gridLayout->addWidget(label_6, 2, 0, 1, 1); - - clientVersion = new QLabel(tab_info); - clientVersion->setObjectName(QString::fromUtf8("clientVersion")); - clientVersion->setCursor(QCursor(Qt::IBeamCursor)); - clientVersion->setAutoFillBackground(false); - clientVersion->setTextFormat(Qt::PlainText); - clientVersion->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(clientVersion, 2, 1, 1, 1); - - label_14 = new QLabel(tab_info); - label_14->setObjectName(QString::fromUtf8("label_14")); - label_14->setAutoFillBackground(false); - label_14->setIndent(10); - - gridLayout->addWidget(label_14, 3, 0, 1, 1); - - openSSLVersion = new QLabel(tab_info); - openSSLVersion->setObjectName(QString::fromUtf8("openSSLVersion")); - openSSLVersion->setCursor(QCursor(Qt::IBeamCursor)); - openSSLVersion->setAutoFillBackground(false); - openSSLVersion->setTextFormat(Qt::PlainText); - openSSLVersion->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(openSSLVersion, 3, 1, 1, 1); - - label_12 = new QLabel(tab_info); - label_12->setObjectName(QString::fromUtf8("label_12")); - label_12->setAutoFillBackground(false); - - gridLayout->addWidget(label_12, 4, 0, 1, 1); - - buildDate = new QLabel(tab_info); - buildDate->setObjectName(QString::fromUtf8("buildDate")); - buildDate->setCursor(QCursor(Qt::IBeamCursor)); - buildDate->setAutoFillBackground(false); - buildDate->setTextFormat(Qt::PlainText); - buildDate->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(buildDate, 4, 1, 1, 1); - - label_13 = new QLabel(tab_info); - label_13->setObjectName(QString::fromUtf8("label_13")); - label_13->setAutoFillBackground(false); - - gridLayout->addWidget(label_13, 5, 0, 1, 1); - - startupTime = new QLabel(tab_info); - startupTime->setObjectName(QString::fromUtf8("startupTime")); - startupTime->setCursor(QCursor(Qt::IBeamCursor)); - startupTime->setAutoFillBackground(false); - startupTime->setTextFormat(Qt::PlainText); - startupTime->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(startupTime, 5, 1, 1, 1); - - label_11 = new QLabel(tab_info); - label_11->setObjectName(QString::fromUtf8("label_11")); - label_11->setFont(font); - label_11->setAutoFillBackground(false); - - gridLayout->addWidget(label_11, 6, 0, 1, 1); - - label_7 = new QLabel(tab_info); - label_7->setObjectName(QString::fromUtf8("label_7")); - label_7->setAutoFillBackground(false); - - gridLayout->addWidget(label_7, 7, 0, 1, 1); - - numberOfConnections = new QLabel(tab_info); - numberOfConnections->setObjectName(QString::fromUtf8("numberOfConnections")); - numberOfConnections->setCursor(QCursor(Qt::IBeamCursor)); - numberOfConnections->setAutoFillBackground(false); - numberOfConnections->setTextFormat(Qt::PlainText); - numberOfConnections->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(numberOfConnections, 7, 1, 1, 1); - - label_8 = new QLabel(tab_info); - label_8->setObjectName(QString::fromUtf8("label_8")); - label_8->setAutoFillBackground(false); - - gridLayout->addWidget(label_8, 8, 0, 1, 1); - - isTestNet = new QCheckBox(tab_info); - isTestNet->setObjectName(QString::fromUtf8("isTestNet")); - isTestNet->setEnabled(false); - isTestNet->setAutoFillBackground(false); - - gridLayout->addWidget(isTestNet, 8, 1, 1, 1); - - label_10 = new QLabel(tab_info); - label_10->setObjectName(QString::fromUtf8("label_10")); - label_10->setFont(font); - label_10->setAutoFillBackground(false); - - gridLayout->addWidget(label_10, 9, 0, 1, 1); - - label_3 = new QLabel(tab_info); - label_3->setObjectName(QString::fromUtf8("label_3")); - label_3->setAutoFillBackground(false); - - gridLayout->addWidget(label_3, 10, 0, 1, 1); - - numberOfBlocks = new QLabel(tab_info); - numberOfBlocks->setObjectName(QString::fromUtf8("numberOfBlocks")); - numberOfBlocks->setCursor(QCursor(Qt::IBeamCursor)); - numberOfBlocks->setAutoFillBackground(false); - numberOfBlocks->setTextFormat(Qt::PlainText); - numberOfBlocks->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(numberOfBlocks, 10, 1, 1, 1); - - label_4 = new QLabel(tab_info); - label_4->setObjectName(QString::fromUtf8("label_4")); - label_4->setAutoFillBackground(false); - - gridLayout->addWidget(label_4, 11, 0, 1, 1); - - totalBlocks = new QLabel(tab_info); - totalBlocks->setObjectName(QString::fromUtf8("totalBlocks")); - totalBlocks->setCursor(QCursor(Qt::IBeamCursor)); - totalBlocks->setAutoFillBackground(false); - totalBlocks->setTextFormat(Qt::PlainText); - totalBlocks->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(totalBlocks, 11, 1, 1, 1); - - label_2 = new QLabel(tab_info); - label_2->setObjectName(QString::fromUtf8("label_2")); - label_2->setAutoFillBackground(false); - - gridLayout->addWidget(label_2, 12, 0, 1, 1); - - lastBlockTime = new QLabel(tab_info); - lastBlockTime->setObjectName(QString::fromUtf8("lastBlockTime")); - lastBlockTime->setCursor(QCursor(Qt::IBeamCursor)); - lastBlockTime->setAutoFillBackground(false); - lastBlockTime->setTextFormat(Qt::PlainText); - lastBlockTime->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - gridLayout->addWidget(lastBlockTime, 12, 1, 1, 1); - - verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer_2, 13, 0, 1, 1); - - labelDebugLogfile = new QLabel(tab_info); - labelDebugLogfile->setObjectName(QString::fromUtf8("labelDebugLogfile")); - labelDebugLogfile->setFont(font); - labelDebugLogfile->setAutoFillBackground(false); - - gridLayout->addWidget(labelDebugLogfile, 14, 0, 1, 1); - - openDebugLogfileButton = new QPushButton(tab_info); - openDebugLogfileButton->setObjectName(QString::fromUtf8("openDebugLogfileButton")); - openDebugLogfileButton->setAutoFillBackground(false); - openDebugLogfileButton->setAutoDefault(false); - - gridLayout->addWidget(openDebugLogfileButton, 15, 0, 1, 1); - - labelCLOptions = new QLabel(tab_info); - labelCLOptions->setObjectName(QString::fromUtf8("labelCLOptions")); - labelCLOptions->setFont(font); - - gridLayout->addWidget(labelCLOptions, 16, 0, 1, 1); - - showCLOptionsButton = new QPushButton(tab_info); - showCLOptionsButton->setObjectName(QString::fromUtf8("showCLOptionsButton")); - showCLOptionsButton->setAutoFillBackground(false); - showCLOptionsButton->setAutoDefault(false); - - gridLayout->addWidget(showCLOptionsButton, 17, 0, 1, 1); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer, 18, 0, 1, 1); - - gridLayout->setColumnStretch(1, 1); - tabWidget->addTab(tab_info, QString()); - tab_console = new QWidget(); - tab_console->setObjectName(QString::fromUtf8("tab_console")); - verticalLayout_3 = new QVBoxLayout(tab_console); - verticalLayout_3->setSpacing(3); - verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); - messagesWidget = new QTextEdit(tab_console); - messagesWidget->setObjectName(QString::fromUtf8("messagesWidget")); - messagesWidget->setMinimumSize(QSize(0, 100)); - QPalette palette2; - palette2.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette2.setBrush(QPalette::Active, QPalette::Button, brush1); - palette2.setBrush(QPalette::Active, QPalette::Light, brush); - palette2.setBrush(QPalette::Active, QPalette::Text, brush); - palette2.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Active, QPalette::ButtonText, brush); - palette2.setBrush(QPalette::Active, QPalette::Base, brush1); - palette2.setBrush(QPalette::Active, QPalette::Window, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::Light, brush); - palette2.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette2.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::Window, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::WindowText, brush); - palette2.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::Light, brush); - palette2.setBrush(QPalette::Disabled, QPalette::Text, brush); - palette2.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Disabled, QPalette::ButtonText, brush); - palette2.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::Window, brush1); - messagesWidget->setPalette(palette2); - messagesWidget->setAutoFillBackground(true); - messagesWidget->setReadOnly(true); - messagesWidget->setProperty("tabKeyNavigation", QVariant(false)); - messagesWidget->setProperty("columnCount", QVariant(2)); - - verticalLayout_3->addWidget(messagesWidget); - - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setSpacing(3); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - label = new QLabel(tab_console); - label->setObjectName(QString::fromUtf8("label")); - label->setText(QString::fromUtf8(">")); - - horizontalLayout->addWidget(label); - - lineEdit = new QLineEdit(tab_console); - lineEdit->setObjectName(QString::fromUtf8("lineEdit")); - QPalette palette3; - palette3.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette3.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush14(QColor(0, 0, 127, 255)); - brush14.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Active, QPalette::Light, brush14); - palette3.setBrush(QPalette::Active, QPalette::Text, brush); - palette3.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Active, QPalette::ButtonText, brush); - palette3.setBrush(QPalette::Active, QPalette::Base, brush1); - palette3.setBrush(QPalette::Active, QPalette::Window, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::Light, brush14); - palette3.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette3.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::Window, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::WindowText, brush); - palette3.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::Light, brush14); - palette3.setBrush(QPalette::Disabled, QPalette::Text, brush); - palette3.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Disabled, QPalette::ButtonText, brush); - palette3.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::Window, brush1); - lineEdit->setPalette(palette3); - lineEdit->setAutoFillBackground(false); - - horizontalLayout->addWidget(lineEdit); - - clearButton = new QPushButton(tab_console); - clearButton->setObjectName(QString::fromUtf8("clearButton")); - clearButton->setMaximumSize(QSize(24, 24)); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); - clearButton->setIcon(icon); - clearButton->setShortcut(QString::fromUtf8("Ctrl+L")); - clearButton->setAutoDefault(false); - - horizontalLayout->addWidget(clearButton); - - - verticalLayout_3->addLayout(horizontalLayout); - - tabWidget->addTab(tab_console, QString()); - - verticalLayout_2->addWidget(tabWidget); - - - retranslateUi(RPCConsole); - - tabWidget->setCurrentIndex(0); - - - QMetaObject::connectSlotsByName(RPCConsole); - } // setupUi - - void retranslateUi(QDialog *RPCConsole) - { - RPCConsole->setWindowTitle(QApplication::translate("RPCConsole", "Gridcoin - Debug Console", 0, QApplication::UnicodeUTF8)); - label_9->setText(QApplication::translate("RPCConsole", "Gridcoin Core", 0, QApplication::UnicodeUTF8)); - label_5->setText(QApplication::translate("RPCConsole", "Client name", 0, QApplication::UnicodeUTF8)); - clientName->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_6->setText(QApplication::translate("RPCConsole", "Client version", 0, QApplication::UnicodeUTF8)); - clientVersion->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_14->setText(QApplication::translate("RPCConsole", "Using OpenSSL version", 0, QApplication::UnicodeUTF8)); - openSSLVersion->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_12->setText(QApplication::translate("RPCConsole", "Build date", 0, QApplication::UnicodeUTF8)); - buildDate->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_13->setText(QApplication::translate("RPCConsole", "Startup time", 0, QApplication::UnicodeUTF8)); - startupTime->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_11->setText(QApplication::translate("RPCConsole", "Network", 0, QApplication::UnicodeUTF8)); - label_7->setText(QApplication::translate("RPCConsole", "Number of connections", 0, QApplication::UnicodeUTF8)); - numberOfConnections->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_8->setText(QApplication::translate("RPCConsole", "On testnet", 0, QApplication::UnicodeUTF8)); - isTestNet->setText(QString()); - label_10->setText(QApplication::translate("RPCConsole", "Block chain", 0, QApplication::UnicodeUTF8)); - label_3->setText(QApplication::translate("RPCConsole", "Current number of blocks", 0, QApplication::UnicodeUTF8)); - numberOfBlocks->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_4->setText(QApplication::translate("RPCConsole", "Estimated total blocks", 0, QApplication::UnicodeUTF8)); - totalBlocks->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - label_2->setText(QApplication::translate("RPCConsole", "Last block time", 0, QApplication::UnicodeUTF8)); - lastBlockTime->setText(QApplication::translate("RPCConsole", "N/A", 0, QApplication::UnicodeUTF8)); - labelDebugLogfile->setText(QApplication::translate("RPCConsole", "Debug log file", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - openDebugLogfileButton->setToolTip(QApplication::translate("RPCConsole", "Open the Gridcoin debug log file from the current data directory. This can take a few seconds for large log files.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - openDebugLogfileButton->setText(QApplication::translate("RPCConsole", "&Open", 0, QApplication::UnicodeUTF8)); - labelCLOptions->setText(QApplication::translate("RPCConsole", "Command-line options", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - showCLOptionsButton->setToolTip(QApplication::translate("RPCConsole", "Show the Gridcoin help message to get a list with possible Gridcoin command-line options.", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - showCLOptionsButton->setText(QApplication::translate("RPCConsole", "&Show", 0, QApplication::UnicodeUTF8)); - tabWidget->setTabText(tabWidget->indexOf(tab_info), QApplication::translate("RPCConsole", "&Information", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - clearButton->setToolTip(QApplication::translate("RPCConsole", "Clear console", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - clearButton->setText(QString()); - tabWidget->setTabText(tabWidget->indexOf(tab_console), QApplication::translate("RPCConsole", "&Console", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class RPCConsole: public Ui_RPCConsole {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_RPCCONSOLE_H diff --git a/build/ui_sendcoinsdialog.h b/build/ui_sendcoinsdialog.h deleted file mode 100644 index b76ffeb..0000000 --- a/build/ui_sendcoinsdialog.h +++ /dev/null @@ -1,227 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'sendcoinsdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_SENDCOINSDIALOG_H -#define UI_SENDCOINSDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_SendCoinsDialog -{ -public: - QVBoxLayout *verticalLayout; - QScrollArea *scrollArea; - QWidget *scrollAreaWidgetContents; - QVBoxLayout *verticalLayout_2; - QVBoxLayout *entries; - QSpacerItem *verticalSpacer; - QHBoxLayout *horizontalLayout; - QPushButton *addButton; - QPushButton *clearButton; - QHBoxLayout *horizontalLayout_2; - QLabel *label; - QLabel *labelBalance; - QSpacerItem *horizontalSpacer; - QPushButton *sendButton; - - void setupUi(QDialog *SendCoinsDialog) - { - if (SendCoinsDialog->objectName().isEmpty()) - SendCoinsDialog->setObjectName(QString::fromUtf8("SendCoinsDialog")); - SendCoinsDialog->resize(686, 217); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(255, 255, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Button, brush1); - QBrush brush2(QColor(255, 255, 255, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush2); - QBrush brush3(QColor(0, 0, 0, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush3); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush2); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush3); - QBrush brush4(QColor(120, 120, 120, 255)); - brush4.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush3); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush3); - SendCoinsDialog->setPalette(palette); - SendCoinsDialog->setAutoFillBackground(true); - verticalLayout = new QVBoxLayout(SendCoinsDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - scrollArea = new QScrollArea(SendCoinsDialog); - scrollArea->setObjectName(QString::fromUtf8("scrollArea")); - scrollArea->setWidgetResizable(true); - scrollAreaWidgetContents = new QWidget(); - scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents")); - scrollAreaWidgetContents->setGeometry(QRect(0, 0, 666, 165)); - verticalLayout_2 = new QVBoxLayout(scrollAreaWidgetContents); - verticalLayout_2->setContentsMargins(0, 0, 0, 0); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - entries = new QVBoxLayout(); - entries->setSpacing(6); - entries->setObjectName(QString::fromUtf8("entries")); - - verticalLayout_2->addLayout(entries); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - verticalLayout_2->addItem(verticalSpacer); - - scrollArea->setWidget(scrollAreaWidgetContents); - - verticalLayout->addWidget(scrollArea); - - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - addButton = new QPushButton(SendCoinsDialog); - addButton->setObjectName(QString::fromUtf8("addButton")); - addButton->setAutoFillBackground(true); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/add"), QSize(), QIcon::Normal, QIcon::Off); - addButton->setIcon(icon); - addButton->setAutoDefault(false); - - horizontalLayout->addWidget(addButton); - - clearButton = new QPushButton(SendCoinsDialog); - clearButton->setObjectName(QString::fromUtf8("clearButton")); - QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth()); - clearButton->setSizePolicy(sizePolicy); - clearButton->setAutoFillBackground(true); - QIcon icon1; - icon1.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); - clearButton->setIcon(icon1); - clearButton->setAutoRepeatDelay(300); - clearButton->setAutoDefault(false); - - horizontalLayout->addWidget(clearButton); - - horizontalLayout_2 = new QHBoxLayout(); - horizontalLayout_2->setSpacing(3); - horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); - label = new QLabel(SendCoinsDialog); - label->setObjectName(QString::fromUtf8("label")); - - horizontalLayout_2->addWidget(label); - - labelBalance = new QLabel(SendCoinsDialog); - labelBalance->setObjectName(QString::fromUtf8("labelBalance")); - labelBalance->setCursor(QCursor(Qt::IBeamCursor)); - labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); - - horizontalLayout_2->addWidget(labelBalance); - - - horizontalLayout->addLayout(horizontalLayout_2); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout->addItem(horizontalSpacer); - - sendButton = new QPushButton(SendCoinsDialog); - sendButton->setObjectName(QString::fromUtf8("sendButton")); - sendButton->setMinimumSize(QSize(150, 0)); - QPalette palette1; - palette1.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush5(QColor(170, 170, 127, 255)); - brush5.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Button, brush5); - QBrush brush6(QColor(0, 0, 127, 255)); - brush6.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Light, brush6); - QBrush brush7(QColor(8, 232, 232, 255)); - brush7.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Dark, brush7); - QBrush brush8(QColor(28, 85, 41, 255)); - brush8.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Text, brush8); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush3); - palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush5); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush6); - palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush7); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush8); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush3); - palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush7); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush5); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush6); - palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush7); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush7); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush7); - sendButton->setPalette(palette1); - sendButton->setAutoFillBackground(true); - QIcon icon2; - icon2.addFile(QString::fromUtf8(":/icons/send"), QSize(), QIcon::Normal, QIcon::Off); - sendButton->setIcon(icon2); - sendButton->setDefault(true); - - horizontalLayout->addWidget(sendButton); - - - verticalLayout->addLayout(horizontalLayout); - - - retranslateUi(SendCoinsDialog); - - QMetaObject::connectSlotsByName(SendCoinsDialog); - } // setupUi - - void retranslateUi(QDialog *SendCoinsDialog) - { - SendCoinsDialog->setWindowTitle(QApplication::translate("SendCoinsDialog", "Send Coins", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - addButton->setToolTip(QApplication::translate("SendCoinsDialog", "Send to multiple recipients at once", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - addButton->setText(QApplication::translate("SendCoinsDialog", "Add &Recipient", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - clearButton->setToolTip(QApplication::translate("SendCoinsDialog", "Remove all transaction fields", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - clearButton->setText(QApplication::translate("SendCoinsDialog", "Clear &All", 0, QApplication::UnicodeUTF8)); - label->setText(QApplication::translate("SendCoinsDialog", "Balance:", 0, QApplication::UnicodeUTF8)); - labelBalance->setText(QApplication::translate("SendCoinsDialog", "123.456 LTC", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - sendButton->setToolTip(QApplication::translate("SendCoinsDialog", "Confirm the send action", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - sendButton->setText(QApplication::translate("SendCoinsDialog", "S&end", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class SendCoinsDialog: public Ui_SendCoinsDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_SENDCOINSDIALOG_H diff --git a/build/ui_sendcoinsentry.h b/build/ui_sendcoinsentry.h deleted file mode 100644 index 6d0c4c8..0000000 --- a/build/ui_sendcoinsentry.h +++ /dev/null @@ -1,366 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'sendcoinsentry.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_SENDCOINSENTRY_H -#define UI_SENDCOINSENTRY_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "bitcoinamountfield.h" -#include "qvalidatedlineedit.h" - -QT_BEGIN_NAMESPACE - -class Ui_SendCoinsEntry -{ -public: - QGridLayout *gridLayout; - QLabel *label; - QLabel *label_2; - BitcoinAmountField *payAmount; - QLabel *label_4; - QHBoxLayout *payToLayout; - QValidatedLineEdit *payTo; - QToolButton *addressBookButton; - QToolButton *pasteButton; - QToolButton *deleteButton; - QValidatedLineEdit *addAsLabel; - - void setupUi(QFrame *SendCoinsEntry) - { - if (SendCoinsEntry->objectName().isEmpty()) - SendCoinsEntry->setObjectName(QString::fromUtf8("SendCoinsEntry")); - SendCoinsEntry->resize(729, 136); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush1(QColor(0, 0, 0, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush1); - palette.setBrush(QPalette::Active, QPalette::Window, brush1); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); - QBrush brush2(QColor(120, 120, 120, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); - SendCoinsEntry->setPalette(palette); - SendCoinsEntry->setAutoFillBackground(true); - SendCoinsEntry->setFrameShape(QFrame::StyledPanel); - SendCoinsEntry->setFrameShadow(QFrame::Sunken); - gridLayout = new QGridLayout(SendCoinsEntry); - gridLayout->setSpacing(12); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - label = new QLabel(SendCoinsEntry); - label->setObjectName(QString::fromUtf8("label")); - label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); - - gridLayout->addWidget(label, 5, 0, 1, 1); - - label_2 = new QLabel(SendCoinsEntry); - label_2->setObjectName(QString::fromUtf8("label_2")); - label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); - - gridLayout->addWidget(label_2, 3, 0, 1, 1); - - payAmount = new BitcoinAmountField(SendCoinsEntry); - payAmount->setObjectName(QString::fromUtf8("payAmount")); - QPalette palette1; - palette1.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Active, QPalette::Button, brush1); - palette1.setBrush(QPalette::Active, QPalette::Light, brush1); - palette1.setBrush(QPalette::Active, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Active, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Active, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Active, QPalette::Text, brush); - palette1.setBrush(QPalette::Active, QPalette::BrightText, brush1); - palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush); - palette1.setBrush(QPalette::Active, QPalette::Base, brush1); - palette1.setBrush(QPalette::Active, QPalette::Window, brush1); - palette1.setBrush(QPalette::Active, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Active, QPalette::HighlightedText, brush); - QBrush brush3(QColor(4, 4, 4, 255)); - brush3.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush3); - palette1.setBrush(QPalette::Active, QPalette::NoRole, brush3); - QBrush brush4(QColor(255, 255, 220, 255)); - brush4.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush4); - palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Window, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush); - palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush3); - palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush3); - palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Window, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush1); - palette1.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush); - palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush3); - palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush3); - palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1); - payAmount->setPalette(palette1); - payAmount->setAutoFillBackground(true); - - gridLayout->addWidget(payAmount, 5, 1, 1, 1); - - label_4 = new QLabel(SendCoinsEntry); - label_4->setObjectName(QString::fromUtf8("label_4")); - label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); - - gridLayout->addWidget(label_4, 4, 0, 1, 1); - - payToLayout = new QHBoxLayout(); - payToLayout->setSpacing(0); - payToLayout->setObjectName(QString::fromUtf8("payToLayout")); - payTo = new QValidatedLineEdit(SendCoinsEntry); - payTo->setObjectName(QString::fromUtf8("payTo")); - QPalette palette2; - palette2.setBrush(QPalette::Active, QPalette::WindowText, brush); - QBrush brush5(QColor(33, 33, 33, 255)); - brush5.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Button, brush5); - QBrush brush6(QColor(49, 49, 49, 255)); - brush6.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Light, brush6); - QBrush brush7(QColor(41, 41, 41, 255)); - brush7.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Midlight, brush7); - QBrush brush8(QColor(16, 16, 16, 255)); - brush8.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Dark, brush8); - QBrush brush9(QColor(22, 22, 22, 255)); - brush9.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Mid, brush9); - palette2.setBrush(QPalette::Active, QPalette::Text, brush); - palette2.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Active, QPalette::ButtonText, brush); - QBrush brush10(QColor(5, 10, 17, 255)); - brush10.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Base, brush10); - QBrush brush11(QColor(20, 20, 20, 255)); - brush11.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::Window, brush11); - palette2.setBrush(QPalette::Active, QPalette::Shadow, brush1); - palette2.setBrush(QPalette::Active, QPalette::HighlightedText, brush1); - palette2.setBrush(QPalette::Active, QPalette::AlternateBase, brush8); - QBrush brush12(QColor(0, 0, 127, 255)); - brush12.setStyle(Qt::SolidPattern); - palette2.setBrush(QPalette::Active, QPalette::NoRole, brush12); - palette2.setBrush(QPalette::Active, QPalette::ToolTipBase, brush1); - palette2.setBrush(QPalette::Active, QPalette::ToolTipText, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::Button, brush5); - palette2.setBrush(QPalette::Inactive, QPalette::Light, brush6); - palette2.setBrush(QPalette::Inactive, QPalette::Midlight, brush7); - palette2.setBrush(QPalette::Inactive, QPalette::Dark, brush8); - palette2.setBrush(QPalette::Inactive, QPalette::Mid, brush9); - palette2.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette2.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::ButtonText, brush); - palette2.setBrush(QPalette::Inactive, QPalette::Base, brush10); - palette2.setBrush(QPalette::Inactive, QPalette::Window, brush11); - palette2.setBrush(QPalette::Inactive, QPalette::Shadow, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush8); - palette2.setBrush(QPalette::Inactive, QPalette::NoRole, brush12); - palette2.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush1); - palette2.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::WindowText, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::Button, brush5); - palette2.setBrush(QPalette::Disabled, QPalette::Light, brush6); - palette2.setBrush(QPalette::Disabled, QPalette::Midlight, brush7); - palette2.setBrush(QPalette::Disabled, QPalette::Dark, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::Mid, brush9); - palette2.setBrush(QPalette::Disabled, QPalette::Text, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette2.setBrush(QPalette::Disabled, QPalette::ButtonText, brush8); - palette2.setBrush(QPalette::Disabled, QPalette::Base, brush11); - palette2.setBrush(QPalette::Disabled, QPalette::Window, brush11); - palette2.setBrush(QPalette::Disabled, QPalette::Shadow, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush5); - palette2.setBrush(QPalette::Disabled, QPalette::NoRole, brush12); - palette2.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush1); - palette2.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1); - payTo->setPalette(palette2); - payTo->setAutoFillBackground(true); - payTo->setMaxLength(34); - - payToLayout->addWidget(payTo); - - addressBookButton = new QToolButton(SendCoinsEntry); - addressBookButton->setObjectName(QString::fromUtf8("addressBookButton")); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off); - addressBookButton->setIcon(icon); - - payToLayout->addWidget(addressBookButton); - - pasteButton = new QToolButton(SendCoinsEntry); - pasteButton->setObjectName(QString::fromUtf8("pasteButton")); - QIcon icon1; - icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off); - pasteButton->setIcon(icon1); - - payToLayout->addWidget(pasteButton); - - deleteButton = new QToolButton(SendCoinsEntry); - deleteButton->setObjectName(QString::fromUtf8("deleteButton")); - QIcon icon2; - icon2.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); - deleteButton->setIcon(icon2); - - payToLayout->addWidget(deleteButton); - - - gridLayout->addLayout(payToLayout, 3, 1, 1, 1); - - addAsLabel = new QValidatedLineEdit(SendCoinsEntry); - addAsLabel->setObjectName(QString::fromUtf8("addAsLabel")); - QPalette palette3; - palette3.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette3.setBrush(QPalette::Active, QPalette::Button, brush); - palette3.setBrush(QPalette::Active, QPalette::Light, brush1); - palette3.setBrush(QPalette::Active, QPalette::Midlight, brush12); - palette3.setBrush(QPalette::Active, QPalette::Dark, brush1); - palette3.setBrush(QPalette::Active, QPalette::Text, brush); - palette3.setBrush(QPalette::Active, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Active, QPalette::ButtonText, brush1); - palette3.setBrush(QPalette::Active, QPalette::Base, brush1); - palette3.setBrush(QPalette::Active, QPalette::Window, brush5); - QBrush brush13(QColor(51, 153, 255, 255)); - brush13.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Active, QPalette::Highlight, brush13); - palette3.setBrush(QPalette::Active, QPalette::HighlightedText, brush); - palette3.setBrush(QPalette::Active, QPalette::AlternateBase, brush1); - palette3.setBrush(QPalette::Active, QPalette::NoRole, brush12); - QBrush brush14(QColor(0, 255, 255, 255)); - brush14.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Active, QPalette::ToolTipBase, brush14); - palette3.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::Button, brush); - palette3.setBrush(QPalette::Inactive, QPalette::Light, brush1); - QBrush brush15(QColor(227, 227, 227, 255)); - brush15.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Inactive, QPalette::Midlight, brush15); - palette3.setBrush(QPalette::Inactive, QPalette::Dark, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::Text, brush); - palette3.setBrush(QPalette::Inactive, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::ButtonText, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::Window, brush5); - palette3.setBrush(QPalette::Inactive, QPalette::Highlight, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush); - palette3.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush1); - palette3.setBrush(QPalette::Inactive, QPalette::NoRole, brush12); - palette3.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush12); - palette3.setBrush(QPalette::Disabled, QPalette::WindowText, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::Button, brush); - palette3.setBrush(QPalette::Disabled, QPalette::Light, brush1); - QBrush brush16(QColor(247, 247, 247, 255)); - brush16.setStyle(Qt::SolidPattern); - palette3.setBrush(QPalette::Disabled, QPalette::Midlight, brush16); - palette3.setBrush(QPalette::Disabled, QPalette::Dark, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::Text, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::BrightText, brush); - palette3.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::Base, brush5); - palette3.setBrush(QPalette::Disabled, QPalette::Window, brush5); - palette3.setBrush(QPalette::Disabled, QPalette::Highlight, brush13); - palette3.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush); - palette3.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1); - palette3.setBrush(QPalette::Disabled, QPalette::NoRole, brush12); - palette3.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush4); - addAsLabel->setPalette(palette3); - addAsLabel->setAutoFillBackground(true); - - gridLayout->addWidget(addAsLabel, 4, 1, 1, 1); - -#ifndef QT_NO_SHORTCUT - label->setBuddy(payAmount); - label_2->setBuddy(payTo); - label_4->setBuddy(addAsLabel); -#endif // QT_NO_SHORTCUT - - retranslateUi(SendCoinsEntry); - - QMetaObject::connectSlotsByName(SendCoinsEntry); - } // setupUi - - void retranslateUi(QFrame *SendCoinsEntry) - { - SendCoinsEntry->setWindowTitle(QApplication::translate("SendCoinsEntry", "Form", 0, QApplication::UnicodeUTF8)); - label->setText(QApplication::translate("SendCoinsEntry", "A&mount:", 0, QApplication::UnicodeUTF8)); - label_2->setText(QApplication::translate("SendCoinsEntry", "Pay &To:", 0, QApplication::UnicodeUTF8)); - label_4->setText(QApplication::translate("SendCoinsEntry", "&Label:", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - payTo->setToolTip(QApplication::translate("SendCoinsEntry", "The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_TOOLTIP - addressBookButton->setToolTip(QApplication::translate("SendCoinsEntry", "Choose address from address book", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - addressBookButton->setText(QString()); - addressBookButton->setShortcut(QApplication::translate("SendCoinsEntry", "Alt+A", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - pasteButton->setToolTip(QApplication::translate("SendCoinsEntry", "Paste address from clipboard", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - pasteButton->setText(QString()); - pasteButton->setShortcut(QApplication::translate("SendCoinsEntry", "Alt+P", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - deleteButton->setToolTip(QApplication::translate("SendCoinsEntry", "Remove this recipient", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - deleteButton->setText(QString()); -#ifndef QT_NO_TOOLTIP - addAsLabel->setToolTip(QApplication::translate("SendCoinsEntry", "Enter a label for this address to add it to your address book", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - } // retranslateUi - -}; - -namespace Ui { - class SendCoinsEntry: public Ui_SendCoinsEntry {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_SENDCOINSENTRY_H diff --git a/build/ui_signverifymessagedialog.h b/build/ui_signverifymessagedialog.h deleted file mode 100644 index cefc798..0000000 --- a/build/ui_signverifymessagedialog.h +++ /dev/null @@ -1,352 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'signverifymessagedialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_SIGNVERIFYMESSAGEDIALOG_H -#define UI_SIGNVERIFYMESSAGEDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "qvalidatedlineedit.h" - -QT_BEGIN_NAMESPACE - -class Ui_SignVerifyMessageDialog -{ -public: - QVBoxLayout *verticalLayout; - QTabWidget *tabWidget; - QWidget *tabSignMessage; - QVBoxLayout *verticalLayout_SM; - QLabel *infoLabel_SM; - QHBoxLayout *horizontalLayout_1_SM; - QValidatedLineEdit *addressIn_SM; - QPushButton *addressBookButton_SM; - QPushButton *pasteButton_SM; - QPlainTextEdit *messageIn_SM; - QLabel *signatureLabel_SM; - QHBoxLayout *horizontalLayout_2_SM; - QLineEdit *signatureOut_SM; - QPushButton *copySignatureButton_SM; - QHBoxLayout *horizontalLayout_3_SM; - QPushButton *signMessageButton_SM; - QPushButton *clearButton_SM; - QSpacerItem *horizontalSpacer_1_SM; - QLabel *statusLabel_SM; - QSpacerItem *horizontalSpacer_2_SM; - QWidget *tabVerifyMessage; - QVBoxLayout *verticalLayout_VM; - QLabel *infoLabel_VM; - QHBoxLayout *horizontalLayout_1_VM; - QValidatedLineEdit *addressIn_VM; - QPushButton *addressBookButton_VM; - QPlainTextEdit *messageIn_VM; - QValidatedLineEdit *signatureIn_VM; - QHBoxLayout *horizontalLayout_2_VM; - QPushButton *verifyMessageButton_VM; - QPushButton *clearButton_VM; - QSpacerItem *horizontalSpacer_1_VM; - QLabel *statusLabel_VM; - QSpacerItem *horizontalSpacer_2_VM; - - void setupUi(QDialog *SignVerifyMessageDialog) - { - if (SignVerifyMessageDialog->objectName().isEmpty()) - SignVerifyMessageDialog->setObjectName(QString::fromUtf8("SignVerifyMessageDialog")); - SignVerifyMessageDialog->resize(700, 380); - SignVerifyMessageDialog->setModal(true); - verticalLayout = new QVBoxLayout(SignVerifyMessageDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - tabWidget = new QTabWidget(SignVerifyMessageDialog); - tabWidget->setObjectName(QString::fromUtf8("tabWidget")); - tabSignMessage = new QWidget(); - tabSignMessage->setObjectName(QString::fromUtf8("tabSignMessage")); - verticalLayout_SM = new QVBoxLayout(tabSignMessage); - verticalLayout_SM->setObjectName(QString::fromUtf8("verticalLayout_SM")); - infoLabel_SM = new QLabel(tabSignMessage); - infoLabel_SM->setObjectName(QString::fromUtf8("infoLabel_SM")); - infoLabel_SM->setTextFormat(Qt::PlainText); - infoLabel_SM->setWordWrap(true); - - verticalLayout_SM->addWidget(infoLabel_SM); - - horizontalLayout_1_SM = new QHBoxLayout(); - horizontalLayout_1_SM->setSpacing(0); - horizontalLayout_1_SM->setObjectName(QString::fromUtf8("horizontalLayout_1_SM")); - addressIn_SM = new QValidatedLineEdit(tabSignMessage); - addressIn_SM->setObjectName(QString::fromUtf8("addressIn_SM")); - addressIn_SM->setMaxLength(34); - - horizontalLayout_1_SM->addWidget(addressIn_SM); - - addressBookButton_SM = new QPushButton(tabSignMessage); - addressBookButton_SM->setObjectName(QString::fromUtf8("addressBookButton_SM")); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off); - addressBookButton_SM->setIcon(icon); - addressBookButton_SM->setAutoDefault(false); - - horizontalLayout_1_SM->addWidget(addressBookButton_SM); - - pasteButton_SM = new QPushButton(tabSignMessage); - pasteButton_SM->setObjectName(QString::fromUtf8("pasteButton_SM")); - QIcon icon1; - icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off); - pasteButton_SM->setIcon(icon1); - pasteButton_SM->setAutoDefault(false); - - horizontalLayout_1_SM->addWidget(pasteButton_SM); - - - verticalLayout_SM->addLayout(horizontalLayout_1_SM); - - messageIn_SM = new QPlainTextEdit(tabSignMessage); - messageIn_SM->setObjectName(QString::fromUtf8("messageIn_SM")); - - verticalLayout_SM->addWidget(messageIn_SM); - - signatureLabel_SM = new QLabel(tabSignMessage); - signatureLabel_SM->setObjectName(QString::fromUtf8("signatureLabel_SM")); - signatureLabel_SM->setTextFormat(Qt::PlainText); - - verticalLayout_SM->addWidget(signatureLabel_SM); - - horizontalLayout_2_SM = new QHBoxLayout(); - horizontalLayout_2_SM->setSpacing(0); - horizontalLayout_2_SM->setObjectName(QString::fromUtf8("horizontalLayout_2_SM")); - signatureOut_SM = new QLineEdit(tabSignMessage); - signatureOut_SM->setObjectName(QString::fromUtf8("signatureOut_SM")); - QFont font; - font.setItalic(true); - signatureOut_SM->setFont(font); - signatureOut_SM->setReadOnly(true); - - horizontalLayout_2_SM->addWidget(signatureOut_SM); - - copySignatureButton_SM = new QPushButton(tabSignMessage); - copySignatureButton_SM->setObjectName(QString::fromUtf8("copySignatureButton_SM")); - QIcon icon2; - icon2.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off); - copySignatureButton_SM->setIcon(icon2); - copySignatureButton_SM->setAutoDefault(false); - - horizontalLayout_2_SM->addWidget(copySignatureButton_SM); - - - verticalLayout_SM->addLayout(horizontalLayout_2_SM); - - horizontalLayout_3_SM = new QHBoxLayout(); - horizontalLayout_3_SM->setObjectName(QString::fromUtf8("horizontalLayout_3_SM")); - signMessageButton_SM = new QPushButton(tabSignMessage); - signMessageButton_SM->setObjectName(QString::fromUtf8("signMessageButton_SM")); - QIcon icon3; - icon3.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off); - signMessageButton_SM->setIcon(icon3); - signMessageButton_SM->setAutoDefault(false); - - horizontalLayout_3_SM->addWidget(signMessageButton_SM); - - clearButton_SM = new QPushButton(tabSignMessage); - clearButton_SM->setObjectName(QString::fromUtf8("clearButton_SM")); - QIcon icon4; - icon4.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); - clearButton_SM->setIcon(icon4); - clearButton_SM->setAutoDefault(false); - - horizontalLayout_3_SM->addWidget(clearButton_SM); - - horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_3_SM->addItem(horizontalSpacer_1_SM); - - statusLabel_SM = new QLabel(tabSignMessage); - statusLabel_SM->setObjectName(QString::fromUtf8("statusLabel_SM")); - QFont font1; - font1.setBold(true); - font1.setWeight(75); - statusLabel_SM->setFont(font1); - statusLabel_SM->setWordWrap(true); - - horizontalLayout_3_SM->addWidget(statusLabel_SM); - - horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_3_SM->addItem(horizontalSpacer_2_SM); - - - verticalLayout_SM->addLayout(horizontalLayout_3_SM); - - tabWidget->addTab(tabSignMessage, QString()); - tabVerifyMessage = new QWidget(); - tabVerifyMessage->setObjectName(QString::fromUtf8("tabVerifyMessage")); - verticalLayout_VM = new QVBoxLayout(tabVerifyMessage); - verticalLayout_VM->setObjectName(QString::fromUtf8("verticalLayout_VM")); - infoLabel_VM = new QLabel(tabVerifyMessage); - infoLabel_VM->setObjectName(QString::fromUtf8("infoLabel_VM")); - infoLabel_VM->setTextFormat(Qt::PlainText); - infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop); - infoLabel_VM->setWordWrap(true); - - verticalLayout_VM->addWidget(infoLabel_VM); - - horizontalLayout_1_VM = new QHBoxLayout(); - horizontalLayout_1_VM->setSpacing(0); - horizontalLayout_1_VM->setObjectName(QString::fromUtf8("horizontalLayout_1_VM")); - addressIn_VM = new QValidatedLineEdit(tabVerifyMessage); - addressIn_VM->setObjectName(QString::fromUtf8("addressIn_VM")); - addressIn_VM->setMaxLength(34); - - horizontalLayout_1_VM->addWidget(addressIn_VM); - - addressBookButton_VM = new QPushButton(tabVerifyMessage); - addressBookButton_VM->setObjectName(QString::fromUtf8("addressBookButton_VM")); - addressBookButton_VM->setIcon(icon); - addressBookButton_VM->setAutoDefault(false); - - horizontalLayout_1_VM->addWidget(addressBookButton_VM); - - - verticalLayout_VM->addLayout(horizontalLayout_1_VM); - - messageIn_VM = new QPlainTextEdit(tabVerifyMessage); - messageIn_VM->setObjectName(QString::fromUtf8("messageIn_VM")); - - verticalLayout_VM->addWidget(messageIn_VM); - - signatureIn_VM = new QValidatedLineEdit(tabVerifyMessage); - signatureIn_VM->setObjectName(QString::fromUtf8("signatureIn_VM")); - - verticalLayout_VM->addWidget(signatureIn_VM); - - horizontalLayout_2_VM = new QHBoxLayout(); - horizontalLayout_2_VM->setObjectName(QString::fromUtf8("horizontalLayout_2_VM")); - verifyMessageButton_VM = new QPushButton(tabVerifyMessage); - verifyMessageButton_VM->setObjectName(QString::fromUtf8("verifyMessageButton_VM")); - QIcon icon5; - icon5.addFile(QString::fromUtf8(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off); - verifyMessageButton_VM->setIcon(icon5); - verifyMessageButton_VM->setAutoDefault(false); - - horizontalLayout_2_VM->addWidget(verifyMessageButton_VM); - - clearButton_VM = new QPushButton(tabVerifyMessage); - clearButton_VM->setObjectName(QString::fromUtf8("clearButton_VM")); - clearButton_VM->setIcon(icon4); - clearButton_VM->setAutoDefault(false); - - horizontalLayout_2_VM->addWidget(clearButton_VM); - - horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_2_VM->addItem(horizontalSpacer_1_VM); - - statusLabel_VM = new QLabel(tabVerifyMessage); - statusLabel_VM->setObjectName(QString::fromUtf8("statusLabel_VM")); - statusLabel_VM->setFont(font1); - statusLabel_VM->setWordWrap(true); - - horizontalLayout_2_VM->addWidget(statusLabel_VM); - - horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_2_VM->addItem(horizontalSpacer_2_VM); - - - verticalLayout_VM->addLayout(horizontalLayout_2_VM); - - tabWidget->addTab(tabVerifyMessage, QString()); - - verticalLayout->addWidget(tabWidget); - - - retranslateUi(SignVerifyMessageDialog); - - tabWidget->setCurrentIndex(0); - - - QMetaObject::connectSlotsByName(SignVerifyMessageDialog); - } // setupUi - - void retranslateUi(QDialog *SignVerifyMessageDialog) - { - SignVerifyMessageDialog->setWindowTitle(QApplication::translate("SignVerifyMessageDialog", "Signatures - Sign / Verify a Message", 0, QApplication::UnicodeUTF8)); - infoLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - addressIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The address to sign the message with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_TOOLTIP - addressBookButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose an address from the address book", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - addressBookButton_SM->setText(QString()); - addressBookButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - pasteButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Paste address from clipboard", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - pasteButton_SM->setText(QString()); - pasteButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+P", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - messageIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - signatureLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Signature", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - copySignatureButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Copy the current signature to the system clipboard", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - copySignatureButton_SM->setText(QString()); -#ifndef QT_NO_TOOLTIP - signMessageButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Sign the message to prove you own this Litecoin address", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - signMessageButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Sign &Message", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - clearButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all sign message fields", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - clearButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0, QApplication::UnicodeUTF8)); - statusLabel_SM->setText(QString()); - tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QApplication::translate("SignVerifyMessageDialog", "&Sign Message", 0, QApplication::UnicodeUTF8)); - infoLabel_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - addressIn_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The address the message was signed with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_TOOLTIP - addressBookButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose an address from the address book", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - addressBookButton_VM->setText(QString()); - addressBookButton_VM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - verifyMessageButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Verify the message to ensure it was signed with the specified Litecoin address", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - verifyMessageButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Verify &Message", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - clearButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all verify message fields", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - clearButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0, QApplication::UnicodeUTF8)); - statusLabel_VM->setText(QString()); - tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QApplication::translate("SignVerifyMessageDialog", "&Verify Message", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class SignVerifyMessageDialog: public Ui_SignVerifyMessageDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_SIGNVERIFYMESSAGEDIALOG_H diff --git a/build/ui_transactiondescdialog.h b/build/ui_transactiondescdialog.h deleted file mode 100644 index 557c4d3..0000000 --- a/build/ui_transactiondescdialog.h +++ /dev/null @@ -1,127 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'transactiondescdialog.ui' -** -** Created: Fri Dec 27 12:43:16 2013 -** by: Qt User Interface Compiler version 4.8.4 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_TRANSACTIONDESCDIALOG_H -#define UI_TRANSACTIONDESCDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_TransactionDescDialog -{ -public: - QVBoxLayout *verticalLayout; - QTextEdit *detailText; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *TransactionDescDialog) - { - if (TransactionDescDialog->objectName().isEmpty()) - TransactionDescDialog->setObjectName(QString::fromUtf8("TransactionDescDialog")); - TransactionDescDialog->resize(620, 250); - QPalette palette; - QBrush brush(QColor(0, 255, 0, 255)); - brush.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::WindowText, brush); - palette.setBrush(QPalette::Active, QPalette::Button, brush); - QBrush brush1(QColor(255, 255, 255, 255)); - brush1.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Base, brush1); - QBrush brush2(QColor(0, 0, 0, 255)); - brush2.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Active, QPalette::Window, brush2); - palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); - palette.setBrush(QPalette::Inactive, QPalette::Button, brush); - palette.setBrush(QPalette::Inactive, QPalette::Base, brush1); - palette.setBrush(QPalette::Inactive, QPalette::Window, brush2); - QBrush brush3(QColor(120, 120, 120, 255)); - brush3.setStyle(Qt::SolidPattern); - palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush3); - palette.setBrush(QPalette::Disabled, QPalette::Button, brush); - palette.setBrush(QPalette::Disabled, QPalette::Base, brush2); - palette.setBrush(QPalette::Disabled, QPalette::Window, brush2); - TransactionDescDialog->setPalette(palette); - TransactionDescDialog->setWindowOpacity(55); - TransactionDescDialog->setAutoFillBackground(true); - verticalLayout = new QVBoxLayout(TransactionDescDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - detailText = new QTextEdit(TransactionDescDialog); - detailText->setObjectName(QString::fromUtf8("detailText")); - QPalette palette1; - QBrush brush4(QColor(255, 255, 0, 255)); - brush4.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Button, brush4); - palette1.setBrush(QPalette::Active, QPalette::Light, brush4); - palette1.setBrush(QPalette::Active, QPalette::Midlight, brush4); - palette1.setBrush(QPalette::Active, QPalette::Text, brush4); - QBrush brush5(QColor(0, 255, 127, 255)); - brush5.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::BrightText, brush5); - QBrush brush6(QColor(0, 0, 127, 255)); - brush6.setStyle(Qt::SolidPattern); - palette1.setBrush(QPalette::Active, QPalette::Base, brush6); - palette1.setBrush(QPalette::Inactive, QPalette::Button, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::Light, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::Text, brush4); - palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush5); - palette1.setBrush(QPalette::Inactive, QPalette::Base, brush6); - palette1.setBrush(QPalette::Disabled, QPalette::Button, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::Light, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush4); - palette1.setBrush(QPalette::Disabled, QPalette::Text, brush3); - palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush5); - palette1.setBrush(QPalette::Disabled, QPalette::Base, brush2); - detailText->setPalette(palette1); - detailText->setAutoFillBackground(true); - detailText->setReadOnly(true); - - verticalLayout->addWidget(detailText); - - buttonBox = new QDialogButtonBox(TransactionDescDialog); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Close); - - verticalLayout->addWidget(buttonBox); - - - retranslateUi(TransactionDescDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), TransactionDescDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), TransactionDescDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(TransactionDescDialog); - } // setupUi - - void retranslateUi(QDialog *TransactionDescDialog) - { - TransactionDescDialog->setWindowTitle(QApplication::translate("TransactionDescDialog", "Transaction details", 0, QApplication::UnicodeUTF8)); -#ifndef QT_NO_TOOLTIP - detailText->setToolTip(QApplication::translate("TransactionDescDialog", "This pane shows a detailed description of the transaction", 0, QApplication::UnicodeUTF8)); -#endif // QT_NO_TOOLTIP - } // retranslateUi - -}; - -namespace Ui { - class TransactionDescDialog: public Ui_TransactionDescDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_TRANSACTIONDESCDIALOG_H diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.FileListAbsolute.txt b/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.FileListAbsolute.txt deleted file mode 100644 index efd3c0c..0000000 --- a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.FileListAbsolute.txt +++ /dev/null @@ -1,13 +0,0 @@ -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\bin\Release\GRCRestarter.exe -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\bin\Release\GRCRestarter.pdb -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\bin\Release\GRCRestarter.xml -C:\Gridcoin-master\release\GRCRestarter.exe -C:\Gridcoin-master\release\GRCRestarter.pdb -C:\Gridcoin-master\release\GRCRestarter.xml -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.vbprojResolveAssemblyReference.cache -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.Form1.resources -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.Resources.resources -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.vbproj.GenerateResource.Cache -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.exe -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.xml -C:\Gridcoin-master\contrib\RD\GridCoinDotNet\GRCRestarter\GRCRestarter\GRCRestarter\obj\x86\Release\GRCRestarter.pdb diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.GenerateResource.Cache b/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.GenerateResource.Cache deleted file mode 100644 index e98a420..0000000 Binary files a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbproj.GenerateResource.Cache and /dev/null differ diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbprojResolveAssemblyReference.cache b/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbprojResolveAssemblyReference.cache deleted file mode 100644 index 29cbd81..0000000 Binary files a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.vbprojResolveAssemblyReference.cache and /dev/null differ diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/TempPE/My Project.Resources.Designer.vb.dll b/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/TempPE/My Project.Resources.Designer.vb.dll deleted file mode 100644 index 40942aa..0000000 Binary files a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/TempPE/My Project.Resources.Designer.vb.dll and /dev/null differ diff --git a/object_script.gridcoin-qt.Debug b/object_script.gridcoin-qt.Debug deleted file mode 100644 index 56c2e87..0000000 --- a/object_script.gridcoin-qt.Debug +++ /dev/null @@ -1,110 +0,0 @@ -INPUT( -./build/bitcoin.o -./build/bitcoingui.o -./build/transactiontablemodel.o -./build/addresstablemodel.o -./build/optionsdialog.o -./build/sendcoinsdialog.o -./build/addressbookpage.o -./build/signverifymessagedialog.o -./build/aboutdialog.o -./build/miningdialog.o -./build/genesisgenerator.o -./build/gridcoin.o -./build/editaddressdialog.o -./build/bitcoinaddressvalidator.o -./build/alert.o -./build/version.o -./build/sync.o -./build/util.o -./build/hash.o -./build/netbase.o -./build/key.o -./build/script.o -./build/main.o -./build/init.o -./build/net.o -./build/bloom.o -./build/checkpoints.o -./build/addrman.o -./build/db.o -./build/walletdb.o -./build/clientmodel.o -./build/guiutil.o -./build/transactionrecord.o -./build/optionsmodel.o -./build/monitoreddatamapper.o -./build/transactiondesc.o -./build/transactiondescdialog.o -./build/bitcoinstrings.o -./build/bitcoinamountfield.o -./build/wallet.o -./build/keystore.o -./build/transactionfilterproxy.o -./build/transactionview.o -./build/walletmodel.o -./build/walletview.o -./build/walletstack.o -./build/walletframe.o -./build/bitcoinrpc.o -./build/rpcdump.o -./build/rpcnet.o -./build/rpcmining.o -./build/rpcwallet.o -./build/rpcblockchain.o -./build/rpcrawtransaction.o -./build/overviewpage.o -./build/csvmodelwriter.o -./build/crypter.o -./build/sendcoinsentry.o -./build/qvalidatedlineedit.o -./build/bitcoinunits.o -./build/qvaluecombobox.o -./build/askpassphrasedialog.o -./build/protocol.o -./build/notificator.o -./build/paymentserver.o -./build/rpcconsole.o -./build/scrypt.o -./build/noui.o -./build/leveldb.o -./build/txdb.o -./build/splashscreen.o -./build/moc_bitcoingui.o -./build/moc_transactiontablemodel.o -./build/moc_addresstablemodel.o -./build/moc_optionsdialog.o -./build/moc_sendcoinsdialog.o -./build/moc_addressbookpage.o -./build/moc_signverifymessagedialog.o -./build/moc_aboutdialog.o -./build/moc_miningdialog.o -./build/moc_editaddressdialog.o -./build/moc_bitcoinaddressvalidator.o -./build/moc_clientmodel.o -./build/moc_guiutil.o -./build/moc_optionsmodel.o -./build/moc_monitoreddatamapper.o -./build/moc_transactiondesc.o -./build/moc_transactiondescdialog.o -./build/moc_bitcoinamountfield.o -./build/moc_transactionfilterproxy.o -./build/moc_transactionview.o -./build/moc_walletmodel.o -./build/moc_walletview.o -./build/moc_walletstack.o -./build/moc_walletframe.o -./build/moc_overviewpage.o -./build/moc_csvmodelwriter.o -./build/moc_sendcoinsentry.o -./build/moc_qvalidatedlineedit.o -./build/moc_bitcoinunits.o -./build/moc_qvaluecombobox.o -./build/moc_askpassphrasedialog.o -./build/moc_notificator.o -./build/moc_paymentserver.o -./build/moc_rpcconsole.o -./build/moc_macnotificationhandler.o -./build/moc_splashscreen.o -./build/qrc_bitcoin.o -); diff --git a/object_script.gridcoin-qt.Release b/object_script.gridcoin-qt.Release deleted file mode 100644 index 56c2e87..0000000 --- a/object_script.gridcoin-qt.Release +++ /dev/null @@ -1,110 +0,0 @@ -INPUT( -./build/bitcoin.o -./build/bitcoingui.o -./build/transactiontablemodel.o -./build/addresstablemodel.o -./build/optionsdialog.o -./build/sendcoinsdialog.o -./build/addressbookpage.o -./build/signverifymessagedialog.o -./build/aboutdialog.o -./build/miningdialog.o -./build/genesisgenerator.o -./build/gridcoin.o -./build/editaddressdialog.o -./build/bitcoinaddressvalidator.o -./build/alert.o -./build/version.o -./build/sync.o -./build/util.o -./build/hash.o -./build/netbase.o -./build/key.o -./build/script.o -./build/main.o -./build/init.o -./build/net.o -./build/bloom.o -./build/checkpoints.o -./build/addrman.o -./build/db.o -./build/walletdb.o -./build/clientmodel.o -./build/guiutil.o -./build/transactionrecord.o -./build/optionsmodel.o -./build/monitoreddatamapper.o -./build/transactiondesc.o -./build/transactiondescdialog.o -./build/bitcoinstrings.o -./build/bitcoinamountfield.o -./build/wallet.o -./build/keystore.o -./build/transactionfilterproxy.o -./build/transactionview.o -./build/walletmodel.o -./build/walletview.o -./build/walletstack.o -./build/walletframe.o -./build/bitcoinrpc.o -./build/rpcdump.o -./build/rpcnet.o -./build/rpcmining.o -./build/rpcwallet.o -./build/rpcblockchain.o -./build/rpcrawtransaction.o -./build/overviewpage.o -./build/csvmodelwriter.o -./build/crypter.o -./build/sendcoinsentry.o -./build/qvalidatedlineedit.o -./build/bitcoinunits.o -./build/qvaluecombobox.o -./build/askpassphrasedialog.o -./build/protocol.o -./build/notificator.o -./build/paymentserver.o -./build/rpcconsole.o -./build/scrypt.o -./build/noui.o -./build/leveldb.o -./build/txdb.o -./build/splashscreen.o -./build/moc_bitcoingui.o -./build/moc_transactiontablemodel.o -./build/moc_addresstablemodel.o -./build/moc_optionsdialog.o -./build/moc_sendcoinsdialog.o -./build/moc_addressbookpage.o -./build/moc_signverifymessagedialog.o -./build/moc_aboutdialog.o -./build/moc_miningdialog.o -./build/moc_editaddressdialog.o -./build/moc_bitcoinaddressvalidator.o -./build/moc_clientmodel.o -./build/moc_guiutil.o -./build/moc_optionsmodel.o -./build/moc_monitoreddatamapper.o -./build/moc_transactiondesc.o -./build/moc_transactiondescdialog.o -./build/moc_bitcoinamountfield.o -./build/moc_transactionfilterproxy.o -./build/moc_transactionview.o -./build/moc_walletmodel.o -./build/moc_walletview.o -./build/moc_walletstack.o -./build/moc_walletframe.o -./build/moc_overviewpage.o -./build/moc_csvmodelwriter.o -./build/moc_sendcoinsentry.o -./build/moc_qvalidatedlineedit.o -./build/moc_bitcoinunits.o -./build/moc_qvaluecombobox.o -./build/moc_askpassphrasedialog.o -./build/moc_notificator.o -./build/moc_paymentserver.o -./build/moc_rpcconsole.o -./build/moc_macnotificationhandler.o -./build/moc_splashscreen.o -./build/qrc_bitcoin.o -); diff --git a/object_script.litecoin-qt.Debug b/object_script.litecoin-qt.Debug deleted file mode 100644 index 56c2e87..0000000 --- a/object_script.litecoin-qt.Debug +++ /dev/null @@ -1,110 +0,0 @@ -INPUT( -./build/bitcoin.o -./build/bitcoingui.o -./build/transactiontablemodel.o -./build/addresstablemodel.o -./build/optionsdialog.o -./build/sendcoinsdialog.o -./build/addressbookpage.o -./build/signverifymessagedialog.o -./build/aboutdialog.o -./build/miningdialog.o -./build/genesisgenerator.o -./build/gridcoin.o -./build/editaddressdialog.o -./build/bitcoinaddressvalidator.o -./build/alert.o -./build/version.o -./build/sync.o -./build/util.o -./build/hash.o -./build/netbase.o -./build/key.o -./build/script.o -./build/main.o -./build/init.o -./build/net.o -./build/bloom.o -./build/checkpoints.o -./build/addrman.o -./build/db.o -./build/walletdb.o -./build/clientmodel.o -./build/guiutil.o -./build/transactionrecord.o -./build/optionsmodel.o -./build/monitoreddatamapper.o -./build/transactiondesc.o -./build/transactiondescdialog.o -./build/bitcoinstrings.o -./build/bitcoinamountfield.o -./build/wallet.o -./build/keystore.o -./build/transactionfilterproxy.o -./build/transactionview.o -./build/walletmodel.o -./build/walletview.o -./build/walletstack.o -./build/walletframe.o -./build/bitcoinrpc.o -./build/rpcdump.o -./build/rpcnet.o -./build/rpcmining.o -./build/rpcwallet.o -./build/rpcblockchain.o -./build/rpcrawtransaction.o -./build/overviewpage.o -./build/csvmodelwriter.o -./build/crypter.o -./build/sendcoinsentry.o -./build/qvalidatedlineedit.o -./build/bitcoinunits.o -./build/qvaluecombobox.o -./build/askpassphrasedialog.o -./build/protocol.o -./build/notificator.o -./build/paymentserver.o -./build/rpcconsole.o -./build/scrypt.o -./build/noui.o -./build/leveldb.o -./build/txdb.o -./build/splashscreen.o -./build/moc_bitcoingui.o -./build/moc_transactiontablemodel.o -./build/moc_addresstablemodel.o -./build/moc_optionsdialog.o -./build/moc_sendcoinsdialog.o -./build/moc_addressbookpage.o -./build/moc_signverifymessagedialog.o -./build/moc_aboutdialog.o -./build/moc_miningdialog.o -./build/moc_editaddressdialog.o -./build/moc_bitcoinaddressvalidator.o -./build/moc_clientmodel.o -./build/moc_guiutil.o -./build/moc_optionsmodel.o -./build/moc_monitoreddatamapper.o -./build/moc_transactiondesc.o -./build/moc_transactiondescdialog.o -./build/moc_bitcoinamountfield.o -./build/moc_transactionfilterproxy.o -./build/moc_transactionview.o -./build/moc_walletmodel.o -./build/moc_walletview.o -./build/moc_walletstack.o -./build/moc_walletframe.o -./build/moc_overviewpage.o -./build/moc_csvmodelwriter.o -./build/moc_sendcoinsentry.o -./build/moc_qvalidatedlineedit.o -./build/moc_bitcoinunits.o -./build/moc_qvaluecombobox.o -./build/moc_askpassphrasedialog.o -./build/moc_notificator.o -./build/moc_paymentserver.o -./build/moc_rpcconsole.o -./build/moc_macnotificationhandler.o -./build/moc_splashscreen.o -./build/qrc_bitcoin.o -); diff --git a/object_script.litecoin-qt.Release b/object_script.litecoin-qt.Release deleted file mode 100644 index 56c2e87..0000000 --- a/object_script.litecoin-qt.Release +++ /dev/null @@ -1,110 +0,0 @@ -INPUT( -./build/bitcoin.o -./build/bitcoingui.o -./build/transactiontablemodel.o -./build/addresstablemodel.o -./build/optionsdialog.o -./build/sendcoinsdialog.o -./build/addressbookpage.o -./build/signverifymessagedialog.o -./build/aboutdialog.o -./build/miningdialog.o -./build/genesisgenerator.o -./build/gridcoin.o -./build/editaddressdialog.o -./build/bitcoinaddressvalidator.o -./build/alert.o -./build/version.o -./build/sync.o -./build/util.o -./build/hash.o -./build/netbase.o -./build/key.o -./build/script.o -./build/main.o -./build/init.o -./build/net.o -./build/bloom.o -./build/checkpoints.o -./build/addrman.o -./build/db.o -./build/walletdb.o -./build/clientmodel.o -./build/guiutil.o -./build/transactionrecord.o -./build/optionsmodel.o -./build/monitoreddatamapper.o -./build/transactiondesc.o -./build/transactiondescdialog.o -./build/bitcoinstrings.o -./build/bitcoinamountfield.o -./build/wallet.o -./build/keystore.o -./build/transactionfilterproxy.o -./build/transactionview.o -./build/walletmodel.o -./build/walletview.o -./build/walletstack.o -./build/walletframe.o -./build/bitcoinrpc.o -./build/rpcdump.o -./build/rpcnet.o -./build/rpcmining.o -./build/rpcwallet.o -./build/rpcblockchain.o -./build/rpcrawtransaction.o -./build/overviewpage.o -./build/csvmodelwriter.o -./build/crypter.o -./build/sendcoinsentry.o -./build/qvalidatedlineedit.o -./build/bitcoinunits.o -./build/qvaluecombobox.o -./build/askpassphrasedialog.o -./build/protocol.o -./build/notificator.o -./build/paymentserver.o -./build/rpcconsole.o -./build/scrypt.o -./build/noui.o -./build/leveldb.o -./build/txdb.o -./build/splashscreen.o -./build/moc_bitcoingui.o -./build/moc_transactiontablemodel.o -./build/moc_addresstablemodel.o -./build/moc_optionsdialog.o -./build/moc_sendcoinsdialog.o -./build/moc_addressbookpage.o -./build/moc_signverifymessagedialog.o -./build/moc_aboutdialog.o -./build/moc_miningdialog.o -./build/moc_editaddressdialog.o -./build/moc_bitcoinaddressvalidator.o -./build/moc_clientmodel.o -./build/moc_guiutil.o -./build/moc_optionsmodel.o -./build/moc_monitoreddatamapper.o -./build/moc_transactiondesc.o -./build/moc_transactiondescdialog.o -./build/moc_bitcoinamountfield.o -./build/moc_transactionfilterproxy.o -./build/moc_transactionview.o -./build/moc_walletmodel.o -./build/moc_walletview.o -./build/moc_walletstack.o -./build/moc_walletframe.o -./build/moc_overviewpage.o -./build/moc_csvmodelwriter.o -./build/moc_sendcoinsentry.o -./build/moc_qvalidatedlineedit.o -./build/moc_bitcoinunits.o -./build/moc_qvaluecombobox.o -./build/moc_askpassphrasedialog.o -./build/moc_notificator.o -./build/moc_paymentserver.o -./build/moc_rpcconsole.o -./build/moc_macnotificationhandler.o -./build/moc_splashscreen.o -./build/qrc_bitcoin.o -); diff --git a/src/QtGui4.dll b/release-linux/gridcoin-qt old mode 100644 new mode 100755 similarity index 53% rename from src/QtGui4.dll rename to release-linux/gridcoin-qt index 0676d36..72e97fd Binary files a/src/QtGui4.dll and b/release-linux/gridcoin-qt differ diff --git a/release/GPUEnumerator.dll b/release-win32/GPUEnumerator.dll similarity index 100% rename from release/GPUEnumerator.dll rename to release-win32/GPUEnumerator.dll diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.exe b/release-win32/GRCRestarter.exe similarity index 100% rename from contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.exe rename to release-win32/GRCRestarter.exe diff --git a/contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.pdb b/release-win32/GRCRestarter.pdb similarity index 100% rename from contrib/RD/GridCoinDotNet/GRCRestarter/GRCRestarter/GRCRestarter/obj/x86/Release/GRCRestarter.pdb rename to release-win32/GRCRestarter.pdb diff --git a/release/GRCRestarter.vshost.exe b/release-win32/GRCRestarter.vshost.exe similarity index 100% rename from release/GRCRestarter.vshost.exe rename to release-win32/GRCRestarter.vshost.exe diff --git a/release/GRCRestarter.vshost.exe.manifest b/release-win32/GRCRestarter.vshost.exe.manifest similarity index 100% rename from release/GRCRestarter.vshost.exe.manifest rename to release-win32/GRCRestarter.vshost.exe.manifest diff --git a/release/GRCRestarter.xml b/release-win32/GRCRestarter.xml similarity index 100% rename from release/GRCRestarter.xml rename to release-win32/GRCRestarter.xml diff --git a/release/GVM.dll b/release-win32/GVM.dll similarity index 100% rename from release/GVM.dll rename to release-win32/GVM.dll diff --git a/release/GVM.pdb b/release-win32/GVM.pdb similarity index 100% rename from release/GVM.pdb rename to release-win32/GVM.pdb diff --git a/release/GVM.vshost.exe b/release-win32/GVM.vshost.exe similarity index 100% rename from release/GVM.vshost.exe rename to release-win32/GVM.vshost.exe diff --git a/release/GVM.vshost.exe.manifest b/release-win32/GVM.vshost.exe.manifest similarity index 100% rename from release/GVM.vshost.exe.manifest rename to release-win32/GVM.vshost.exe.manifest diff --git a/release/GrcInstallBanner.jpg b/release-win32/GrcInstallBanner.jpg similarity index 100% rename from release/GrcInstallBanner.jpg rename to release-win32/GrcInstallBanner.jpg diff --git a/release/GridcoinRDTestHarness.exe b/release-win32/GridcoinRDTestHarness.exe similarity index 100% rename from release/GridcoinRDTestHarness.exe rename to release-win32/GridcoinRDTestHarness.exe diff --git a/release/GridcoinRDTestHarness.exe.config b/release-win32/GridcoinRDTestHarness.exe.config similarity index 100% rename from release/GridcoinRDTestHarness.exe.config rename to release-win32/GridcoinRDTestHarness.exe.config diff --git a/release/GridcoinRDTestHarness.pdb b/release-win32/GridcoinRDTestHarness.pdb similarity index 100% rename from release/GridcoinRDTestHarness.pdb rename to release-win32/GridcoinRDTestHarness.pdb diff --git a/release/GridcoinRDTestHarness.vshost.exe b/release-win32/GridcoinRDTestHarness.vshost.exe similarity index 100% rename from release/GridcoinRDTestHarness.vshost.exe rename to release-win32/GridcoinRDTestHarness.vshost.exe diff --git a/release/GridcoinRDTestHarness.vshost.exe.config b/release-win32/GridcoinRDTestHarness.vshost.exe.config similarity index 100% rename from release/GridcoinRDTestHarness.vshost.exe.config rename to release-win32/GridcoinRDTestHarness.vshost.exe.config diff --git a/release/GridcoinRDTestHarness.vshost.exe.manifest b/release-win32/GridcoinRDTestHarness.vshost.exe.manifest similarity index 100% rename from release/GridcoinRDTestHarness.vshost.exe.manifest rename to release-win32/GridcoinRDTestHarness.vshost.exe.manifest diff --git a/release/GridcoinRDTestHarness.xml b/release-win32/GridcoinRDTestHarness.xml similarity index 100% rename from release/GridcoinRDTestHarness.xml rename to release-win32/GridcoinRDTestHarness.xml diff --git a/release/GridcoinVirtualMachine.vshost.exe b/release-win32/GridcoinVirtualMachine.vshost.exe similarity index 100% rename from release/GridcoinVirtualMachine.vshost.exe rename to release-win32/GridcoinVirtualMachine.vshost.exe diff --git a/release/GridcoinVirtualMachine.vshost.exe.manifest b/release-win32/GridcoinVirtualMachine.vshost.exe.manifest similarity index 100% rename from release/GridcoinVirtualMachine.vshost.exe.manifest rename to release-win32/GridcoinVirtualMachine.vshost.exe.manifest diff --git a/release/ICSharpCode.SharpZipLib.dll b/release-win32/ICSharpCode.SharpZipLib.dll similarity index 100% rename from release/ICSharpCode.SharpZipLib.dll rename to release-win32/ICSharpCode.SharpZipLib.dll diff --git a/release/OpenCL.Net.dll b/release-win32/OpenCL.Net.dll similarity index 100% rename from release/OpenCL.Net.dll rename to release-win32/OpenCL.Net.dll diff --git a/release/OpenPop.dll b/release-win32/OpenPop.dll similarity index 100% rename from release/OpenPop.dll rename to release-win32/OpenPop.dll diff --git a/release/QtCore4.dll b/release-win32/QtCore4.dll similarity index 100% rename from release/QtCore4.dll rename to release-win32/QtCore4.dll diff --git a/release/QtGui4.dll b/release-win32/QtGui4.dll similarity index 100% rename from release/QtGui4.dll rename to release-win32/QtGui4.dll diff --git a/release/QtNetwork4.dll b/release-win32/QtNetwork4.dll similarity index 100% rename from release/QtNetwork4.dll rename to release-win32/QtNetwork4.dll diff --git a/release/RegAsm.exe b/release-win32/RegAsm.exe similarity index 100% rename from release/RegAsm.exe rename to release-win32/RegAsm.exe diff --git a/release/SQLite.NET.dll b/release-win32/SQLite.NET.dll similarity index 100% rename from release/SQLite.NET.dll rename to release-win32/SQLite.NET.dll diff --git a/release/SQLite3.dll b/release-win32/SQLite3.dll similarity index 100% rename from release/SQLite3.dll rename to release-win32/SQLite3.dll diff --git a/release/boinc.dll b/release-win32/boinc.dll similarity index 100% rename from release/boinc.dll rename to release-win32/boinc.dll diff --git a/release/boinc.pdb b/release-win32/boinc.pdb similarity index 100% rename from release/boinc.pdb rename to release-win32/boinc.pdb diff --git a/release/boinc.tlb b/release-win32/boinc.tlb similarity index 100% rename from release/boinc.tlb rename to release-win32/boinc.tlb diff --git a/release/boinc.vshost.exe b/release-win32/boinc.vshost.exe similarity index 100% rename from release/boinc.vshost.exe rename to release-win32/boinc.vshost.exe diff --git a/release/boinc.xml b/release-win32/boinc.xml similarity index 100% rename from release/boinc.xml rename to release-win32/boinc.xml diff --git a/release/cgminer.exe b/release-win32/cgminer.exe similarity index 100% rename from release/cgminer.exe rename to release-win32/cgminer.exe diff --git a/release/cgminer.zip b/release-win32/cgminer.zip similarity index 100% rename from release/cgminer.zip rename to release-win32/cgminer.zip diff --git a/release/cgminer0/cgm0 b/release-win32/cgminer0/cgm0 similarity index 100% rename from release/cgminer0/cgm0 rename to release-win32/cgminer0/cgm0 diff --git a/release/cgminer0/cgminer.exe b/release-win32/cgminer0/cgminer.exe similarity index 100% rename from release/cgminer0/cgminer.exe rename to release-win32/cgminer0/cgminer.exe diff --git a/release-win32/cgminer0/cgminer0/cgm0 b/release-win32/cgminer0/cgminer0/cgm0 new file mode 100644 index 0000000..8450fc0 --- /dev/null +++ b/release-win32/cgminer0/cgminer0/cgm0 @@ -0,0 +1,44 @@ +{ +"pools" : [ + { + "url" : "http://127.0.0.1:9332/", + "user" : "rachalupa", + "pass" : "halford9" + } +] +, +"api-listen" : true, +"api-port" : "4000", +"api-allow" : "W:127.0.0.1", +"intensity" : "13,15", +"vectors" : "1", +"worksize" : "256,128", +"kernel" : "scrypt", +"lookup-gap" : "2,2", +"thread-concurrency" : "21712,21712", +"shaders" : "0,0", +"gpu-engine" : "1100,1000", +"gpu-fan" : "0,0", +"gpu-memclock" : "1200,1200", +"gpu-memdiff" : "0", +"gpu-powertune" : "19,19", +"temp-cutoff" : "80", +"temp-overheat" : "70", +"temp-target" : "60", +"auto-fan" : true, +"expiry" : "120", +"failover-only" : true, +"no-dynamic" : "true", +"gpu-platform" : "0", +"gpu-threads" : "1", +"hotplug" : "5", +"log" : "5", +"no-pool-disable" : true, +"queue" : "1", +"scan-time" : "60", +"scrypt" : true, +"temp-hysteresis" : "3", +"shares" : "0", +"kernel-path" : "/usr/local/bin" + +} diff --git a/release-win32/cgminer0/cgminer0/cgminer.exe b/release-win32/cgminer0/cgminer0/cgminer.exe new file mode 100644 index 0000000..d74033f Binary files /dev/null and b/release-win32/cgminer0/cgminer0/cgminer.exe differ diff --git a/release/cgminer0/libcurl.dll b/release-win32/cgminer0/cgminer0/libcurl.dll similarity index 100% rename from release/cgminer0/libcurl.dll rename to release-win32/cgminer0/cgminer0/libcurl.dll diff --git a/release/cgminer0/libidn-11.dll b/release-win32/cgminer0/cgminer0/libidn-11.dll similarity index 100% rename from release/cgminer0/libidn-11.dll rename to release-win32/cgminer0/cgminer0/libidn-11.dll diff --git a/release/cgminer0/libusb-1.0.dll b/release-win32/cgminer0/cgminer0/libusb-1.0.dll similarity index 100% rename from release/cgminer0/libusb-1.0.dll rename to release-win32/cgminer0/cgminer0/libusb-1.0.dll diff --git a/release/cgminer0/scrypt130302.cl b/release-win32/cgminer0/cgminer0/scrypt130302.cl similarity index 100% rename from release/cgminer0/scrypt130302.cl rename to release-win32/cgminer0/cgminer0/scrypt130302.cl diff --git a/release/cgminer0/scrypt130302Tahitiglg2tc12160w128l4.bin b/release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc12160w128l4.bin similarity index 100% rename from release/cgminer0/scrypt130302Tahitiglg2tc12160w128l4.bin rename to release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc12160w128l4.bin diff --git a/release/cgminer0/scrypt130302Tahitiglg2tc12160w256l4.bin b/release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc12160w256l4.bin similarity index 100% rename from release/cgminer0/scrypt130302Tahitiglg2tc12160w256l4.bin rename to release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc12160w256l4.bin diff --git a/release/cgminer0/scrypt130302Tahitiglg2tc16384w256l4.bin b/release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc16384w256l4.bin similarity index 100% rename from release/cgminer0/scrypt130302Tahitiglg2tc16384w256l4.bin rename to release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc16384w256l4.bin diff --git a/release/cgminer0/scrypt130302Tahitiglg2tc21712w128l4.bin b/release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc21712w128l4.bin similarity index 100% rename from release/cgminer0/scrypt130302Tahitiglg2tc21712w128l4.bin rename to release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc21712w128l4.bin diff --git a/release/cgminer0/scrypt130302Tahitiglg2tc21712w256l4.bin b/release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc21712w256l4.bin similarity index 100% rename from release/cgminer0/scrypt130302Tahitiglg2tc21712w256l4.bin rename to release-win32/cgminer0/cgminer0/scrypt130302Tahitiglg2tc21712w256l4.bin diff --git a/release/cgminer0/zlib1.dll b/release-win32/cgminer0/cgminer0/zlib1.dll similarity index 100% rename from release/cgminer0/zlib1.dll rename to release-win32/cgminer0/cgminer0/zlib1.dll diff --git a/release-win32/cgminer0/libcurl.dll b/release-win32/cgminer0/libcurl.dll new file mode 100644 index 0000000..efabc71 Binary files /dev/null and b/release-win32/cgminer0/libcurl.dll differ diff --git a/release-win32/cgminer0/libidn-11.dll b/release-win32/cgminer0/libidn-11.dll new file mode 100644 index 0000000..2aac094 Binary files /dev/null and b/release-win32/cgminer0/libidn-11.dll differ diff --git a/release-win32/cgminer0/libusb-1.0.dll b/release-win32/cgminer0/libusb-1.0.dll new file mode 100644 index 0000000..8ce005f Binary files /dev/null and b/release-win32/cgminer0/libusb-1.0.dll differ diff --git a/release-win32/cgminer0/scrypt130302.cl b/release-win32/cgminer0/scrypt130302.cl new file mode 100644 index 0000000..0e7a9af --- /dev/null +++ b/release-win32/cgminer0/scrypt130302.cl @@ -0,0 +1,853 @@ +/*- + * Copyright 2009 Colin Percival, 2011 ArtForz, 2011 pooler, 2012 mtrlt, + * 2012-2013 Con Kolivas. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file was originally written by Colin Percival as part of the Tarsnap + * online backup system. + */ + +__constant uint ES[2] = { 0x00FF00FF, 0xFF00FF00 }; +__constant uint K[] = { + 0x428a2f98U, + 0x71374491U, + 0xb5c0fbcfU, + 0xe9b5dba5U, + 0x3956c25bU, + 0x59f111f1U, + 0x923f82a4U, + 0xab1c5ed5U, + 0xd807aa98U, + 0x12835b01U, + 0x243185beU, // 10 + 0x550c7dc3U, + 0x72be5d74U, + 0x80deb1feU, + 0x9bdc06a7U, + 0xe49b69c1U, + 0xefbe4786U, + 0x0fc19dc6U, + 0x240ca1ccU, + 0x2de92c6fU, + 0x4a7484aaU, // 20 + 0x5cb0a9dcU, + 0x76f988daU, + 0x983e5152U, + 0xa831c66dU, + 0xb00327c8U, + 0xbf597fc7U, + 0xc6e00bf3U, + 0xd5a79147U, + 0x06ca6351U, + 0x14292967U, // 30 + 0x27b70a85U, + 0x2e1b2138U, + 0x4d2c6dfcU, + 0x53380d13U, + 0x650a7354U, + 0x766a0abbU, + 0x81c2c92eU, + 0x92722c85U, + 0xa2bfe8a1U, + 0xa81a664bU, // 40 + 0xc24b8b70U, + 0xc76c51a3U, + 0xd192e819U, + 0xd6990624U, + 0xf40e3585U, + 0x106aa070U, + 0x19a4c116U, + 0x1e376c08U, + 0x2748774cU, + 0x34b0bcb5U, // 50 + 0x391c0cb3U, + 0x4ed8aa4aU, + 0x5b9cca4fU, + 0x682e6ff3U, + 0x748f82eeU, + 0x78a5636fU, + 0x84c87814U, + 0x8cc70208U, + 0x90befffaU, + 0xa4506cebU, // 60 + 0xbef9a3f7U, + 0xc67178f2U, + 0x98c7e2a2U, + 0xfc08884dU, + 0xcd2a11aeU, + 0x510e527fU, + 0x9b05688cU, + 0xC3910C8EU, + 0xfb6feee7U, + 0x2a01a605U, // 70 + 0x0c2e12e0U, + 0x4498517BU, + 0x6a09e667U, + 0xa4ce148bU, + 0x95F61999U, + 0xc19bf174U, + 0xBB67AE85U, + 0x3C6EF372U, + 0xA54FF53AU, + 0x1F83D9ABU, // 80 + 0x5BE0CD19U, + 0x5C5C5C5CU, + 0x36363636U, + 0x80000000U, + 0x000003FFU, + 0x00000280U, + 0x000004a0U, + 0x00000300U +}; + +#define rotl(x,y) rotate(x,y) +#define Ch(x,y,z) bitselect(z,y,x) +#define Maj(x,y,z) Ch((x^z),y,z) + +#define EndianSwap(n) (rotl(n & ES[0], 24U)|rotl(n & ES[1], 8U)) + +#define Tr2(x) (rotl(x, 30U) ^ rotl(x, 19U) ^ rotl(x, 10U)) +#define Tr1(x) (rotl(x, 26U) ^ rotl(x, 21U) ^ rotl(x, 7U)) +#define Wr2(x) (rotl(x, 25U) ^ rotl(x, 14U) ^ (x>>3U)) +#define Wr1(x) (rotl(x, 15U) ^ rotl(x, 13U) ^ (x>>10U)) + +#define RND(a, b, c, d, e, f, g, h, k) \ + h += Tr1(e); \ + h += Ch(e, f, g); \ + h += k; \ + d += h; \ + h += Tr2(a); \ + h += Maj(a, b, c); + +void SHA256(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + uint4 W[4]; + + W[ 0].x = block0.x; + RND(A,B,C,D,E,F,G,H, W[0].x+ K[0]); + W[ 0].y = block0.y; + RND(H,A,B,C,D,E,F,G, W[0].y+ K[1]); + W[ 0].z = block0.z; + RND(G,H,A,B,C,D,E,F, W[0].z+ K[2]); + W[ 0].w = block0.w; + RND(F,G,H,A,B,C,D,E, W[0].w+ K[3]); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+ K[4]); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+ K[5]); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+ K[6]); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+ K[7]); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+ K[8]); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+ K[9]); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+ K[10]); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+ K[11]); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+ K[12]); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+ K[13]); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+ K[14]); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+ K[76]); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[15]); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[16]); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[17]); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[18]); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[19]); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[20]); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[21]); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[22]); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[23]); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[24]); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[25]); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[26]); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[27]); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[28]); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[29]); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[30]); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[31]); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[32]); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[33]); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[34]); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[35]); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[36]); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[37]); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[38]); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[39]); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[40]); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[41]); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[42]); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[43]); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[44]); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[45]); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[46]); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[47]); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[48]); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[49]); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[50]); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[51]); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[52]); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[53]); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[54]); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[55]); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[56]); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[57]); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[58]); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[59]); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[60]); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[61]); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[62]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += S0; + *state1 += S1; +} + +void SHA256_fresh(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ +#define A (*state0).x +#define B (*state0).y +#define C (*state0).z +#define D (*state0).w +#define E (*state1).x +#define F (*state1).y +#define G (*state1).z +#define H (*state1).w + + uint4 W[4]; + + W[0].x = block0.x; + D= K[63] +W[0].x; + H= K[64] +W[0].x; + + W[0].y = block0.y; + C= K[65] +Tr1(D)+Ch(D, K[66], K[67])+W[0].y; + G= K[68] +C+Tr2(H)+Ch(H, K[69] ,K[70]); + + W[0].z = block0.z; + B= K[71] +Tr1(C)+Ch(C,D,K[66])+W[0].z; + F= K[72] +B+Tr2(G)+Maj(G,H, K[73]); + + W[0].w = block0.w; + A= K[74] +Tr1(B)+Ch(B,C,D)+W[0].w; + E= K[75] +A+Tr2(F)+Maj(F,G,H); + + W[1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+ K[4]); + W[1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+ K[5]); + W[1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+ K[6]); + W[1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+ K[7]); + + W[2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+ K[8]); + W[2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+ K[9]); + W[2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+ K[10]); + W[2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+ K[11]); + + W[3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+ K[12]); + W[3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+ K[13]); + W[3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+ K[14]); + W[3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+ K[76]); + + W[0].x += Wr1(W[3].z) + W[2].y + Wr2(W[0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[15]); + + W[0].y += Wr1(W[3].w) + W[2].z + Wr2(W[0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[16]); + + W[0].z += Wr1(W[0].x) + W[2].w + Wr2(W[0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[17]); + + W[0].w += Wr1(W[0].y) + W[3].x + Wr2(W[1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[18]); + + W[1].x += Wr1(W[0].z) + W[3].y + Wr2(W[1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[19]); + + W[1].y += Wr1(W[0].w) + W[3].z + Wr2(W[1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[20]); + + W[1].z += Wr1(W[1].x) + W[3].w + Wr2(W[1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[21]); + + W[1].w += Wr1(W[1].y) + W[0].x + Wr2(W[2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[22]); + + W[2].x += Wr1(W[1].z) + W[0].y + Wr2(W[2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[23]); + + W[2].y += Wr1(W[1].w) + W[0].z + Wr2(W[2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[24]); + + W[2].z += Wr1(W[2].x) + W[0].w + Wr2(W[2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[25]); + + W[2].w += Wr1(W[2].y) + W[1].x + Wr2(W[3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[26]); + + W[3].x += Wr1(W[2].z) + W[1].y + Wr2(W[3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[27]); + + W[3].y += Wr1(W[2].w) + W[1].z + Wr2(W[3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[28]); + + W[3].z += Wr1(W[3].x) + W[1].w + Wr2(W[3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[29]); + + W[3].w += Wr1(W[3].y) + W[2].x + Wr2(W[0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[30]); + + W[0].x += Wr1(W[3].z) + W[2].y + Wr2(W[0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[31]); + + W[0].y += Wr1(W[3].w) + W[2].z + Wr2(W[0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[32]); + + W[0].z += Wr1(W[0].x) + W[2].w + Wr2(W[0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[33]); + + W[0].w += Wr1(W[0].y) + W[3].x + Wr2(W[1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[34]); + + W[1].x += Wr1(W[0].z) + W[3].y + Wr2(W[1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[35]); + + W[1].y += Wr1(W[0].w) + W[3].z + Wr2(W[1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[36]); + + W[1].z += Wr1(W[1].x) + W[3].w + Wr2(W[1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[37]); + + W[1].w += Wr1(W[1].y) + W[0].x + Wr2(W[2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[38]); + + W[2].x += Wr1(W[1].z) + W[0].y + Wr2(W[2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[39]); + + W[2].y += Wr1(W[1].w) + W[0].z + Wr2(W[2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[40]); + + W[2].z += Wr1(W[2].x) + W[0].w + Wr2(W[2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[41]); + + W[2].w += Wr1(W[2].y) + W[1].x + Wr2(W[3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[42]); + + W[3].x += Wr1(W[2].z) + W[1].y + Wr2(W[3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[43]); + + W[3].y += Wr1(W[2].w) + W[1].z + Wr2(W[3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[44]); + + W[3].z += Wr1(W[3].x) + W[1].w + Wr2(W[3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[45]); + + W[3].w += Wr1(W[3].y) + W[2].x + Wr2(W[0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[46]); + + W[0].x += Wr1(W[3].z) + W[2].y + Wr2(W[0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+ K[47]); + + W[0].y += Wr1(W[3].w) + W[2].z + Wr2(W[0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+ K[48]); + + W[0].z += Wr1(W[0].x) + W[2].w + Wr2(W[0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+ K[49]); + + W[0].w += Wr1(W[0].y) + W[3].x + Wr2(W[1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+ K[50]); + + W[1].x += Wr1(W[0].z) + W[3].y + Wr2(W[1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+ K[51]); + + W[1].y += Wr1(W[0].w) + W[3].z + Wr2(W[1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+ K[52]); + + W[1].z += Wr1(W[1].x) + W[3].w + Wr2(W[1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+ K[53]); + + W[1].w += Wr1(W[1].y) + W[0].x + Wr2(W[2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+ K[54]); + + W[2].x += Wr1(W[1].z) + W[0].y + Wr2(W[2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+ K[55]); + + W[2].y += Wr1(W[1].w) + W[0].z + Wr2(W[2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+ K[56]); + + W[2].z += Wr1(W[2].x) + W[0].w + Wr2(W[2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+ K[57]); + + W[2].w += Wr1(W[2].y) + W[1].x + Wr2(W[3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+ K[58]); + + W[3].x += Wr1(W[2].z) + W[1].y + Wr2(W[3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+ K[59]); + + W[3].y += Wr1(W[2].w) + W[1].z + Wr2(W[3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+ K[60]); + + W[3].z += Wr1(W[3].x) + W[1].w + Wr2(W[3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+ K[61]); + + W[3].w += Wr1(W[3].y) + W[2].x + Wr2(W[0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+ K[62]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += (uint4)(K[73], K[77], K[78], K[79]); + *state1 += (uint4)(K[66], K[67], K[80], K[81]); +} + +__constant uint fixedW[64] = +{ + 0x428a2f99,0xf1374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, + 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf794, + 0xf59b89c2,0x73924787,0x23c6886e,0xa42ca65c,0x15ed3627,0x4d6edcbf,0xe28217fc,0xef02488f, + 0xb707775c,0x0468c23f,0xe7e72b4c,0x49e1f1a2,0x4b99c816,0x926d1570,0xaa0fc072,0xadb36e2c, + 0xad87a3ea,0xbcb1d3a3,0x7b993186,0x562b9420,0xbff3ca0c,0xda4b0c23,0x6cd8711a,0x8f337caa, + 0xc91b1417,0xc359dce1,0xa83253a7,0x3b13c12d,0x9d3d725d,0xd9031a84,0xb1a03340,0x16f58012, + 0xe64fb6a2,0xe84d923a,0xe93a5730,0x09837686,0x078ff753,0x29833341,0xd5de0b7e,0x6948ccf4, + 0xe0a1adbe,0x7c728e11,0x511c78e4,0x315b45bd,0xfca71413,0xea28f96a,0x79703128,0x4e1ef848, +}; + +void SHA256_fixed(uint4*restrict state0,uint4*restrict state1) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + RND(A,B,C,D,E,F,G,H, fixedW[0]); + RND(H,A,B,C,D,E,F,G, fixedW[1]); + RND(G,H,A,B,C,D,E,F, fixedW[2]); + RND(F,G,H,A,B,C,D,E, fixedW[3]); + RND(E,F,G,H,A,B,C,D, fixedW[4]); + RND(D,E,F,G,H,A,B,C, fixedW[5]); + RND(C,D,E,F,G,H,A,B, fixedW[6]); + RND(B,C,D,E,F,G,H,A, fixedW[7]); + RND(A,B,C,D,E,F,G,H, fixedW[8]); + RND(H,A,B,C,D,E,F,G, fixedW[9]); + RND(G,H,A,B,C,D,E,F, fixedW[10]); + RND(F,G,H,A,B,C,D,E, fixedW[11]); + RND(E,F,G,H,A,B,C,D, fixedW[12]); + RND(D,E,F,G,H,A,B,C, fixedW[13]); + RND(C,D,E,F,G,H,A,B, fixedW[14]); + RND(B,C,D,E,F,G,H,A, fixedW[15]); + RND(A,B,C,D,E,F,G,H, fixedW[16]); + RND(H,A,B,C,D,E,F,G, fixedW[17]); + RND(G,H,A,B,C,D,E,F, fixedW[18]); + RND(F,G,H,A,B,C,D,E, fixedW[19]); + RND(E,F,G,H,A,B,C,D, fixedW[20]); + RND(D,E,F,G,H,A,B,C, fixedW[21]); + RND(C,D,E,F,G,H,A,B, fixedW[22]); + RND(B,C,D,E,F,G,H,A, fixedW[23]); + RND(A,B,C,D,E,F,G,H, fixedW[24]); + RND(H,A,B,C,D,E,F,G, fixedW[25]); + RND(G,H,A,B,C,D,E,F, fixedW[26]); + RND(F,G,H,A,B,C,D,E, fixedW[27]); + RND(E,F,G,H,A,B,C,D, fixedW[28]); + RND(D,E,F,G,H,A,B,C, fixedW[29]); + RND(C,D,E,F,G,H,A,B, fixedW[30]); + RND(B,C,D,E,F,G,H,A, fixedW[31]); + RND(A,B,C,D,E,F,G,H, fixedW[32]); + RND(H,A,B,C,D,E,F,G, fixedW[33]); + RND(G,H,A,B,C,D,E,F, fixedW[34]); + RND(F,G,H,A,B,C,D,E, fixedW[35]); + RND(E,F,G,H,A,B,C,D, fixedW[36]); + RND(D,E,F,G,H,A,B,C, fixedW[37]); + RND(C,D,E,F,G,H,A,B, fixedW[38]); + RND(B,C,D,E,F,G,H,A, fixedW[39]); + RND(A,B,C,D,E,F,G,H, fixedW[40]); + RND(H,A,B,C,D,E,F,G, fixedW[41]); + RND(G,H,A,B,C,D,E,F, fixedW[42]); + RND(F,G,H,A,B,C,D,E, fixedW[43]); + RND(E,F,G,H,A,B,C,D, fixedW[44]); + RND(D,E,F,G,H,A,B,C, fixedW[45]); + RND(C,D,E,F,G,H,A,B, fixedW[46]); + RND(B,C,D,E,F,G,H,A, fixedW[47]); + RND(A,B,C,D,E,F,G,H, fixedW[48]); + RND(H,A,B,C,D,E,F,G, fixedW[49]); + RND(G,H,A,B,C,D,E,F, fixedW[50]); + RND(F,G,H,A,B,C,D,E, fixedW[51]); + RND(E,F,G,H,A,B,C,D, fixedW[52]); + RND(D,E,F,G,H,A,B,C, fixedW[53]); + RND(C,D,E,F,G,H,A,B, fixedW[54]); + RND(B,C,D,E,F,G,H,A, fixedW[55]); + RND(A,B,C,D,E,F,G,H, fixedW[56]); + RND(H,A,B,C,D,E,F,G, fixedW[57]); + RND(G,H,A,B,C,D,E,F, fixedW[58]); + RND(F,G,H,A,B,C,D,E, fixedW[59]); + RND(E,F,G,H,A,B,C,D, fixedW[60]); + RND(D,E,F,G,H,A,B,C, fixedW[61]); + RND(C,D,E,F,G,H,A,B, fixedW[62]); + RND(B,C,D,E,F,G,H,A, fixedW[63]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + *state0 += S0; + *state1 += S1; +} + +void shittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[1].x,B[2].y,B[3].z,B[0].w); + tmp[1] = (uint4)(B[2].x,B[3].y,B[0].z,B[1].w); + tmp[2] = (uint4)(B[3].x,B[0].y,B[1].z,B[2].w); + tmp[3] = (uint4)(B[0].x,B[1].y,B[2].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap(tmp[i]); + + tmp[0] = (uint4)(B[5].x,B[6].y,B[7].z,B[4].w); + tmp[1] = (uint4)(B[6].x,B[7].y,B[4].z,B[5].w); + tmp[2] = (uint4)(B[7].x,B[4].y,B[5].z,B[6].w); + tmp[3] = (uint4)(B[4].x,B[5].y,B[6].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap(tmp[i]); +} + +void unshittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[3].x,B[2].y,B[1].z,B[0].w); + tmp[1] = (uint4)(B[0].x,B[3].y,B[2].z,B[1].w); + tmp[2] = (uint4)(B[1].x,B[0].y,B[3].z,B[2].w); + tmp[3] = (uint4)(B[2].x,B[1].y,B[0].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap(tmp[i]); + + tmp[0] = (uint4)(B[7].x,B[6].y,B[5].z,B[4].w); + tmp[1] = (uint4)(B[4].x,B[7].y,B[6].z,B[5].w); + tmp[2] = (uint4)(B[5].x,B[4].y,B[7].z,B[6].w); + tmp[3] = (uint4)(B[6].x,B[5].y,B[4].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap(tmp[i]); +} + +void salsa(uint4 B[8]) +{ + uint4 w[4]; + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i]^=B[i+4]); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i+4]^=(B[i]+=w[i])); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] += w[i]; +} + +#define Coord(x,y,z) x+y*(x ## SIZE)+z*(y ## SIZE)*(x ## SIZE) +#define CO Coord(z,x,y) + +void scrypt_core(uint4 X[8], __global uint4*restrict lookup) +{ + shittify(X); + const uint zSIZE = 8; + const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0)); + const uint xSIZE = CONCURRENT_THREADS; + uint x = get_global_id(0)%xSIZE; + + for(uint y=0; y<1024/LOOKUP_GAP; ++y) + { +#pragma unroll + for(uint z=0; z>3U)) +#define Wr1(x) (rotl(x, 15U) ^ rotl(x, 13U) ^ (x>>10U)) + +#define RND(a, b, c, d, e, f, g, h, k) \ + h += Tr1(e) + Ch(e, f, g) + k; \ + d += h; \ + h += Tr2(a) + Maj(a, b, c); + +void SHA256(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + uint4 W[4]; + + W[ 0].x = block0.x; + RND(A,B,C,D,E,F,G,H, W[0].x+0x428a2f98U); + W[ 0].y = block0.y; + RND(H,A,B,C,D,E,F,G, W[0].y+0x71374491U); + W[ 0].z = block0.z; + RND(G,H,A,B,C,D,E,F, W[0].z+0xb5c0fbcfU); + W[ 0].w = block0.w; + RND(F,G,H,A,B,C,D,E, W[0].w+0xe9b5dba5U); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += S0; + *state1 += S1; +} + +void SHA256_fresh(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ +#define A (*state0).x +#define B (*state0).y +#define C (*state0).z +#define D (*state0).w +#define E (*state1).x +#define F (*state1).y +#define G (*state1).z +#define H (*state1).w + + uint4 W[4]; + + W[ 0].x = block0.x; + D=0x98c7e2a2U+W[0].x; + H=0xfc08884dU+W[0].x; + + W[ 0].y = block0.y; + C=0xcd2a11aeU+Tr1(D)+Ch(D,0x510e527fU,0x9b05688cU)+W[0].y; + G=0xC3910C8EU+C+Tr2(H)+Ch(H,0xfb6feee7U,0x2a01a605U); + + W[ 0].z = block0.z; + B=0x0c2e12e0U+Tr1(C)+Ch(C,D,0x510e527fU)+W[0].z; + F=0x4498517BU+B+Tr2(G)+Maj(G,H,0x6a09e667U); + + W[ 0].w = block0.w; + A=0xa4ce148bU+Tr1(B)+Ch(B,C,D)+W[0].w; + E=0x95F61999U+A+Tr2(F)+Maj(F,G,H); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += (uint4)(0x6A09E667U,0xBB67AE85U,0x3C6EF372U,0xA54FF53AU); + *state1 += (uint4)(0x510E527FU,0x9B05688CU,0x1F83D9ABU,0x5BE0CD19U); +} + +__constant uint fixedW[64] = +{ + 0x428a2f99,0xf1374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, + 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf794, + 0xf59b89c2,0x73924787,0x23c6886e,0xa42ca65c,0x15ed3627,0x4d6edcbf,0xe28217fc,0xef02488f, + 0xb707775c,0x0468c23f,0xe7e72b4c,0x49e1f1a2,0x4b99c816,0x926d1570,0xaa0fc072,0xadb36e2c, + 0xad87a3ea,0xbcb1d3a3,0x7b993186,0x562b9420,0xbff3ca0c,0xda4b0c23,0x6cd8711a,0x8f337caa, + 0xc91b1417,0xc359dce1,0xa83253a7,0x3b13c12d,0x9d3d725d,0xd9031a84,0xb1a03340,0x16f58012, + 0xe64fb6a2,0xe84d923a,0xe93a5730,0x09837686,0x078ff753,0x29833341,0xd5de0b7e,0x6948ccf4, + 0xe0a1adbe,0x7c728e11,0x511c78e4,0x315b45bd,0xfca71413,0xea28f96a,0x79703128,0x4e1ef848, +}; + +void SHA256_fixed(uint4*restrict state0,uint4*restrict state1) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + RND(A,B,C,D,E,F,G,H, fixedW[0]); + RND(H,A,B,C,D,E,F,G, fixedW[1]); + RND(G,H,A,B,C,D,E,F, fixedW[2]); + RND(F,G,H,A,B,C,D,E, fixedW[3]); + RND(E,F,G,H,A,B,C,D, fixedW[4]); + RND(D,E,F,G,H,A,B,C, fixedW[5]); + RND(C,D,E,F,G,H,A,B, fixedW[6]); + RND(B,C,D,E,F,G,H,A, fixedW[7]); + RND(A,B,C,D,E,F,G,H, fixedW[8]); + RND(H,A,B,C,D,E,F,G, fixedW[9]); + RND(G,H,A,B,C,D,E,F, fixedW[10]); + RND(F,G,H,A,B,C,D,E, fixedW[11]); + RND(E,F,G,H,A,B,C,D, fixedW[12]); + RND(D,E,F,G,H,A,B,C, fixedW[13]); + RND(C,D,E,F,G,H,A,B, fixedW[14]); + RND(B,C,D,E,F,G,H,A, fixedW[15]); + RND(A,B,C,D,E,F,G,H, fixedW[16]); + RND(H,A,B,C,D,E,F,G, fixedW[17]); + RND(G,H,A,B,C,D,E,F, fixedW[18]); + RND(F,G,H,A,B,C,D,E, fixedW[19]); + RND(E,F,G,H,A,B,C,D, fixedW[20]); + RND(D,E,F,G,H,A,B,C, fixedW[21]); + RND(C,D,E,F,G,H,A,B, fixedW[22]); + RND(B,C,D,E,F,G,H,A, fixedW[23]); + RND(A,B,C,D,E,F,G,H, fixedW[24]); + RND(H,A,B,C,D,E,F,G, fixedW[25]); + RND(G,H,A,B,C,D,E,F, fixedW[26]); + RND(F,G,H,A,B,C,D,E, fixedW[27]); + RND(E,F,G,H,A,B,C,D, fixedW[28]); + RND(D,E,F,G,H,A,B,C, fixedW[29]); + RND(C,D,E,F,G,H,A,B, fixedW[30]); + RND(B,C,D,E,F,G,H,A, fixedW[31]); + RND(A,B,C,D,E,F,G,H, fixedW[32]); + RND(H,A,B,C,D,E,F,G, fixedW[33]); + RND(G,H,A,B,C,D,E,F, fixedW[34]); + RND(F,G,H,A,B,C,D,E, fixedW[35]); + RND(E,F,G,H,A,B,C,D, fixedW[36]); + RND(D,E,F,G,H,A,B,C, fixedW[37]); + RND(C,D,E,F,G,H,A,B, fixedW[38]); + RND(B,C,D,E,F,G,H,A, fixedW[39]); + RND(A,B,C,D,E,F,G,H, fixedW[40]); + RND(H,A,B,C,D,E,F,G, fixedW[41]); + RND(G,H,A,B,C,D,E,F, fixedW[42]); + RND(F,G,H,A,B,C,D,E, fixedW[43]); + RND(E,F,G,H,A,B,C,D, fixedW[44]); + RND(D,E,F,G,H,A,B,C, fixedW[45]); + RND(C,D,E,F,G,H,A,B, fixedW[46]); + RND(B,C,D,E,F,G,H,A, fixedW[47]); + RND(A,B,C,D,E,F,G,H, fixedW[48]); + RND(H,A,B,C,D,E,F,G, fixedW[49]); + RND(G,H,A,B,C,D,E,F, fixedW[50]); + RND(F,G,H,A,B,C,D,E, fixedW[51]); + RND(E,F,G,H,A,B,C,D, fixedW[52]); + RND(D,E,F,G,H,A,B,C, fixedW[53]); + RND(C,D,E,F,G,H,A,B, fixedW[54]); + RND(B,C,D,E,F,G,H,A, fixedW[55]); + RND(A,B,C,D,E,F,G,H, fixedW[56]); + RND(H,A,B,C,D,E,F,G, fixedW[57]); + RND(G,H,A,B,C,D,E,F, fixedW[58]); + RND(F,G,H,A,B,C,D,E, fixedW[59]); + RND(E,F,G,H,A,B,C,D, fixedW[60]); + RND(D,E,F,G,H,A,B,C, fixedW[61]); + RND(C,D,E,F,G,H,A,B, fixedW[62]); + RND(B,C,D,E,F,G,H,A, fixedW[63]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + *state0 += S0; + *state1 += S1; +} + +void shittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[1].x,B[2].y,B[3].z,B[0].w); + tmp[1] = (uint4)(B[2].x,B[3].y,B[0].z,B[1].w); + tmp[2] = (uint4)(B[3].x,B[0].y,B[1].z,B[2].w); + tmp[3] = (uint4)(B[0].x,B[1].y,B[2].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[5].x,B[6].y,B[7].z,B[4].w); + tmp[1] = (uint4)(B[6].x,B[7].y,B[4].z,B[5].w); + tmp[2] = (uint4)(B[7].x,B[4].y,B[5].z,B[6].w); + tmp[3] = (uint4)(B[4].x,B[5].y,B[6].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void unshittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[3].x,B[2].y,B[1].z,B[0].w); + tmp[1] = (uint4)(B[0].x,B[3].y,B[2].z,B[1].w); + tmp[2] = (uint4)(B[1].x,B[0].y,B[3].z,B[2].w); + tmp[3] = (uint4)(B[2].x,B[1].y,B[0].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[7].x,B[6].y,B[5].z,B[4].w); + tmp[1] = (uint4)(B[4].x,B[7].y,B[6].z,B[5].w); + tmp[2] = (uint4)(B[5].x,B[4].y,B[7].z,B[6].w); + tmp[3] = (uint4)(B[6].x,B[5].y,B[4].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void salsa(uint4 B[8]) +{ + uint4 w[4]; + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i]^=B[i+4]); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i+4]^=(B[i]+=w[i])); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] += w[i]; +} + +#define Coord(x,y,z) x+y*(x ## SIZE)+z*(y ## SIZE)*(x ## SIZE) +#define CO Coord(z,x,y) + +void scrypt_core(uint4 X[8], __global uint4*restrict lookup) +{ + shittify(X); + const uint zSIZE = 8; + const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0)); + const uint xSIZE = CONCURRENT_THREADS; + uint x = get_global_id(0)%xSIZE; + + for(uint y=0; y<1024/LOOKUP_GAP; ++y) + { +#pragma unroll + for(uint z=0; z>3U)) +#define Wr1(x) (rotl(x, 15U) ^ rotl(x, 13U) ^ (x>>10U)) + +#define RND(a, b, c, d, e, f, g, h, k) \ + h += Tr1(e) + Ch(e, f, g) + k; \ + d += h; \ + h += Tr2(a) + Maj(a, b, c); + +void SHA256(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + uint4 W[4]; + + W[ 0].x = block0.x; + RND(A,B,C,D,E,F,G,H, W[0].x+0x428a2f98U); + W[ 0].y = block0.y; + RND(H,A,B,C,D,E,F,G, W[0].y+0x71374491U); + W[ 0].z = block0.z; + RND(G,H,A,B,C,D,E,F, W[0].z+0xb5c0fbcfU); + W[ 0].w = block0.w; + RND(F,G,H,A,B,C,D,E, W[0].w+0xe9b5dba5U); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += S0; + *state1 += S1; +} + +void SHA256_fresh(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ +#define A (*state0).x +#define B (*state0).y +#define C (*state0).z +#define D (*state0).w +#define E (*state1).x +#define F (*state1).y +#define G (*state1).z +#define H (*state1).w + + uint4 W[4]; + + W[ 0].x = block0.x; + D=0x98c7e2a2U+W[0].x; + H=0xfc08884dU+W[0].x; + + W[ 0].y = block0.y; + C=0xcd2a11aeU+Tr1(D)+Ch(D,0x510e527fU,0x9b05688cU)+W[0].y; + G=0xC3910C8EU+C+Tr2(H)+Ch(H,0xfb6feee7U,0x2a01a605U); + + W[ 0].z = block0.z; + B=0x0c2e12e0U+Tr1(C)+Ch(C,D,0x510e527fU)+W[0].z; + F=0x4498517BU+B+Tr2(G)+Maj(G,H,0x6a09e667U); + + W[ 0].w = block0.w; + A=0xa4ce148bU+Tr1(B)+Ch(B,C,D)+W[0].w; + E=0x95F61999U+A+Tr2(F)+Maj(F,G,H); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += (uint4)(0x6A09E667U,0xBB67AE85U,0x3C6EF372U,0xA54FF53AU); + *state1 += (uint4)(0x510E527FU,0x9B05688CU,0x1F83D9ABU,0x5BE0CD19U); +} + +__constant uint fixedW[64] = +{ + 0x428a2f99,0xf1374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, + 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf794, + 0xf59b89c2,0x73924787,0x23c6886e,0xa42ca65c,0x15ed3627,0x4d6edcbf,0xe28217fc,0xef02488f, + 0xb707775c,0x0468c23f,0xe7e72b4c,0x49e1f1a2,0x4b99c816,0x926d1570,0xaa0fc072,0xadb36e2c, + 0xad87a3ea,0xbcb1d3a3,0x7b993186,0x562b9420,0xbff3ca0c,0xda4b0c23,0x6cd8711a,0x8f337caa, + 0xc91b1417,0xc359dce1,0xa83253a7,0x3b13c12d,0x9d3d725d,0xd9031a84,0xb1a03340,0x16f58012, + 0xe64fb6a2,0xe84d923a,0xe93a5730,0x09837686,0x078ff753,0x29833341,0xd5de0b7e,0x6948ccf4, + 0xe0a1adbe,0x7c728e11,0x511c78e4,0x315b45bd,0xfca71413,0xea28f96a,0x79703128,0x4e1ef848, +}; + +void SHA256_fixed(uint4*restrict state0,uint4*restrict state1) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + RND(A,B,C,D,E,F,G,H, fixedW[0]); + RND(H,A,B,C,D,E,F,G, fixedW[1]); + RND(G,H,A,B,C,D,E,F, fixedW[2]); + RND(F,G,H,A,B,C,D,E, fixedW[3]); + RND(E,F,G,H,A,B,C,D, fixedW[4]); + RND(D,E,F,G,H,A,B,C, fixedW[5]); + RND(C,D,E,F,G,H,A,B, fixedW[6]); + RND(B,C,D,E,F,G,H,A, fixedW[7]); + RND(A,B,C,D,E,F,G,H, fixedW[8]); + RND(H,A,B,C,D,E,F,G, fixedW[9]); + RND(G,H,A,B,C,D,E,F, fixedW[10]); + RND(F,G,H,A,B,C,D,E, fixedW[11]); + RND(E,F,G,H,A,B,C,D, fixedW[12]); + RND(D,E,F,G,H,A,B,C, fixedW[13]); + RND(C,D,E,F,G,H,A,B, fixedW[14]); + RND(B,C,D,E,F,G,H,A, fixedW[15]); + RND(A,B,C,D,E,F,G,H, fixedW[16]); + RND(H,A,B,C,D,E,F,G, fixedW[17]); + RND(G,H,A,B,C,D,E,F, fixedW[18]); + RND(F,G,H,A,B,C,D,E, fixedW[19]); + RND(E,F,G,H,A,B,C,D, fixedW[20]); + RND(D,E,F,G,H,A,B,C, fixedW[21]); + RND(C,D,E,F,G,H,A,B, fixedW[22]); + RND(B,C,D,E,F,G,H,A, fixedW[23]); + RND(A,B,C,D,E,F,G,H, fixedW[24]); + RND(H,A,B,C,D,E,F,G, fixedW[25]); + RND(G,H,A,B,C,D,E,F, fixedW[26]); + RND(F,G,H,A,B,C,D,E, fixedW[27]); + RND(E,F,G,H,A,B,C,D, fixedW[28]); + RND(D,E,F,G,H,A,B,C, fixedW[29]); + RND(C,D,E,F,G,H,A,B, fixedW[30]); + RND(B,C,D,E,F,G,H,A, fixedW[31]); + RND(A,B,C,D,E,F,G,H, fixedW[32]); + RND(H,A,B,C,D,E,F,G, fixedW[33]); + RND(G,H,A,B,C,D,E,F, fixedW[34]); + RND(F,G,H,A,B,C,D,E, fixedW[35]); + RND(E,F,G,H,A,B,C,D, fixedW[36]); + RND(D,E,F,G,H,A,B,C, fixedW[37]); + RND(C,D,E,F,G,H,A,B, fixedW[38]); + RND(B,C,D,E,F,G,H,A, fixedW[39]); + RND(A,B,C,D,E,F,G,H, fixedW[40]); + RND(H,A,B,C,D,E,F,G, fixedW[41]); + RND(G,H,A,B,C,D,E,F, fixedW[42]); + RND(F,G,H,A,B,C,D,E, fixedW[43]); + RND(E,F,G,H,A,B,C,D, fixedW[44]); + RND(D,E,F,G,H,A,B,C, fixedW[45]); + RND(C,D,E,F,G,H,A,B, fixedW[46]); + RND(B,C,D,E,F,G,H,A, fixedW[47]); + RND(A,B,C,D,E,F,G,H, fixedW[48]); + RND(H,A,B,C,D,E,F,G, fixedW[49]); + RND(G,H,A,B,C,D,E,F, fixedW[50]); + RND(F,G,H,A,B,C,D,E, fixedW[51]); + RND(E,F,G,H,A,B,C,D, fixedW[52]); + RND(D,E,F,G,H,A,B,C, fixedW[53]); + RND(C,D,E,F,G,H,A,B, fixedW[54]); + RND(B,C,D,E,F,G,H,A, fixedW[55]); + RND(A,B,C,D,E,F,G,H, fixedW[56]); + RND(H,A,B,C,D,E,F,G, fixedW[57]); + RND(G,H,A,B,C,D,E,F, fixedW[58]); + RND(F,G,H,A,B,C,D,E, fixedW[59]); + RND(E,F,G,H,A,B,C,D, fixedW[60]); + RND(D,E,F,G,H,A,B,C, fixedW[61]); + RND(C,D,E,F,G,H,A,B, fixedW[62]); + RND(B,C,D,E,F,G,H,A, fixedW[63]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + *state0 += S0; + *state1 += S1; +} + +void shittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[1].x,B[2].y,B[3].z,B[0].w); + tmp[1] = (uint4)(B[2].x,B[3].y,B[0].z,B[1].w); + tmp[2] = (uint4)(B[3].x,B[0].y,B[1].z,B[2].w); + tmp[3] = (uint4)(B[0].x,B[1].y,B[2].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[5].x,B[6].y,B[7].z,B[4].w); + tmp[1] = (uint4)(B[6].x,B[7].y,B[4].z,B[5].w); + tmp[2] = (uint4)(B[7].x,B[4].y,B[5].z,B[6].w); + tmp[3] = (uint4)(B[4].x,B[5].y,B[6].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void unshittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[3].x,B[2].y,B[1].z,B[0].w); + tmp[1] = (uint4)(B[0].x,B[3].y,B[2].z,B[1].w); + tmp[2] = (uint4)(B[1].x,B[0].y,B[3].z,B[2].w); + tmp[3] = (uint4)(B[2].x,B[1].y,B[0].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[7].x,B[6].y,B[5].z,B[4].w); + tmp[1] = (uint4)(B[4].x,B[7].y,B[6].z,B[5].w); + tmp[2] = (uint4)(B[5].x,B[4].y,B[7].z,B[6].w); + tmp[3] = (uint4)(B[6].x,B[5].y,B[4].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void salsa(uint4 B[8]) +{ + uint4 w[4]; + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i]^=B[i+4]); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i+4]^=(B[i]+=w[i])); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] += w[i]; +} + +#define Coord(x,y,z) x+y*(x ## SIZE)+z*(y ## SIZE)*(x ## SIZE) +#define CO Coord(z,x,y) + +void scrypt_core(uint4 X[8], __global uint4*restrict lookup) +{ + shittify(X); + const uint zSIZE = 8; + const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0)); + const uint xSIZE = CONCURRENT_THREADS; + uint x = get_global_id(0)%xSIZE; + + for(uint y=0; y<1024/LOOKUP_GAP; ++y) + { +#pragma unroll + for(uint z=0; z>3U)) +#define Wr1(x) (rotl(x, 15U) ^ rotl(x, 13U) ^ (x>>10U)) + +#define RND(a, b, c, d, e, f, g, h, k) \ + h += Tr1(e) + Ch(e, f, g) + k; \ + d += h; \ + h += Tr2(a) + Maj(a, b, c); + +void SHA256(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + uint4 W[4]; + + W[ 0].x = block0.x; + RND(A,B,C,D,E,F,G,H, W[0].x+0x428a2f98U); + W[ 0].y = block0.y; + RND(H,A,B,C,D,E,F,G, W[0].y+0x71374491U); + W[ 0].z = block0.z; + RND(G,H,A,B,C,D,E,F, W[0].z+0xb5c0fbcfU); + W[ 0].w = block0.w; + RND(F,G,H,A,B,C,D,E, W[0].w+0xe9b5dba5U); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += S0; + *state1 += S1; +} + +void SHA256_fresh(uint4*restrict state0,uint4*restrict state1, const uint4 block0, const uint4 block1, const uint4 block2, const uint4 block3) +{ +#define A (*state0).x +#define B (*state0).y +#define C (*state0).z +#define D (*state0).w +#define E (*state1).x +#define F (*state1).y +#define G (*state1).z +#define H (*state1).w + + uint4 W[4]; + + W[ 0].x = block0.x; + D=0x98c7e2a2U+W[0].x; + H=0xfc08884dU+W[0].x; + + W[ 0].y = block0.y; + C=0xcd2a11aeU+Tr1(D)+Ch(D,0x510e527fU,0x9b05688cU)+W[0].y; + G=0xC3910C8EU+C+Tr2(H)+Ch(H,0xfb6feee7U,0x2a01a605U); + + W[ 0].z = block0.z; + B=0x0c2e12e0U+Tr1(C)+Ch(C,D,0x510e527fU)+W[0].z; + F=0x4498517BU+B+Tr2(G)+Maj(G,H,0x6a09e667U); + + W[ 0].w = block0.w; + A=0xa4ce148bU+Tr1(B)+Ch(B,C,D)+W[0].w; + E=0x95F61999U+A+Tr2(F)+Maj(F,G,H); + + W[ 1].x = block1.x; + RND(E,F,G,H,A,B,C,D, W[1].x+0x3956c25bU); + W[ 1].y = block1.y; + RND(D,E,F,G,H,A,B,C, W[1].y+0x59f111f1U); + W[ 1].z = block1.z; + RND(C,D,E,F,G,H,A,B, W[1].z+0x923f82a4U); + W[ 1].w = block1.w; + RND(B,C,D,E,F,G,H,A, W[1].w+0xab1c5ed5U); + + W[ 2].x = block2.x; + RND(A,B,C,D,E,F,G,H, W[2].x+0xd807aa98U); + W[ 2].y = block2.y; + RND(H,A,B,C,D,E,F,G, W[2].y+0x12835b01U); + W[ 2].z = block2.z; + RND(G,H,A,B,C,D,E,F, W[2].z+0x243185beU); + W[ 2].w = block2.w; + RND(F,G,H,A,B,C,D,E, W[2].w+0x550c7dc3U); + + W[ 3].x = block3.x; + RND(E,F,G,H,A,B,C,D, W[3].x+0x72be5d74U); + W[ 3].y = block3.y; + RND(D,E,F,G,H,A,B,C, W[3].y+0x80deb1feU); + W[ 3].z = block3.z; + RND(C,D,E,F,G,H,A,B, W[3].z+0x9bdc06a7U); + W[ 3].w = block3.w; + RND(B,C,D,E,F,G,H,A, W[3].w+0xc19bf174U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0xe49b69c1U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0xefbe4786U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x0fc19dc6U); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x240ca1ccU); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x2de92c6fU); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4a7484aaU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5cb0a9dcU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x76f988daU); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x983e5152U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa831c66dU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xb00327c8U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xbf597fc7U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xc6e00bf3U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd5a79147U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0x06ca6351U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x14292967U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x27b70a85U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x2e1b2138U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x4d2c6dfcU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x53380d13U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x650a7354U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x766a0abbU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x81c2c92eU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x92722c85U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0xa2bfe8a1U); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0xa81a664bU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0xc24b8b70U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0xc76c51a3U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0xd192e819U); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xd6990624U); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xf40e3585U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0x106aa070U); + + W[ 0].x += Wr1(W[ 3].z) + W[ 2].y + Wr2(W[ 0].y); + RND(A,B,C,D,E,F,G,H, W[0].x+0x19a4c116U); + + W[ 0].y += Wr1(W[ 3].w) + W[ 2].z + Wr2(W[ 0].z); + RND(H,A,B,C,D,E,F,G, W[0].y+0x1e376c08U); + + W[ 0].z += Wr1(W[ 0].x) + W[ 2].w + Wr2(W[ 0].w); + RND(G,H,A,B,C,D,E,F, W[0].z+0x2748774cU); + + W[ 0].w += Wr1(W[ 0].y) + W[ 3].x + Wr2(W[ 1].x); + RND(F,G,H,A,B,C,D,E, W[0].w+0x34b0bcb5U); + + W[ 1].x += Wr1(W[ 0].z) + W[ 3].y + Wr2(W[ 1].y); + RND(E,F,G,H,A,B,C,D, W[1].x+0x391c0cb3U); + + W[ 1].y += Wr1(W[ 0].w) + W[ 3].z + Wr2(W[ 1].z); + RND(D,E,F,G,H,A,B,C, W[1].y+0x4ed8aa4aU); + + W[ 1].z += Wr1(W[ 1].x) + W[ 3].w + Wr2(W[ 1].w); + RND(C,D,E,F,G,H,A,B, W[1].z+0x5b9cca4fU); + + W[ 1].w += Wr1(W[ 1].y) + W[ 0].x + Wr2(W[ 2].x); + RND(B,C,D,E,F,G,H,A, W[1].w+0x682e6ff3U); + + W[ 2].x += Wr1(W[ 1].z) + W[ 0].y + Wr2(W[ 2].y); + RND(A,B,C,D,E,F,G,H, W[2].x+0x748f82eeU); + + W[ 2].y += Wr1(W[ 1].w) + W[ 0].z + Wr2(W[ 2].z); + RND(H,A,B,C,D,E,F,G, W[2].y+0x78a5636fU); + + W[ 2].z += Wr1(W[ 2].x) + W[ 0].w + Wr2(W[ 2].w); + RND(G,H,A,B,C,D,E,F, W[2].z+0x84c87814U); + + W[ 2].w += Wr1(W[ 2].y) + W[ 1].x + Wr2(W[ 3].x); + RND(F,G,H,A,B,C,D,E, W[2].w+0x8cc70208U); + + W[ 3].x += Wr1(W[ 2].z) + W[ 1].y + Wr2(W[ 3].y); + RND(E,F,G,H,A,B,C,D, W[3].x+0x90befffaU); + + W[ 3].y += Wr1(W[ 2].w) + W[ 1].z + Wr2(W[ 3].z); + RND(D,E,F,G,H,A,B,C, W[3].y+0xa4506cebU); + + W[ 3].z += Wr1(W[ 3].x) + W[ 1].w + Wr2(W[ 3].w); + RND(C,D,E,F,G,H,A,B, W[3].z+0xbef9a3f7U); + + W[ 3].w += Wr1(W[ 3].y) + W[ 2].x + Wr2(W[ 0].x); + RND(B,C,D,E,F,G,H,A, W[3].w+0xc67178f2U); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + + *state0 += (uint4)(0x6A09E667U,0xBB67AE85U,0x3C6EF372U,0xA54FF53AU); + *state1 += (uint4)(0x510E527FU,0x9B05688CU,0x1F83D9ABU,0x5BE0CD19U); +} + +__constant uint fixedW[64] = +{ + 0x428a2f99,0xf1374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, + 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf794, + 0xf59b89c2,0x73924787,0x23c6886e,0xa42ca65c,0x15ed3627,0x4d6edcbf,0xe28217fc,0xef02488f, + 0xb707775c,0x0468c23f,0xe7e72b4c,0x49e1f1a2,0x4b99c816,0x926d1570,0xaa0fc072,0xadb36e2c, + 0xad87a3ea,0xbcb1d3a3,0x7b993186,0x562b9420,0xbff3ca0c,0xda4b0c23,0x6cd8711a,0x8f337caa, + 0xc91b1417,0xc359dce1,0xa83253a7,0x3b13c12d,0x9d3d725d,0xd9031a84,0xb1a03340,0x16f58012, + 0xe64fb6a2,0xe84d923a,0xe93a5730,0x09837686,0x078ff753,0x29833341,0xd5de0b7e,0x6948ccf4, + 0xe0a1adbe,0x7c728e11,0x511c78e4,0x315b45bd,0xfca71413,0xea28f96a,0x79703128,0x4e1ef848, +}; + +void SHA256_fixed(uint4*restrict state0,uint4*restrict state1) +{ + uint4 S0 = *state0; + uint4 S1 = *state1; + +#define A S0.x +#define B S0.y +#define C S0.z +#define D S0.w +#define E S1.x +#define F S1.y +#define G S1.z +#define H S1.w + + RND(A,B,C,D,E,F,G,H, fixedW[0]); + RND(H,A,B,C,D,E,F,G, fixedW[1]); + RND(G,H,A,B,C,D,E,F, fixedW[2]); + RND(F,G,H,A,B,C,D,E, fixedW[3]); + RND(E,F,G,H,A,B,C,D, fixedW[4]); + RND(D,E,F,G,H,A,B,C, fixedW[5]); + RND(C,D,E,F,G,H,A,B, fixedW[6]); + RND(B,C,D,E,F,G,H,A, fixedW[7]); + RND(A,B,C,D,E,F,G,H, fixedW[8]); + RND(H,A,B,C,D,E,F,G, fixedW[9]); + RND(G,H,A,B,C,D,E,F, fixedW[10]); + RND(F,G,H,A,B,C,D,E, fixedW[11]); + RND(E,F,G,H,A,B,C,D, fixedW[12]); + RND(D,E,F,G,H,A,B,C, fixedW[13]); + RND(C,D,E,F,G,H,A,B, fixedW[14]); + RND(B,C,D,E,F,G,H,A, fixedW[15]); + RND(A,B,C,D,E,F,G,H, fixedW[16]); + RND(H,A,B,C,D,E,F,G, fixedW[17]); + RND(G,H,A,B,C,D,E,F, fixedW[18]); + RND(F,G,H,A,B,C,D,E, fixedW[19]); + RND(E,F,G,H,A,B,C,D, fixedW[20]); + RND(D,E,F,G,H,A,B,C, fixedW[21]); + RND(C,D,E,F,G,H,A,B, fixedW[22]); + RND(B,C,D,E,F,G,H,A, fixedW[23]); + RND(A,B,C,D,E,F,G,H, fixedW[24]); + RND(H,A,B,C,D,E,F,G, fixedW[25]); + RND(G,H,A,B,C,D,E,F, fixedW[26]); + RND(F,G,H,A,B,C,D,E, fixedW[27]); + RND(E,F,G,H,A,B,C,D, fixedW[28]); + RND(D,E,F,G,H,A,B,C, fixedW[29]); + RND(C,D,E,F,G,H,A,B, fixedW[30]); + RND(B,C,D,E,F,G,H,A, fixedW[31]); + RND(A,B,C,D,E,F,G,H, fixedW[32]); + RND(H,A,B,C,D,E,F,G, fixedW[33]); + RND(G,H,A,B,C,D,E,F, fixedW[34]); + RND(F,G,H,A,B,C,D,E, fixedW[35]); + RND(E,F,G,H,A,B,C,D, fixedW[36]); + RND(D,E,F,G,H,A,B,C, fixedW[37]); + RND(C,D,E,F,G,H,A,B, fixedW[38]); + RND(B,C,D,E,F,G,H,A, fixedW[39]); + RND(A,B,C,D,E,F,G,H, fixedW[40]); + RND(H,A,B,C,D,E,F,G, fixedW[41]); + RND(G,H,A,B,C,D,E,F, fixedW[42]); + RND(F,G,H,A,B,C,D,E, fixedW[43]); + RND(E,F,G,H,A,B,C,D, fixedW[44]); + RND(D,E,F,G,H,A,B,C, fixedW[45]); + RND(C,D,E,F,G,H,A,B, fixedW[46]); + RND(B,C,D,E,F,G,H,A, fixedW[47]); + RND(A,B,C,D,E,F,G,H, fixedW[48]); + RND(H,A,B,C,D,E,F,G, fixedW[49]); + RND(G,H,A,B,C,D,E,F, fixedW[50]); + RND(F,G,H,A,B,C,D,E, fixedW[51]); + RND(E,F,G,H,A,B,C,D, fixedW[52]); + RND(D,E,F,G,H,A,B,C, fixedW[53]); + RND(C,D,E,F,G,H,A,B, fixedW[54]); + RND(B,C,D,E,F,G,H,A, fixedW[55]); + RND(A,B,C,D,E,F,G,H, fixedW[56]); + RND(H,A,B,C,D,E,F,G, fixedW[57]); + RND(G,H,A,B,C,D,E,F, fixedW[58]); + RND(F,G,H,A,B,C,D,E, fixedW[59]); + RND(E,F,G,H,A,B,C,D, fixedW[60]); + RND(D,E,F,G,H,A,B,C, fixedW[61]); + RND(C,D,E,F,G,H,A,B, fixedW[62]); + RND(B,C,D,E,F,G,H,A, fixedW[63]); + +#undef A +#undef B +#undef C +#undef D +#undef E +#undef F +#undef G +#undef H + *state0 += S0; + *state1 += S1; +} + +void shittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[1].x,B[2].y,B[3].z,B[0].w); + tmp[1] = (uint4)(B[2].x,B[3].y,B[0].z,B[1].w); + tmp[2] = (uint4)(B[3].x,B[0].y,B[1].z,B[2].w); + tmp[3] = (uint4)(B[0].x,B[1].y,B[2].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[5].x,B[6].y,B[7].z,B[4].w); + tmp[1] = (uint4)(B[6].x,B[7].y,B[4].z,B[5].w); + tmp[2] = (uint4)(B[7].x,B[4].y,B[5].z,B[6].w); + tmp[3] = (uint4)(B[4].x,B[5].y,B[6].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void unshittify(uint4 B[8]) +{ + uint4 tmp[4]; + tmp[0] = (uint4)(B[3].x,B[2].y,B[1].z,B[0].w); + tmp[1] = (uint4)(B[0].x,B[3].y,B[2].z,B[1].w); + tmp[2] = (uint4)(B[1].x,B[0].y,B[3].z,B[2].w); + tmp[3] = (uint4)(B[2].x,B[1].y,B[0].z,B[3].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i] = EndianSwap4(tmp[i]); + + tmp[0] = (uint4)(B[7].x,B[6].y,B[5].z,B[4].w); + tmp[1] = (uint4)(B[4].x,B[7].y,B[6].z,B[5].w); + tmp[2] = (uint4)(B[5].x,B[4].y,B[7].z,B[6].w); + tmp[3] = (uint4)(B[6].x,B[5].y,B[4].z,B[7].w); + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] = EndianSwap4(tmp[i]); +} + +void salsa(uint4 B[8]) +{ + uint4 w[4]; + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i]^=B[i+4]); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + w[i] = (B[i+4]^=(B[i]+=w[i])); + +#pragma unroll + for(uint i=0; i<4; ++i) + { + w[0] ^= rotl(w[3] +w[2] , 7U); + w[1] ^= rotl(w[0] +w[3] , 9U); + w[2] ^= rotl(w[1] +w[0] ,13U); + w[3] ^= rotl(w[2] +w[1] ,18U); + w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U); + w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U); + w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U); + w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U); + } + +#pragma unroll + for(uint i=0; i<4; ++i) + B[i+4] += w[i]; +} + +#define Coord(x,y,z) x+y*(x ## SIZE)+z*(y ## SIZE)*(x ## SIZE) +#define CO Coord(z,x,y) + +void scrypt_core(uint4 X[8], __global uint4*restrict lookup) +{ + shittify(X); + const uint zSIZE = 8; + const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0)); + const uint xSIZE = CONCURRENT_THREADS; + uint x = get_global_id(0)%xSIZE; + + for(uint y=0; y<1024/LOOKUP_GAP; ++y) + { +#pragma unroll + for(uint z=0; z +#include +#include +#include + +#if defined(LINUX) + #include + #include + #include +#endif + +BoincHelper::BoincHelper() : + m_registered(false) +{ +#if defined(LINUX) + meminfo(); + + m_pageSize = sysconf(_SC_PAGE_SIZE); + + m_prevUpTime = 0; + m_boinc_tid = 0; + m_threadsNum = 0; + m_averageCPUUtilization = 0.0f; + m_totalMemoryUtilization = 0.0f; +#endif +} + +BoincHelper::~BoincHelper() +{ + unregisterBoinc(); +} + +BoincHelper &BoincHelper::instance() +{ + static BoincHelper inst; + + return inst; +} + +int BoincHelper::utilization() +{ +#if defined(WIN32) + if (!m_axObject) + { + return 0; + } + + return m_axObject->dynamicCall("BoincUtilization()").toInt(); +#elif defined(LINUX) + /* + Instantaneous CPU percentage is commonly desired, but is not tracked + by the kernel and is therefore not available anywhere procps can read. + Tracking a percentage has to be implemented in the application by taking + a snapshot, waiting a little while, and taking another snapshot to + learn the utime+stime spent during the interval. This is the reason why + top shows all CPU percentages as 0.0% when it starts, and corrects them + on the next interval. procps provides a convenient place to store the + CPU percentage, but does not implement it in the library. + */ + + PROCTAB *pt = openproc(PROC_FILLMEM | PROC_FILLSTAT | PROC_FILLSTATUS); + + if (!pt) + { + return 0; + } + + proc_t pi; + + memset(&pi, 0, sizeof(pi)); + + int up_time = uptime(0, 0); + int elapsed = up_time - m_prevUpTime; + + m_threadsNum = 0; + m_averageCPUUtilization = 0; + m_totalMemoryUtilization = 0; + + while (readproc(pt, &pi)) + { + QString cmd = pi.cmd; + + bool worker = false; + + if (cmd.compare("boinc") == 0) + { + if (m_boinc_tid != pi.tid) + { + m_processData.clear(); + m_boinc_tid = pi.tid; + m_threadsNum = 0; + } + } + else if (m_boinc_tid && pi.ppid == m_boinc_tid) + { + ++m_threadsNum; + worker = true; + } + else + { + continue; + } + + ProcessData &pd = m_processData[pi.tid]; + + pd.cmd = cmd; + pd.ppid = pi.ppid; + + unsigned long long cputime = pi.utime + pi.stime; + + if (worker && elapsed) + { + float utilization = float(cputime - pd.prev_cputime) / elapsed; + long memory = pi.resident * m_pageSize; // in bytes + + m_averageCPUUtilization += utilization; + m_totalMemoryUtilization += memory; + } + + pd.prev_cputime = cputime; + } + + if (m_threadsNum) + { + m_averageCPUUtilization /= m_threadsNum; + } + + m_prevUpTime = up_time; + + closeproc(pt); + + // usage logic + float usage_percent = qMin(75.0f, m_averageCPUUtilization); + float usage_memory = qMin(25.0f, m_totalMemoryUtilization); + + if (usage_percent <= 1.0f) + { + usage_memory = 0; + } + + usage_percent += usage_memory; + + return usage_percent; +#else +#warning Not implemented +#endif + + return 0; +} + +int BoincHelper::threads() +{ +#if defined(WIN32) + if (!m_axObject) + { + return 0; + } + + return m_axObject->dynamicCall("BoincThreads()").toInt(); +#elif defined(LINUX) + return m_threadsNum; +#else +#warning Not implemented +#endif + + return 0; +} + +QString BoincHelper::md5() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("BoincMD5()").toString(); +#elif defined(LINUX) + QCryptographicHash hash(QCryptographicHash::Md5); + + QFile f("/usr/bin/boinc"); + + if (!f.open(QIODevice::ReadOnly)) + { + return ""; + } + + hash.addData(f.readAll()); + + return hash.result().toHex(); +#else +#warning Not implemented +#endif + + return ""; +} + +int BoincHelper::version() +{ +#if defined(WIN32) + if (!m_axObject) + { + return 0; + } + + return m_axObject->dynamicCall("Version()").toInt(); +#elif defined(LINUX) + return 1; +#else +#warning Not implemented +#endif + + return 0; +} + +QString BoincHelper::authenticityString() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("BoincAuthenticityString()").toString(); +#elif defined(LINUX) + /* + '1. Retrieve the Boinc MD5 Hash + '2. Verify the boinc.exe contains the Berkeley source libraries + '3. Verify the exe is an official release + '4. Verify the size of the exe is above the threshhold + */ + + // -1 = Invalid Executable + // -2 = Failed Authenticity Check + // -3 = Failed library check + // -4 = Failed to Find boinc tray + // -10= Error during enumeration + // 1 = Success + + QFile f("/usr/bin/boinc"); + + if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) + { + return "-10"; + } + + if (f.size() < 758528 / 2) + { + return "-1"; + } + + const QByteArray &data = f.readAll(); + + if (!data.contains("http://boinc.berkeley.edu")) + { + return "-2"; + } + + // there is no "LIBEAY32.dll" and boinctray + + return "1"; +#else +#warning Not implemented +#endif + + return ""; +} + +bool BoincHelper::registered() const +{ + return m_registered; +} + +void BoincHelper::registerBoinc() +{ + if (m_registered) + { + return; + } + +#if defined(WIN32) + const QString appDirPath = QApplication::applicationDirPath() + "\\"; + + if (!QProcess::execute(appDirPath + "regtlibv12.exe", QStringList() << "boinc.tlb")) + { + return; + } + + if (!QProcess::execute(appDirPath + "regasm.exe", QStringList() << "boinc.dll")) + { + return; + } + + m_axObject = QSharedPointer(new QAxObject("Boinc.Utilization")); + + if (!m_axObject) + { + return; + } +#endif + + m_registered = true; +} + +void BoincHelper::unregisterBoinc() +{ + if (!m_registered) + { + return; + } + +#if defined(WIN32) + m_axObject.clear(); + + const QString appDirPath = QApplication::applicationDirPath() + "\\"; + + QProcess::execute(appDirPath + "regasm.exe", QStringList() << "boinc.dll" << "-u"); + QProcess::execute(appDirPath + "regtlibv12.exe", QStringList() << "boinc.tlb" << "-u"); +#endif + + m_registered = false; +} + +void BoincHelper::showEmailModule() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("ShowEmailModule()"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::showProjects() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("ShowProjects()"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::showMiningConsole() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("ShowMiningConsole()"); +#else +#warning Not implemented +#endif +} + +double BoincHelper::CPUPoW(const QString &pow) +{ +#if defined(WIN32) + if (!m_axObject) + { + return 0; + } + + return m_axObject->dynamicCall("CPUPoW(QString)", pow).toDouble(); +#else +#warning Not implemented +#endif + + return 0; +} + +QString BoincHelper::minedHash() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("MinedHash()").toString(); +#else +#warning Not implemented +#endif + + return ""; +} + +QString BoincHelper::sourceBlock() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("SourceBlock()").toString(); +#else +#warning Not implemented +#endif + + return ""; +} + +QString BoincHelper::deltaOverTime() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("BoincDeltaOverTime()").toString(); + +#else +#warning Not implemented +#endif + + return ""; +} + +void BoincHelper::setLastBlockHash(const QString &hash) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetLastBlockHash(QString)", hash); + +#else +#warning Not implemented +#endif +} + +void BoincHelper::setPublicWalletAddress(const QString &address) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetPublicWalletAddress(QString)", address); +#else +#warning Not implemented +#endif +} + +int BoincHelper::checkWork(const QString &lastBlockHash, const QString &greatBlockHash, + const QString &greatGrandParentsBlockHash, const QString &boinchash) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + return m_axObject->dynamicCall("CheckWork(QString,QString,QString,QString)", lastBlockHash, greatBlockHash, + greatGrandParentsBlockHash, boinchash).toInt(); +#else +#warning Not implemented +#endif + + return 0; +} + +void BoincHelper::closeGuiMiner() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("CloseGUIMiner()"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::showSql() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("ShowSql()"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::showLeaderBoard() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("ShowLeaderboard()"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::setNodes(const QString &nodesToString) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetNodes(QString), nodesToString"); +#else +#warning Not implemented +#endif +} + +int BoincHelper::retrieveSqlHighBlock() +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + return m_axObject->dynamicCall("RetrieveSqlHighBlock()").toInt(); +#else +#warning Not implemented +#endif + + return 0; +} + +void BoincHelper::setSqlBlock(const QString &blockAsString) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetSqlBlock(QString), blockAsString"); +#else +#warning Not implemented +#endif +} + +void BoincHelper::setBestBlock(int bestHeight) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetBestBlock(int), bestHeight"); +#else +#warning Not implemented +#endif +} + +QString BoincHelper::getWork() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("GetWork()").toString(); +#else +#warning Not implemented +#endif + + return ""; +} + +void BoincHelper::setWork(const QString &work) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SetWork(QString), work"); +#else +#warning Not implemented +#endif +} + +QString BoincHelper::retrieveSolvedBlockData() +{ +#if defined(WIN32) + if (!m_axObject) + { + return ""; + } + + return m_axObject->dynamicCall("RetrieveSolvedBlockData()").toString(); +#else +#warning Not implemented +#endif + + return ""; +} + +void BoincHelper::solvedBlockDataCallback(const QString &callback) +{ +#if defined(WIN32) + if (!m_axObject) + { + return; + } + + m_axObject->dynamicCall("SolvedBlockDataCallback(QString), callback"); +#else +#warning Not implemented +#endif +} diff --git a/src/boinc-cpp/boinchelper.h b/src/boinc-cpp/boinchelper.h new file mode 100644 index 0000000..1778947 --- /dev/null +++ b/src/boinc-cpp/boinchelper.h @@ -0,0 +1,87 @@ +#ifndef BOINCHELPER_H +#define BOINCHELPER_H + +#if defined(WIN32) + #include +#endif + +#include +#include +#include + +class BoincHelper +{ +public: + + static const float BoincMemoryFootprint = 5000000.0f; + + virtual ~BoincHelper(); + + static BoincHelper &instance(); + + int utilization(); + int threads(); + QString md5(); + int version(); + QString authenticityString(); + bool registered() const; + void registerBoinc(); + void unregisterBoinc(); + void showEmailModule(); + void showProjects(); + void showMiningConsole(); + double CPUPoW(const QString &pow); + QString minedHash(); + QString sourceBlock(); + QString deltaOverTime(); + void setLastBlockHash(const QString &hash); + void setPublicWalletAddress(const QString &address); + int checkWork(const QString &lastBlockHash, const QString &greatBlockHash, const QString &greatGrandParentsBlockHash, const QString &boinchash); + void closeGuiMiner(); + void showSql(); + void showLeaderBoard(); + void setNodes(const QString &nodesToString); + int retrieveSqlHighBlock(); + void setSqlBlock(const QString &blockAsString); + void setBestBlock(int bestHeight); + QString getWork(); + void setWork(const QString &work); + QString retrieveSolvedBlockData(); + void solvedBlockDataCallback(const QString &callback); + +protected: + + bool m_registered; + +#if defined(WIN32) + QSharedPointer m_axObject; +#elif defined(LINUX) + struct ProcessData + { + ProcessData() : + ppid(0), + prev_cputime(0) + { + } + + QString cmd; + int ppid; + unsigned long long prev_cputime; + }; + + int m_prevUpTime; + QMap m_processData; + int m_boinc_tid; + int m_threadsNum; + float m_averageCPUUtilization; + float m_totalMemoryUtilization; + long m_pageSize; +#endif + +private: + BoincHelper(); + BoincHelper(BoincHelper &); + BoincHelper &operator=(const BoincHelper &); +}; + +#endif // BOINCHELPER_H diff --git a/src/global_objects.hpp b/src/global_objects.hpp deleted file mode 100644 index 4fae26d..0000000 --- a/src/global_objects.hpp +++ /dev/null @@ -1,6 +0,0 @@ -extern QAxObject *globalcom; -extern QThread *mythread; - - - - diff --git a/src/gridcoin.cpp b/src/gridcoin.cpp index a7ecef2..c268739 100644 --- a/src/gridcoin.cpp +++ b/src/gridcoin.cpp @@ -10,46 +10,29 @@ #include #include #include -#include -#include -#include -#include + #include #include -#include -#include "global_objects.hpp" +#include using namespace std; class MyThread : public QThread - { - Q_OBJECT - - - - void run() { - - QString result; - - - - while (1==1) - - { - - printf("Processing"); - MilliSleep(2000); - - } - - } - signals: - void resultReady(const QString &s); - - - - }; - - - \ No newline at end of file +{ + Q_OBJECT + + void run() + { + QString result; + + while (1==1) + { + printf("Processing"); + MilliSleep(2000); + } + } + +signals: + void resultReady(const QString &s); +}; diff --git a/src/gridcoind.exe b/src/gridcoind.exe deleted file mode 100644 index 081a1a6..0000000 Binary files a/src/gridcoind.exe and /dev/null differ diff --git a/src/init.cpp b/src/init.cpp index 0251955..734418a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -18,8 +18,6 @@ #include #include - - #include "global_objects_noui.hpp" #ifndef WIN32 @@ -36,12 +34,6 @@ int CloseGuiMiner(); extern void RestartGridcoin3(); - - - - - - #ifdef WIN32 // Win32 LevelDB doesn't use filedescriptors, and the ones used for // accessing block files, don't count towards to fd_set size limit @@ -953,7 +945,7 @@ bool AppInit2() // If the loaded chain has a wrong genesis, bail out immediately // (we're likely using a testnet datadir, or the other way around). - if (1==1) { + if (1==1) { if (!mapBlockIndex.empty() && pindexGenesisBlock == NULL) return InitError(_("Incorrect or no genesis block found. Wrong datadir for network?")); } diff --git a/src/leveldb/.gitignore b/src/leveldb/.gitignore index 71d87a4..06ebda9 100644 --- a/src/leveldb/.gitignore +++ b/src/leveldb/.gitignore @@ -11,3 +11,4 @@ Release Debug Benchmark vs2010.* +memenv_test.exe \ No newline at end of file diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform old mode 100644 new mode 100755 diff --git a/src/leveldb/memenv_test.exe b/src/leveldb/memenv_test.exe deleted file mode 100644 index b47673f..0000000 Binary files a/src/leveldb/memenv_test.exe and /dev/null differ diff --git a/src/libeay32.dll b/src/libeay32.dll deleted file mode 100644 index e376600..0000000 Binary files a/src/libeay32.dll and /dev/null differ diff --git a/src/libgcc_s_dw2-1.dll b/src/libgcc_s_dw2-1.dll deleted file mode 100644 index 8870ba7..0000000 Binary files a/src/libgcc_s_dw2-1.dll and /dev/null differ diff --git a/src/libstdc++-6.dll b/src/libstdc++-6.dll deleted file mode 100644 index f8e6c78..0000000 Binary files a/src/libstdc++-6.dll and /dev/null differ diff --git a/src/litecoind.exe b/src/litecoind.exe deleted file mode 100644 index 0ff5f2b..0000000 Binary files a/src/litecoind.exe and /dev/null differ diff --git a/src/makefile.mingw b/src/makefile.mingw index bd65ce7..d42596d 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -105,8 +105,8 @@ OBJS= \ all: gridcoind.exe -test check: test_litecoin.exe FORCE - test_litecoin.exe +test check: test_gridcoin.exe FORCE + test_gridcoin.exe # # LevelDB support @@ -128,11 +128,11 @@ TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) obj-test/%.o: test/%.cpp $(HEADERS) $(CXX) -c $(TESTDEFS) $(CFLAGS) -o $@ $< -test_litecoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) +test_gridcoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ -lboost_unit_test_framework$(BOOST_SUFFIX) $(LIBS) clean: - rm -f litecoind.exe test_litecoin.exe + rm -f gridcoind.exe test_gridcoin.exe rm -f obj/* rm -f obj-test/* cd leveldb && $(MAKE) TARGET_OS=NATIVE_WINDOWS clean && cd .. diff --git a/src/makefile.mingw.bak b/src/makefile.mingw.bak deleted file mode 100644 index bd65ce7..0000000 --- a/src/makefile.mingw.bak +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright (c) 2009-2010 Satoshi Nakamoto -# Distributed under the MIT/X11 software license, see the accompanying -# file COPYING or http://www.opensource.org/licenses/mit-license.php. - -# Makefile for the MinGW g++ compiler/toolchain -# -# Assumes Berkeley DB, Boost, and OpenSSL have all been compiled and installed -# into /usr/local (/usr/local/include, /usr/local/lib). -# -# If dependencies are somewhere else, run 'make DEPSDIR=/path/' -# -# Boost libraries are given wacky names that include the particular version of -# boost you're using; set BOOST_SUFFIX appropriately. -# -# 'make clean' assumes it is running inside a MSYS shell, and uses 'rm' -# to remove files. - -CXX ?= g++ - -USE_UPNP?=- -USE_IPV6:=1 - -DEPSDIR?=/usr/local -BOOST_SUFFIX?=-mgw46-mt-sd-1_52 - -INCLUDEPATHS?= \ - -I"$(CURDIR)" \ - -I"$(DEPSDIR)/include" - -LIBPATHS?= \ - -L"$(CURDIR)/leveldb" \ - -L"$(DEPSDIR)/lib" - -LIBS= \ - -l leveldb \ - -l memenv \ - -l boost_system$(BOOST_SUFFIX) \ - -l boost_filesystem$(BOOST_SUFFIX) \ - -l boost_program_options$(BOOST_SUFFIX) \ - -l boost_thread$(BOOST_SUFFIX) \ - -l boost_chrono$(BOOST_SUFFIX) \ - -l db_cxx \ - -l ssl \ - -l crypto - -DEFS=-DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DEBUGFLAGS=-g -CFLAGS=${ADDITIONALCCFLAGS} -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) -# enable: ASLR, DEP and large address aware -LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware - -TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) - -ifndef USE_UPNP - override USE_UPNP = - -endif -ifneq (${USE_UPNP}, -) - LIBS += -l miniupnpc -l iphlpapi - DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP) -endif - -ifneq (${USE_IPV6}, -) - DEFS += -DUSE_IPV6=$(USE_IPV6) -endif - -LIBS += -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi - -# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are -HEADERS = $(wildcard *.h) - -OBJS= \ - leveldb/libleveldb.a \ - obj/alert.o \ - obj/version.o \ - obj/checkpoints.o \ - obj/netbase.o \ - obj/addrman.o \ - obj/crypter.o \ - obj/key.o \ - obj/db.o \ - obj/init.o \ - obj/keystore.o \ - obj/main.o \ - obj/net.o \ - obj/protocol.o \ - obj/bitcoinrpc.o \ - obj/rpcdump.o \ - obj/rpcnet.o \ - obj/rpcmining.o \ - obj/rpcwallet.o \ - obj/rpcblockchain.o \ - obj/rpcrawtransaction.o \ - obj/script.o \ - obj/scrypt.o \ - obj/sync.o \ - obj/util.o \ - obj/wallet.o \ - obj/walletdb.o \ - obj/hash.o \ - obj/bloom.o \ - obj/noui.o \ - obj/leveldb.o \ - obj/txdb.o - - -all: gridcoind.exe - -test check: test_litecoin.exe FORCE - test_litecoin.exe - -# -# LevelDB support -# -DEFS += $(addprefix -I,$(CURDIR)/leveldb/include) -DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers) - -leveldb/libleveldb.a: - cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(CFLAGS)" TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a && cd .. - -obj/%.o: %.cpp $(HEADERS) - $(CXX) -c $(CFLAGS) -o $@ $< - -gridcoind.exe: $(OBJS:obj/%=obj/%) - $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) - -TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) - -obj-test/%.o: test/%.cpp $(HEADERS) - $(CXX) -c $(TESTDEFS) $(CFLAGS) -o $@ $< - -test_litecoin.exe: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) - $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(LIBPATHS) $^ -lboost_unit_test_framework$(BOOST_SUFFIX) $(LIBS) - -clean: - rm -f litecoind.exe test_litecoin.exe - rm -f obj/* - rm -f obj-test/* - cd leveldb && $(MAKE) TARGET_OS=NATIVE_WINDOWS clean && cd .. - -FORCE: diff --git a/src/makefile.unix b/src/makefile.unix index 6b13b26..5661d79 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -145,10 +145,10 @@ OBJS= \ obj/txdb.o -all: litecoind +all: gridcoind -test check: test_litecoin FORCE - ./test_litecoin +test check: test_gridcoin FORCE + ./test_gridcoin # # LevelDB support @@ -176,7 +176,7 @@ obj/%.o: %.cpp -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ rm -f $(@:%.o=%.d) -litecoind: $(OBJS:obj/%=obj/%) +gridcoind: $(OBJS:obj/%=obj/%) $(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS) TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp)) @@ -188,11 +188,11 @@ obj-test/%.o: test/%.cpp -e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \ rm -f $(@:%.o=%.d) -test_litecoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) +test_gridcoin: $(TESTOBJS) $(filter-out obj/init.o,$(OBJS:obj/%=obj/%)) $(LINK) $(xCXXFLAGS) -o $@ $(LIBPATHS) $^ $(TESTLIBS) $(xLDFLAGS) $(LIBS) clean: - -rm -f litecoind test_litecoin + -rm -f gridcoind test_gridcoin -rm -f obj/*.o -rm -f obj-test/*.o -rm -f obj/*.P diff --git a/src/mingwm10.dll b/src/mingwm10.dll deleted file mode 100644 index e007a57..0000000 Binary files a/src/mingwm10.dll and /dev/null differ diff --git a/src/net.cpp b/src/net.cpp index 24a890d..8e3f2d0 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -17,10 +17,10 @@ #endif #ifdef USE_UPNP -#include -#include -#include -#include +#include +#include +#include +#include #endif // Dump addresses to peers.dat every 15 minutes (900s) diff --git a/src/net.cpp.bak b/src/net.cpp.bak deleted file mode 100644 index 24a890d..0000000 --- a/src/net.cpp.bak +++ /dev/null @@ -1,1940 +0,0 @@ -// Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2012 The Bitcoin developers -// Distributed under the MIT/X11 software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. - -#include "db.h" -#include "net.h" -#include "init.h" -#include "addrman.h" -#include "ui_interface.h" -#include "script.h" - -#include - -#ifdef WIN32 -#include -#endif - -#ifdef USE_UPNP -#include -#include -#include -#include -#endif - -// Dump addresses to peers.dat every 15 minutes (900s) -#define DUMP_ADDRESSES_INTERVAL 900 - -using namespace std; -using namespace boost; - - - -static const int MAX_OUTBOUND_CONNECTIONS = 16; - -bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); - - -struct LocalServiceInfo { - int nScore; - int nPort; -}; - -// -// Global state variables -// -bool fDiscover = true; -uint64 nLocalServices = NODE_NETWORK; -static CCriticalSection cs_mapLocalHost; - - - - - - - - -static map mapLocalHost; -static bool vfReachable[NET_MAX] = {}; -static bool vfLimited[NET_MAX] = {}; -static CNode* pnodeLocalHost = NULL; -static CNode* pnodeSync = NULL; -uint64 nLocalHostNonce = 0; -static std::vector vhListenSocket; -CAddrMan addrman; -int nMaxConnections = 125; - -vector vNodes; -CCriticalSection cs_vNodes; -map mapRelay; -deque > vRelayExpiration; -CCriticalSection cs_mapRelay; -limitedmap mapAlreadyAskedFor(MAX_INV_SZ); - -static deque vOneShots; -CCriticalSection cs_vOneShots; - -set setservAddNodeAddresses; -CCriticalSection cs_setservAddNodeAddresses; - -vector vAddedNodes; -CCriticalSection cs_vAddedNodes; - -static CSemaphore *semOutbound = NULL; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -void AddOneShot(string strDest) -{ - LOCK(cs_vOneShots); - vOneShots.push_back(strDest); -} - -unsigned short GetListenPort() -{ - return (unsigned short)(GetArg("-port", GetDefaultPort())); -} - -void CNode::PushGetBlocks(CBlockIndex* pindexBegin, uint256 hashEnd) -{ - // Filter out duplicate requests - if (pindexBegin == pindexLastGetBlocksBegin && hashEnd == hashLastGetBlocksEnd) - return; - pindexLastGetBlocksBegin = pindexBegin; - hashLastGetBlocksEnd = hashEnd; - - PushMessage("getblocks", CBlockLocator(pindexBegin), hashEnd); -} - -// find 'best' local address for a particular peer -bool GetLocal(CService& addr, const CNetAddr *paddrPeer) -{ - if (fNoListen) - return false; - - int nBestScore = -1; - int nBestReachability = -1; - { - LOCK(cs_mapLocalHost); - for (map::iterator it = mapLocalHost.begin(); it != mapLocalHost.end(); it++) - { - int nScore = (*it).second.nScore; - int nReachability = (*it).first.GetReachabilityFrom(paddrPeer); - if (nReachability > nBestReachability || (nReachability == nBestReachability && nScore > nBestScore)) - { - addr = CService((*it).first, (*it).second.nPort); - nBestReachability = nReachability; - nBestScore = nScore; - } - } - } - return nBestScore >= 0; -} - -// get best local address for a particular peer as a CAddress -CAddress GetLocalAddress(const CNetAddr *paddrPeer) -{ - CAddress ret(CService("0.0.0.0",0),0); - CService addr; - if (GetLocal(addr, paddrPeer)) - { - ret = CAddress(addr); - ret.nServices = nLocalServices; - ret.nTime = GetAdjustedTime(); - } - return ret; -} - -bool RecvLine(SOCKET hSocket, string& strLine) -{ - strLine = ""; - loop - { - char c; - int nBytes = recv(hSocket, &c, 1, 0); - if (nBytes > 0) - { - if (c == '\n') - continue; - if (c == '\r') - return true; - strLine += c; - if (strLine.size() >= 9000) - return true; - } - else if (nBytes <= 0) - { - boost::this_thread::interruption_point(); - if (nBytes < 0) - { - int nErr = WSAGetLastError(); - if (nErr == WSAEMSGSIZE) - continue; - if (nErr == WSAEWOULDBLOCK || nErr == WSAEINTR || nErr == WSAEINPROGRESS) - { - MilliSleep(10); - continue; - } - } - if (!strLine.empty()) - return true; - if (nBytes == 0) - { - // socket closed - printf("socket closed\n"); - return false; - } - else - { - // socket error - int nErr = WSAGetLastError(); - printf("recv failed: %d\n", nErr); - return false; - } - } - } -} - -// used when scores of local addresses may have changed -// pushes better local address to peers -void static AdvertizeLocal() -{ - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - { - if (pnode->fSuccessfullyConnected) - { - CAddress addrLocal = GetLocalAddress(&pnode->addr); - if (addrLocal.IsRoutable() && (CService)addrLocal != (CService)pnode->addrLocal) - { - pnode->PushAddress(addrLocal); - pnode->addrLocal = addrLocal; - } - } - } -} - -void SetReachable(enum Network net, bool fFlag) -{ - LOCK(cs_mapLocalHost); - vfReachable[net] = fFlag; - if (net == NET_IPV6 && fFlag) - vfReachable[NET_IPV4] = true; -} - -// learn a new local address -bool AddLocal(const CService& addr, int nScore) -{ - if (!addr.IsRoutable()) - return false; - - if (!fDiscover && nScore < LOCAL_MANUAL) - return false; - - if (IsLimited(addr)) - return false; - - printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore); - - { - LOCK(cs_mapLocalHost); - bool fAlready = mapLocalHost.count(addr) > 0; - LocalServiceInfo &info = mapLocalHost[addr]; - if (!fAlready || nScore >= info.nScore) { - info.nScore = nScore + (fAlready ? 1 : 0); - info.nPort = addr.GetPort(); - } - SetReachable(addr.GetNetwork()); - } - - AdvertizeLocal(); - - return true; -} - -bool AddLocal(const CNetAddr &addr, int nScore) -{ - return AddLocal(CService(addr, GetListenPort()), nScore); -} - -/** Make a particular network entirely off-limits (no automatic connects to it) */ -void SetLimited(enum Network net, bool fLimited) -{ - if (net == NET_UNROUTABLE) - return; - LOCK(cs_mapLocalHost); - vfLimited[net] = fLimited; -} - -bool IsLimited(enum Network net) -{ - LOCK(cs_mapLocalHost); - return vfLimited[net]; -} - -bool IsLimited(const CNetAddr &addr) -{ - return IsLimited(addr.GetNetwork()); -} - -/** vote for a local address */ -bool SeenLocal(const CService& addr) -{ - { - LOCK(cs_mapLocalHost); - if (mapLocalHost.count(addr) == 0) - return false; - mapLocalHost[addr].nScore++; - } - - AdvertizeLocal(); - - return true; -} - -/** check whether a given address is potentially local */ -bool IsLocal(const CService& addr) -{ - LOCK(cs_mapLocalHost); - return mapLocalHost.count(addr) > 0; -} - -/** check whether a given address is in a network we can probably connect to */ -bool IsReachable(const CNetAddr& addr) -{ - LOCK(cs_mapLocalHost); - enum Network net = addr.GetNetwork(); - return vfReachable[net] && !vfLimited[net]; -} - -bool GetMyExternalIP2(const CService& addrConnect, const char* pszGet, const char* pszKeyword, CNetAddr& ipRet) -{ - SOCKET hSocket; - if (!ConnectSocket(addrConnect, hSocket)) - return error("GetMyExternalIP() : connection to %s failed", addrConnect.ToString().c_str()); - - send(hSocket, pszGet, strlen(pszGet), MSG_NOSIGNAL); - - string strLine; - while (RecvLine(hSocket, strLine)) - { - if (strLine.empty()) // HTTP response is separated from headers by blank line - { - loop - { - if (!RecvLine(hSocket, strLine)) - { - closesocket(hSocket); - return false; - } - if (pszKeyword == NULL) - break; - if (strLine.find(pszKeyword) != string::npos) - { - strLine = strLine.substr(strLine.find(pszKeyword) + strlen(pszKeyword)); - break; - } - } - closesocket(hSocket); - if (strLine.find("<") != string::npos) - strLine = strLine.substr(0, strLine.find("<")); - strLine = strLine.substr(strspn(strLine.c_str(), " \t\n\r")); - while (strLine.size() > 0 && isspace(strLine[strLine.size()-1])) - strLine.resize(strLine.size()-1); - CService addr(strLine,0,true); - printf("GetMyExternalIP() received [%s] %s\n", strLine.c_str(), addr.ToString().c_str()); - if (!addr.IsValid() || !addr.IsRoutable()) - return false; - ipRet.SetIP(addr); - return true; - } - } - closesocket(hSocket); - return error("GetMyExternalIP() : connection closed"); -} - -bool GetMyExternalIP(CNetAddr& ipRet) -{ - CService addrConnect; - const char* pszGet; - const char* pszKeyword; - - for (int nLookup = 0; nLookup <= 1; nLookup++) - for (int nHost = 1; nHost <= 2; nHost++) - { - // We should be phasing out our use of sites like these. If we need - // replacements, we should ask for volunteers to put this simple - // php file on their web server that prints the client IP: - // - if (nHost == 1) - { - addrConnect = CService("91.198.22.70", 80); // checkip.dyndns.org - - if (nLookup == 1) - { - CService addrIP("checkip.dyndns.org", 80, true); - if (addrIP.IsValid()) - addrConnect = addrIP; - } - - pszGet = "GET / HTTP/1.1\r\n" - "Host: checkip.dyndns.org\r\n" - "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n" - "Connection: close\r\n" - "\r\n"; - - pszKeyword = "Address:"; - } - else if (nHost == 2) - { - addrConnect = CService("74.208.43.192", 80); // www.showmyip.com - - if (nLookup == 1) - { - CService addrIP("www.showmyip.com", 80, true); - if (addrIP.IsValid()) - addrConnect = addrIP; - } - - pszGet = "GET /simple/ HTTP/1.1\r\n" - "Host: www.showmyip.com\r\n" - "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n" - "Connection: close\r\n" - "\r\n"; - - pszKeyword = NULL; // Returns just IP address - } - - if (GetMyExternalIP2(addrConnect, pszGet, pszKeyword, ipRet)) - return true; - } - - return false; -} - -void ThreadGetMyExternalIP(void* parg) -{ - // Make this thread recognisable as the external IP detection thread - RenameThread("bitcoin-ext-ip"); - printf("Getting IP"); - - CNetAddr addrLocalHost; - if (GetMyExternalIP(addrLocalHost)) - { - printf("GetMyExternalIP() returned %s\n", addrLocalHost.ToStringIP().c_str()); - AddLocal(addrLocalHost, LOCAL_HTTP); - } -} - - - - - -void AddressCurrentlyConnected(const CService& addr) -{ - addrman.Connected(addr); -} - - - - - - - -CNode* FindNode(const CNetAddr& ip) -{ - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - if ((CNetAddr)pnode->addr == ip) - return (pnode); - return NULL; -} - -CNode* FindNode(std::string addrName) -{ - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - if (pnode->addrName == addrName) - return (pnode); - return NULL; -} - -CNode* FindNode(const CService& addr) -{ - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - if ((CService)pnode->addr == addr) - return (pnode); - return NULL; -} - -CNode* ConnectNode(CAddress addrConnect, const char *pszDest) -{ - if (pszDest == NULL) { - if (IsLocal(addrConnect)) - return NULL; - - // Look for an existing connection - CNode* pnode = FindNode((CService)addrConnect); - if (pnode) - { - pnode->AddRef(); - return pnode; - } - } - - - - printf("trying connection %s lastseen=%.1fhrs\n", - pszDest ? pszDest : addrConnect.ToString().c_str(), - pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0); - - // Connect - SOCKET hSocket; - if (pszDest ? ConnectSocketByName(addrConnect, hSocket, pszDest, GetDefaultPort()) : ConnectSocket(addrConnect, hSocket)) - { - addrman.Attempt(addrConnect); - - /// debug print - printf("connected %s\n", pszDest ? pszDest : addrConnect.ToString().c_str()); - - // Set to non-blocking -#ifdef WIN32 - u_long nOne = 1; - if (ioctlsocket(hSocket, FIONBIO, &nOne) == SOCKET_ERROR) - printf("ConnectSocket() : ioctlsocket non-blocking setting failed, error %d\n", WSAGetLastError()); -#else - if (fcntl(hSocket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR) - printf("ConnectSocket() : fcntl non-blocking setting failed, error %d\n", errno); -#endif - - // Add node - CNode* pnode = new CNode(hSocket, addrConnect, pszDest ? pszDest : "", false); - pnode->AddRef(); - - { - LOCK(cs_vNodes); - vNodes.push_back(pnode); - } - - pnode->nTimeConnected = GetTime(); - return pnode; - } - else - { - return NULL; - } -} - -void CNode::CloseSocketDisconnect() -{ - fDisconnect = true; - if (hSocket != INVALID_SOCKET) - { - printf("disconnecting node %s\n", addrName.c_str()); - closesocket(hSocket); - hSocket = INVALID_SOCKET; - } - - // in case this fails, we'll empty the recv buffer when the CNode is deleted - TRY_LOCK(cs_vRecvMsg, lockRecv); - if (lockRecv) - vRecvMsg.clear(); - - // if this was the sync node, we'll need a new one - if (this == pnodeSync) - pnodeSync = NULL; -} - -void CNode::Cleanup() -{ -} - - -void CNode::PushVersion() -{ - /// when NTP implemented, change to just nTime = GetAdjustedTime() - int64 nTime = (fInbound ? GetAdjustedTime() : GetTime()); - CAddress addrYou = (addr.IsRoutable() && !IsProxy(addr) ? addr : CAddress(CService("0.0.0.0",0))); - CAddress addrMe = GetLocalAddress(&addr); - RAND_bytes((unsigned char*)&nLocalHostNonce, sizeof(nLocalHostNonce)); - printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str()); - PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe, - nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector()), nBestHeight); - - - - -} - - - - - -std::map CNode::setBanned; -CCriticalSection CNode::cs_setBanned; - -void CNode::ClearBanned() -{ - setBanned.clear(); -} - -bool CNode::IsBanned(CNetAddr ip) -{ - bool fResult = false; - { - LOCK(cs_setBanned); - std::map::iterator i = setBanned.find(ip); - if (i != setBanned.end()) - { - int64 t = (*i).second; - if (GetTime() < t) - fResult = true; - } - } - return fResult; -} - -bool CNode::Misbehaving(int howmuch) -{ - if (addr.IsLocal()) - { - printf("Warning: Local node %s misbehaving (delta: %d)!\n", addrName.c_str(), howmuch); - return false; - } - - nMisbehavior += howmuch; - if (nMisbehavior >= GetArg("-banscore", 100)) - { - int64 banTime = GetTime()+GetArg("-bantime", 60*60*24); // Default 24-hour ban - printf("Misbehaving: %s (%d -> %d) DISCONNECTING\n", addr.ToString().c_str(), nMisbehavior-howmuch, nMisbehavior); - { - LOCK(cs_setBanned); - if (setBanned[addr] < banTime) - setBanned[addr] = banTime; - } - CloseSocketDisconnect(); - return true; - } else - printf("Misbehaving: %s (%d -> %d)\n", addr.ToString().c_str(), nMisbehavior-howmuch, nMisbehavior); - return false; -} - -#undef X -#define X(name) stats.name = name -void CNode::copyStats(CNodeStats &stats) -{ - X(nServices); - X(nLastSend); - X(nLastRecv); - X(nTimeConnected); - X(addrName); - X(nVersion); - X(strSubVer); - X(fInbound); - X(nStartingHeight); - X(nMisbehavior); - X(nSendBytes); - X(nRecvBytes); - X(nBlocksRequested); - stats.fSyncNode = (this == pnodeSync); -} -#undef X - -// requires LOCK(cs_vRecvMsg) -bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes) -{ - while (nBytes > 0) { - - // get current incomplete message, or create a new one - if (vRecvMsg.empty() || - vRecvMsg.back().complete()) - vRecvMsg.push_back(CNetMessage(SER_NETWORK, nRecvVersion)); - - CNetMessage& msg = vRecvMsg.back(); - - // absorb network data - int handled; - if (!msg.in_data) - handled = msg.readHeader(pch, nBytes); - else - handled = msg.readData(pch, nBytes); - - if (handled < 0) - return false; - - pch += handled; - nBytes -= handled; - } - - return true; -} - -int CNetMessage::readHeader(const char *pch, unsigned int nBytes) -{ - // copy data to temporary parsing buffer - unsigned int nRemaining = 24 - nHdrPos; - unsigned int nCopy = std::min(nRemaining, nBytes); - - memcpy(&hdrbuf[nHdrPos], pch, nCopy); - nHdrPos += nCopy; - - // if header incomplete, exit - if (nHdrPos < 24) - return nCopy; - - // deserialize to CMessageHeader - try { - hdrbuf >> hdr; - } - catch (std::exception &e) { - return -1; - } - - // reject messages larger than MAX_SIZE - if (hdr.nMessageSize > MAX_SIZE) - return -1; - - // switch state to reading message data - in_data = true; - vRecv.resize(hdr.nMessageSize); - - return nCopy; -} - -int CNetMessage::readData(const char *pch, unsigned int nBytes) -{ - unsigned int nRemaining = hdr.nMessageSize - nDataPos; - unsigned int nCopy = std::min(nRemaining, nBytes); - - memcpy(&vRecv[nDataPos], pch, nCopy); - nDataPos += nCopy; - - return nCopy; -} - - - - - - - - - -// requires LOCK(cs_vSend) -void SocketSendData(CNode *pnode) -{ - std::deque::iterator it = pnode->vSendMsg.begin(); - - while (it != pnode->vSendMsg.end()) { - const CSerializeData &data = *it; - assert(data.size() > pnode->nSendOffset); - int nBytes = send(pnode->hSocket, &data[pnode->nSendOffset], data.size() - pnode->nSendOffset, MSG_NOSIGNAL | MSG_DONTWAIT); - if (nBytes > 0) { - pnode->nLastSend = GetTime(); - pnode->nSendBytes += nBytes; - pnode->nSendOffset += nBytes; - if (pnode->nSendOffset == data.size()) { - pnode->nSendOffset = 0; - pnode->nSendSize -= data.size(); - it++; - } else { - // could not send full message; stop sending more - break; - } - } else { - if (nBytes < 0) { - // error - int nErr = WSAGetLastError(); - if (nErr != WSAEWOULDBLOCK && nErr != WSAEMSGSIZE && nErr != WSAEINTR && nErr != WSAEINPROGRESS) - { - printf("socket send error %d\n", nErr); - pnode->CloseSocketDisconnect(); - } - } - // couldn't send anything at all - break; - } - } - - if (it == pnode->vSendMsg.end()) { - assert(pnode->nSendOffset == 0); - assert(pnode->nSendSize == 0); - } - pnode->vSendMsg.erase(pnode->vSendMsg.begin(), it); -} - -static list vNodesDisconnected; - -void ThreadSocketHandler() -{ - unsigned int nPrevNodeCount = 0; - loop - { - // - // Disconnect nodes - // - { - LOCK(cs_vNodes); - // Disconnect unused nodes - vector vNodesCopy = vNodes; - BOOST_FOREACH(CNode* pnode, vNodesCopy) - { - if (pnode->fDisconnect || - (pnode->GetRefCount() <= 0 && pnode->vRecvMsg.empty() && pnode->nSendSize == 0 && pnode->ssSend.empty())) - { - // remove from vNodes - vNodes.erase(remove(vNodes.begin(), vNodes.end(), pnode), vNodes.end()); - - // release outbound grant (if any) - pnode->grantOutbound.Release(); - - // close socket and cleanup - pnode->CloseSocketDisconnect(); - pnode->Cleanup(); - - // hold in disconnected pool until all refs are released - if (pnode->fNetworkNode || pnode->fInbound) - pnode->Release(); - vNodesDisconnected.push_back(pnode); - } - } - - // Delete disconnected nodes - list vNodesDisconnectedCopy = vNodesDisconnected; - BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy) - { - // wait until threads are done using it - if (pnode->GetRefCount() <= 0) - { - bool fDelete = false; - { - TRY_LOCK(pnode->cs_vSend, lockSend); - if (lockSend) - { - TRY_LOCK(pnode->cs_vRecvMsg, lockRecv); - if (lockRecv) - { - TRY_LOCK(pnode->cs_inventory, lockInv); - if (lockInv) - fDelete = true; - } - } - } - if (fDelete) - { - vNodesDisconnected.remove(pnode); - delete pnode; - } - } - } - } - if (vNodes.size() != nPrevNodeCount) - { - nPrevNodeCount = vNodes.size(); - uiInterface.NotifyNumConnectionsChanged(vNodes.size()); - } - - - // - // Find which sockets have data to receive - // - struct timeval timeout; - timeout.tv_sec = 0; - timeout.tv_usec = 50000; // frequency to poll pnode->vSend - - fd_set fdsetRecv; - fd_set fdsetSend; - fd_set fdsetError; - FD_ZERO(&fdsetRecv); - FD_ZERO(&fdsetSend); - FD_ZERO(&fdsetError); - SOCKET hSocketMax = 0; - bool have_fds = false; - - BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) { - FD_SET(hListenSocket, &fdsetRecv); - hSocketMax = max(hSocketMax, hListenSocket); - have_fds = true; - } - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - { - if (pnode->hSocket == INVALID_SOCKET) - continue; - FD_SET(pnode->hSocket, &fdsetError); - hSocketMax = max(hSocketMax, pnode->hSocket); - have_fds = true; - - // Implement the following logic: - // * If there is data to send, select() for sending data. As this only - // happens when optimistic write failed, we choose to first drain the - // write buffer in this case before receiving more. This avoids - // needlessly queueing received data, if the remote peer is not themselves - // receiving data. This means properly utilizing TCP flow control signalling. - // * Otherwise, if there is no (complete) message in the receive buffer, - // or there is space left in the buffer, select() for receiving data. - // * (if neither of the above applies, there is certainly one message - // in the receiver buffer ready to be processed). - // Together, that means that at least one of the following is always possible, - // so we don't deadlock: - // * We send some data. - // * We wait for data to be received (and disconnect after timeout). - // * We process a message in the buffer (message handler thrd). - { - TRY_LOCK(pnode->cs_vSend, lockSend); - if (lockSend && !pnode->vSendMsg.empty()) { - FD_SET(pnode->hSocket, &fdsetSend); - continue; - } - } - { - TRY_LOCK(pnode->cs_vRecvMsg, lockRecv); - if (lockRecv && ( - pnode->vRecvMsg.empty() || !pnode->vRecvMsg.front().complete() || - pnode->GetTotalRecvSize() <= ReceiveFloodSize())) - FD_SET(pnode->hSocket, &fdsetRecv); - } - } - } - - int nSelect = select(have_fds ? hSocketMax + 1 : 0, - &fdsetRecv, &fdsetSend, &fdsetError, &timeout); - boost::this_thread::interruption_point(); - - if (nSelect == SOCKET_ERROR) - { - if (have_fds) - { - int nErr = WSAGetLastError(); - printf("socket select error %d\n", nErr); - for (unsigned int i = 0; i <= hSocketMax; i++) - FD_SET(i, &fdsetRecv); - } - FD_ZERO(&fdsetSend); - FD_ZERO(&fdsetError); - MilliSleep(timeout.tv_usec/1000); - } - - - // - // Accept new connections - // - BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) - if (hListenSocket != INVALID_SOCKET && FD_ISSET(hListenSocket, &fdsetRecv)) - { -#ifdef USE_IPV6 - struct sockaddr_storage sockaddr; -#else - struct sockaddr sockaddr; -#endif - socklen_t len = sizeof(sockaddr); - SOCKET hSocket = accept(hListenSocket, (struct sockaddr*)&sockaddr, &len); - CAddress addr; - int nInbound = 0; - - if (hSocket != INVALID_SOCKET) - if (!addr.SetSockAddr((const struct sockaddr*)&sockaddr)) - printf("Warning: Unknown socket family\n"); - - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - if (pnode->fInbound) - nInbound++; - } - - if (hSocket == INVALID_SOCKET) - { - int nErr = WSAGetLastError(); - if (nErr != WSAEWOULDBLOCK) - printf("socket error accept failed: %d\n", nErr); - } - else if (nInbound >= nMaxConnections - MAX_OUTBOUND_CONNECTIONS) - { - { - LOCK(cs_setservAddNodeAddresses); - if (!setservAddNodeAddresses.count(addr)) - closesocket(hSocket); - } - } - else if (CNode::IsBanned(addr)) - { - printf("connection from %s dropped (banned)\n", addr.ToString().c_str()); - closesocket(hSocket); - } - else - { - printf("accepted connection %s\n", addr.ToString().c_str()); - CNode* pnode = new CNode(hSocket, addr, "", true); - pnode->AddRef(); - { - LOCK(cs_vNodes); - vNodes.push_back(pnode); - } - } - } - - - // - // Service each socket - // - vector vNodesCopy; - { - LOCK(cs_vNodes); - vNodesCopy = vNodes; - BOOST_FOREACH(CNode* pnode, vNodesCopy) - pnode->AddRef(); - } - BOOST_FOREACH(CNode* pnode, vNodesCopy) - { - boost::this_thread::interruption_point(); - - // - // Receive - // - if (pnode->hSocket == INVALID_SOCKET) - continue; - if (FD_ISSET(pnode->hSocket, &fdsetRecv) || FD_ISSET(pnode->hSocket, &fdsetError)) - { - TRY_LOCK(pnode->cs_vRecvMsg, lockRecv); - if (lockRecv) - { - { - // typical socket buffer is 8K-64K - char pchBuf[0x10000]; - int nBytes = recv(pnode->hSocket, pchBuf, sizeof(pchBuf), MSG_DONTWAIT); - if (nBytes > 0) - { - if (!pnode->ReceiveMsgBytes(pchBuf, nBytes)) - pnode->CloseSocketDisconnect(); - pnode->nLastRecv = GetTime(); - pnode->nRecvBytes += nBytes; - } - else if (nBytes == 0) - { - // socket closed gracefully - if (!pnode->fDisconnect) - printf("socket closed\n"); - pnode->CloseSocketDisconnect(); - } - else if (nBytes < 0) - { - // error - int nErr = WSAGetLastError(); - if (nErr != WSAEWOULDBLOCK && nErr != WSAEMSGSIZE && nErr != WSAEINTR && nErr != WSAEINPROGRESS) - { - if (!pnode->fDisconnect) - printf("socket recv error %d\n", nErr); - pnode->CloseSocketDisconnect(); - } - } - } - } - } - - // - // Send - // - if (pnode->hSocket == INVALID_SOCKET) - continue; - if (FD_ISSET(pnode->hSocket, &fdsetSend)) - { - TRY_LOCK(pnode->cs_vSend, lockSend); - if (lockSend) - SocketSendData(pnode); - } - - // - // Inactivity checking - // - if (pnode->vSendMsg.empty()) - pnode->nLastSendEmpty = GetTime(); - if (GetTime() - pnode->nTimeConnected > 60) - { - if (pnode->nLastRecv == 0 || pnode->nLastSend == 0) - { - printf("socket no message in first 60 seconds, %d %d\n", pnode->nLastRecv != 0, pnode->nLastSend != 0); - pnode->fDisconnect = true; - } - else if (GetTime() - pnode->nLastSend > 90*60 && GetTime() - pnode->nLastSendEmpty > 90*60) - { - printf("socket not sending\n"); - pnode->fDisconnect = true; - } - else if (GetTime() - pnode->nLastRecv > 90*60) - { - printf("socket inactivity timeout\n"); - pnode->fDisconnect = true; - } - } - } - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodesCopy) - pnode->Release(); - } - - MilliSleep(10); - } -} - - - - - - - - - -#ifdef USE_UPNP -void ThreadMapPort() -{ - std::string port = strprintf("%u", GetListenPort()); - const char * multicastif = 0; - const char * minissdpdpath = 0; - struct UPNPDev * devlist = 0; - char lanaddr[64]; - -#ifndef UPNPDISCOVER_SUCCESS - /* miniupnpc 1.5 */ - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); -#else - /* miniupnpc 1.6 */ - int error = 0; - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); -#endif - - struct UPNPUrls urls; - struct IGDdatas data; - int r; - - r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr)); - if (r == 1) - { - if (fDiscover) { - char externalIPAddress[40]; - r = UPNP_GetExternalIPAddress(urls.controlURL, data.first.servicetype, externalIPAddress); - if(r != UPNPCOMMAND_SUCCESS) - printf("UPnP: GetExternalIPAddress() returned %d\n", r); - else - { - if(externalIPAddress[0]) - { - printf("UPnP: ExternalIPAddress = %s\n", externalIPAddress); - AddLocal(CNetAddr(externalIPAddress), LOCAL_UPNP); - } - else - printf("UPnP: GetExternalIPAddress failed.\n"); - } - } - - string strDesc = "Gridcoin " + FormatFullVersion(); - - try { - loop { -#ifndef UPNPDISCOVER_SUCCESS - /* miniupnpc 1.5 */ - r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0); -#else - /* miniupnpc 1.6 */ - r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, - port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0, "0"); -#endif - - if(r!=UPNPCOMMAND_SUCCESS) - printf("AddPortMapping(%s, %s, %s) failed with code %d (%s)\n", - port.c_str(), port.c_str(), lanaddr, r, strupnperror(r)); - else - printf("UPnP Port Mapping successful.\n");; - - MilliSleep(20*60*1000); // Refresh every 20 minutes - } - } - catch (boost::thread_interrupted) - { - r = UPNP_DeletePortMapping(urls.controlURL, data.first.servicetype, port.c_str(), "TCP", 0); - printf("UPNP_DeletePortMapping() returned : %d\n", r); - freeUPNPDevlist(devlist); devlist = 0; - FreeUPNPUrls(&urls); - throw; - } - } else { - printf("No valid UPnP IGDs found\n"); - freeUPNPDevlist(devlist); devlist = 0; - if (r != 0) - FreeUPNPUrls(&urls); - } -} - -void MapPort(bool fUseUPnP) -{ - static boost::thread* upnp_thread = NULL; - - if (fUseUPnP) - { - if (upnp_thread) { - upnp_thread->interrupt(); - upnp_thread->join(); - delete upnp_thread; - } - upnp_thread = new boost::thread(boost::bind(&TraceThread >, "upnp", &ThreadMapPort)); - } - else if (upnp_thread) { - upnp_thread->interrupt(); - upnp_thread->join(); - delete upnp_thread; - upnp_thread = NULL; - } -} - -#else -void MapPort(bool) -{ - // Intentionally left blank. -} -#endif - - - - - - - - - -// DNS seeds -// Each pair gives a source name and a seed name. -// The first name is used as information source for addrman. -// The second name should resolve to a list of seed addresses. -static const char *strMainNetDNSSeed[][2] = { - {"gridcoin.us", "dnsseed.gridcoin.us"}, - {NULL, NULL} -}; - -static const char *strTestNetDNSSeed[][2] = { - {"gridcointools.com", "testnet-seed.gridcointools.com"}, - {NULL, NULL} -}; - -void ThreadDNSAddressSeed() -{ - static const char *(*strDNSSeed)[2] = fTestNet ? strTestNetDNSSeed : strMainNetDNSSeed; - int found = 0; - - printf("Loading addresses from DNS seeds (could take a while)\n"); - - for (unsigned int seed_idx = 0; strDNSSeed[seed_idx][0] != NULL; seed_idx++) { - if (HaveNameProxy()) { - AddOneShot(strDNSSeed[seed_idx][1]); - } else { - vector vaddr; - vector vAdd; - if (LookupHost(strDNSSeed[seed_idx][1], vaddr)) - { - BOOST_FOREACH(CNetAddr& ip, vaddr) - { - int nOneDay = 24*3600; - CAddress addr = CAddress(CService(ip, GetDefaultPort())); - addr.nTime = GetTime() - 3*nOneDay - GetRand(4*nOneDay); // use a random age between 3 and 7 days old - vAdd.push_back(addr); - found++; - } - } - addrman.Add(vAdd, CNetAddr(strDNSSeed[seed_idx][0], true)); - } - } - - printf("%d addresses found from DNS seeds\n", found); -} - - - - - - - - -unsigned int pnSeed[] = -{ - 0xC0A80128 , 0xC0A80133 -}; - -void DumpAddresses() -{ - int64 nStart = GetTimeMillis(); - - CAddrDB adb; - adb.Write(addrman); - - printf("Flushed %d addresses to peers.dat %"PRI64d"ms\n", - addrman.size(), GetTimeMillis() - nStart); -} - -void static ProcessOneShot() -{ - string strDest; - { - LOCK(cs_vOneShots); - if (vOneShots.empty()) - return; - strDest = vOneShots.front(); - vOneShots.pop_front(); - } - CAddress addr; - CSemaphoreGrant grant(*semOutbound, true); - if (grant) { - if (!OpenNetworkConnection(addr, &grant, strDest.c_str(), true)) - AddOneShot(strDest); - } -} - -void ThreadOpenConnections() -{ - // Connect to specific addresses - if (mapArgs.count("-connect") && mapMultiArgs["-connect"].size() > 0) - { - for (int64 nLoop = 0;; nLoop++) - { - ProcessOneShot(); - BOOST_FOREACH(string strAddr, mapMultiArgs["-connect"]) - { - CAddress addr; - OpenNetworkConnection(addr, NULL, strAddr.c_str()); - for (int i = 0; i < 10 && i < nLoop; i++) - { - MilliSleep(500); - } - } - MilliSleep(500); - } - } - - // Initiate network connections - int64 nStart = GetTime(); - loop - { - ProcessOneShot(); - - MilliSleep(500); - - CSemaphoreGrant grant(*semOutbound); - boost::this_thread::interruption_point(); - - // Add seed nodes if IRC isn't working - if (addrman.size()==0 && (GetTime() - nStart > 60) && !fTestNet) - { - std::vector vAdd; - for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++) - { - // It'll only connect to one or two seed nodes because once it connects, - // it'll get a pile of addresses with newer timestamps. - // Seed nodes are given a random 'last seen time' of between one and two - // weeks ago. - const int64 nOneWeek = 7*24*60*60; - struct in_addr ip; - memcpy(&ip, &pnSeed[i], sizeof(ip)); - CAddress addr(CService(ip, GetDefaultPort())); - addr.nTime = GetTime()-GetRand(nOneWeek)-nOneWeek; - vAdd.push_back(addr); - } - addrman.Add(vAdd, CNetAddr("127.0.0.1")); - } - - // - // Choose an address to connect to based on most recently seen - // - CAddress addrConnect; - - // Only connect out to one peer per network group (/16 for IPv4). - // Do this here so we don't have to critsect vNodes inside mapAddresses critsect. - int nOutbound = 0; - set > setConnected; - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) { - if (!pnode->fInbound) { - setConnected.insert(pnode->addr.GetGroup()); - nOutbound++; - } - } - } - - int64 nANow = GetAdjustedTime(); - - int nTries = 0; - loop - { - // use an nUnkBias between 10 (no outgoing connections) and 90 (8 outgoing connections) - CAddress addr = addrman.Select(10 + min(nOutbound,8)*10); - - // if we selected an invalid address, restart - if (!addr.IsValid() || setConnected.count(addr.GetGroup()) || IsLocal(addr)) - break; - - // If we didn't find an appropriate destination after trying 100 addresses fetched from addrman, - // stop this loop, and let the outer loop run again (which sleeps, adds seed nodes, recalculates - // already-connected network ranges, ...) before trying new addrman addresses. - nTries++; - if (nTries > 100) - break; - - if (IsLimited(addr)) - continue; - - // only consider very recently tried nodes after 50 failed attempts - //Gridcoin changing to 500: - if (nANow - addr.nLastTry < 600 && nTries < 500) - continue; - - // do not allow non-default ports, unless after 2050 invalid addresses selected already - if (addr.GetPort() != GetDefaultPort() && nTries < 2050) - continue; - - addrConnect = addr; - break; - } - - if (addrConnect.IsValid()) - OpenNetworkConnection(addrConnect, &grant); - } -} - -void ThreadOpenAddedConnections() -{ - { - LOCK(cs_vAddedNodes); - vAddedNodes = mapMultiArgs["-addnode"]; - } - - if (HaveNameProxy()) { - while(true) { - list lAddresses(0); - { - LOCK(cs_vAddedNodes); - BOOST_FOREACH(string& strAddNode, vAddedNodes) - lAddresses.push_back(strAddNode); - } - BOOST_FOREACH(string& strAddNode, lAddresses) { - CAddress addr; - CSemaphoreGrant grant(*semOutbound); - OpenNetworkConnection(addr, &grant, strAddNode.c_str()); - MilliSleep(500); - } - MilliSleep(120000); // Retry every 2 minutes - } - } - - for (unsigned int i = 0; true; i++) - { - list lAddresses(0); - { - LOCK(cs_vAddedNodes); - BOOST_FOREACH(string& strAddNode, vAddedNodes) - lAddresses.push_back(strAddNode); - } - - list > lservAddressesToAdd(0); - BOOST_FOREACH(string& strAddNode, lAddresses) - { - vector vservNode(0); - if(Lookup(strAddNode.c_str(), vservNode, GetDefaultPort(), fNameLookup, 0)) - { - lservAddressesToAdd.push_back(vservNode); - { - LOCK(cs_setservAddNodeAddresses); - BOOST_FOREACH(CService& serv, vservNode) - setservAddNodeAddresses.insert(serv); - } - } - } - // Attempt to connect to each IP for each addnode entry until at least one is successful per addnode entry - // (keeping in mind that addnode entries can have many IPs if fNameLookup) - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - for (list >::iterator it = lservAddressesToAdd.begin(); it != lservAddressesToAdd.end(); it++) - BOOST_FOREACH(CService& addrNode, *(it)) - if (pnode->addr == addrNode) - { - it = lservAddressesToAdd.erase(it); - it--; - break; - } - } - BOOST_FOREACH(vector& vserv, lservAddressesToAdd) - { - CSemaphoreGrant grant(*semOutbound); - OpenNetworkConnection(CAddress(vserv[i % vserv.size()]), &grant); - MilliSleep(500); - } - MilliSleep(120000); // Retry every 2 minutes - } -} - -// if successful, this moves the passed grant to the constructed node -bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound, const char *strDest, bool fOneShot) -{ - // - // Initiate outbound network connection - // - boost::this_thread::interruption_point(); - if (!strDest) - if (IsLocal(addrConnect) || - FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) || - FindNode(addrConnect.ToStringIPPort().c_str())) - return false; - if (strDest && FindNode(strDest)) - return false; - - CNode* pnode = ConnectNode(addrConnect, strDest); - boost::this_thread::interruption_point(); - - if (!pnode) - return false; - if (grantOutbound) - grantOutbound->MoveTo(pnode->grantOutbound); - pnode->fNetworkNode = true; - if (fOneShot) - pnode->fOneShot = true; - - return true; -} - - -// for now, use a very simple selection metric: the node from which we received -// most recently -double static NodeSyncScore(const CNode *pnode) { - return -pnode->nLastRecv; -} - -void static StartSync(const vector &vNodes) { - CNode *pnodeNewSync = NULL; - double dBestScore = 0; - - // fImporting and fReindex are accessed out of cs_main here, but only - // as an optimization - they are checked again in SendMessages. - if (fImporting || fReindex) - return; - - // Iterate over all nodes - BOOST_FOREACH(CNode* pnode, vNodes) { - // check preconditions for allowing a sync - if (!pnode->fClient && !pnode->fOneShot && - !pnode->fDisconnect && pnode->fSuccessfullyConnected && - (pnode->nStartingHeight > (nBestHeight - 144)) && - (pnode->nVersion < NOBLKS_VERSION_START || pnode->nVersion >= NOBLKS_VERSION_END)) { - // if ok, compare node's score with the best so far - double dScore = NodeSyncScore(pnode); - if (pnodeNewSync == NULL || dScore > dBestScore) { - pnodeNewSync = pnode; - dBestScore = dScore; - } - } - } - // if a new sync candidate was found, start sync! - if (pnodeNewSync) { - pnodeNewSync->fStartSync = true; - pnodeSync = pnodeNewSync; - } -} - -void ThreadMessageHandler() -{ - SetThreadPriority(THREAD_PRIORITY_BELOW_NORMAL); - while (true) - { - bool fHaveSyncNode = false; - - - - vector vNodesCopy; - { - LOCK(cs_vNodes); - vNodesCopy = vNodes; - BOOST_FOREACH(CNode* pnode, vNodesCopy) { - pnode->AddRef(); - if (pnode == pnodeSync) - fHaveSyncNode = true; - } - } - - if (!fHaveSyncNode) - StartSync(vNodesCopy); - - // Poll the connected nodes for messages - CNode* pnodeTrickle = NULL; - if (!vNodesCopy.empty()) - pnodeTrickle = vNodesCopy[GetRand(vNodesCopy.size())]; - BOOST_FOREACH(CNode* pnode, vNodesCopy) - { - if (pnode->fDisconnect) - continue; - - // Receive messages - { - TRY_LOCK(pnode->cs_vRecvMsg, lockRecv); - if (lockRecv) - if (!ProcessMessages(pnode)) - pnode->CloseSocketDisconnect(); - } - boost::this_thread::interruption_point(); - - // Send messages - { - TRY_LOCK(pnode->cs_vSend, lockSend); - if (lockSend) - SendMessages(pnode, pnode == pnodeTrickle); - } - boost::this_thread::interruption_point(); - } - - { - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodesCopy) - pnode->Release(); - } - - MilliSleep(100); - } -} - - - - - - -bool BindListenPort(const CService &addrBind, string& strError) -{ - strError = ""; - int nOne = 1; - - // Create socket for listening for incoming connections -#ifdef USE_IPV6 - struct sockaddr_storage sockaddr; -#else - struct sockaddr sockaddr; -#endif - socklen_t len = sizeof(sockaddr); - if (!addrBind.GetSockAddr((struct sockaddr*)&sockaddr, &len)) - { - strError = strprintf("Error: bind address family for %s not supported", addrBind.ToString().c_str()); - printf("%s\n", strError.c_str()); - return false; - } - - SOCKET hListenSocket = socket(((struct sockaddr*)&sockaddr)->sa_family, SOCK_STREAM, IPPROTO_TCP); - if (hListenSocket == INVALID_SOCKET) - { - strError = strprintf("Error: Couldn't open socket for incoming connections (socket returned error %d)", WSAGetLastError()); - printf("%s\n", strError.c_str()); - return false; - } - -#ifdef SO_NOSIGPIPE - // Different way of disabling SIGPIPE on BSD - setsockopt(hListenSocket, SOL_SOCKET, SO_NOSIGPIPE, (void*)&nOne, sizeof(int)); -#endif - -#ifndef WIN32 - // Allow binding if the port is still in TIME_WAIT state after - // the program was closed and restarted. Not an issue on windows. - setsockopt(hListenSocket, SOL_SOCKET, SO_REUSEADDR, (void*)&nOne, sizeof(int)); -#endif - - -#ifdef WIN32 - // Set to non-blocking, incoming connections will also inherit this - if (ioctlsocket(hListenSocket, FIONBIO, (u_long*)&nOne) == SOCKET_ERROR) -#else - if (fcntl(hListenSocket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR) -#endif - { - strError = strprintf("Error: Couldn't set properties on socket for incoming connections (error %d)", WSAGetLastError()); - printf("%s\n", strError.c_str()); - return false; - } - -#ifdef USE_IPV6 - // some systems don't have IPV6_V6ONLY but are always v6only; others do have the option - // and enable it by default or not. Try to enable it, if possible. - if (addrBind.IsIPv6()) { -#ifdef IPV6_V6ONLY - setsockopt(hListenSocket, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&nOne, sizeof(int)); -#endif -#ifdef WIN32 - int nProtLevel = 10 /* PROTECTION_LEVEL_UNRESTRICTED */; - int nParameterId = 23 /* IPV6_PROTECTION_LEVEl */; - // this call is allowed to fail - setsockopt(hListenSocket, IPPROTO_IPV6, nParameterId, (const char*)&nProtLevel, sizeof(int)); -#endif - } -#endif - - if (::bind(hListenSocket, (struct sockaddr*)&sockaddr, len) == SOCKET_ERROR) - { - int nErr = WSAGetLastError(); - if (nErr == WSAEADDRINUSE) - strError = strprintf(_("Unable to bind to %s on this computer. Gridcoin is probably already running."), addrBind.ToString().c_str()); - else - strError = strprintf(_("Unable to bind to %s on this computer (bind returned error %d, %s)"), addrBind.ToString().c_str(), nErr, strerror(nErr)); - printf("%s\n", strError.c_str()); - return false; - } - printf("Bound to %s\n", addrBind.ToString().c_str()); - - // Listen for incoming connections - if (listen(hListenSocket, SOMAXCONN) == SOCKET_ERROR) - { - strError = strprintf("Error: Listening for incoming connections failed (listen returned error %d)", WSAGetLastError()); - printf("%s\n", strError.c_str()); - return false; - } - - vhListenSocket.push_back(hListenSocket); - - if (addrBind.IsRoutable() && fDiscover) - AddLocal(addrBind, LOCAL_BIND); - - return true; -} - -void static Discover() -{ - if (!fDiscover) - return; - -#ifdef WIN32 - // Get local host IP - char pszHostName[1000] = ""; - if (gethostname(pszHostName, sizeof(pszHostName)) != SOCKET_ERROR) - { - vector vaddr; - if (LookupHost(pszHostName, vaddr)) - { - BOOST_FOREACH (const CNetAddr &addr, vaddr) - { - AddLocal(addr, LOCAL_IF); - } - } - } -#else - // Get local host ip - struct ifaddrs* myaddrs; - if (getifaddrs(&myaddrs) == 0) - { - for (struct ifaddrs* ifa = myaddrs; ifa != NULL; ifa = ifa->ifa_next) - { - if (ifa->ifa_addr == NULL) continue; - if ((ifa->ifa_flags & IFF_UP) == 0) continue; - if (strcmp(ifa->ifa_name, "lo") == 0) continue; - if (strcmp(ifa->ifa_name, "lo0") == 0) continue; - if (ifa->ifa_addr->sa_family == AF_INET) - { - struct sockaddr_in* s4 = (struct sockaddr_in*)(ifa->ifa_addr); - CNetAddr addr(s4->sin_addr); - if (AddLocal(addr, LOCAL_IF)) - printf("IPv4 %s: %s\n", ifa->ifa_name, addr.ToString().c_str()); - } -#ifdef USE_IPV6 - else if (ifa->ifa_addr->sa_family == AF_INET6) - { - struct sockaddr_in6* s6 = (struct sockaddr_in6*)(ifa->ifa_addr); - CNetAddr addr(s6->sin6_addr); - if (AddLocal(addr, LOCAL_IF)) - printf("IPv6 %s: %s\n", ifa->ifa_name, addr.ToString().c_str()); - } -#endif - } - freeifaddrs(myaddrs); - } -#endif - - // Don't use external IPv4 discovery, when -onlynet="IPv6" - if (!IsLimited(NET_IPV4)) - NewThread(ThreadGetMyExternalIP, NULL); -} - -void StartNode() -{ - - - //Global Start Node - - - if (semOutbound == NULL) { - // initialize semaphore - int nMaxOutbound = min(MAX_OUTBOUND_CONNECTIONS, nMaxConnections); - semOutbound = new CSemaphore(nMaxOutbound); - } - - if (pnodeLocalHost == NULL) - pnodeLocalHost = new CNode(INVALID_SOCKET, CAddress(CService("127.0.0.1", 0), nLocalServices)); - - Discover(); - - // - // Start threads - Gridcoin - - // - // TURN ON DNS SEEDS - - if (!GetBoolArg("-dnsseed", true)) - printf("DNS seeding disabled\n"); - else - threadGroup.create_thread(boost::bind(&TraceThread >, "dnsseed", &ThreadDNSAddressSeed)); - -#ifdef USE_UPNP - // Map ports with UPnP - MapPort(GetBoolArg("-upnp", USE_UPNP)); -#endif - - // Send and receive from sockets, accept connections - - threadGroup.create_thread(boost::bind(&TraceThread, "net", &ThreadSocketHandler)); - - // Initiate outbound connections from -addnode - threadGroup.create_thread(boost::bind(&TraceThread, "addcon", &ThreadOpenAddedConnections)); - - // Initiate outbound connections - threadGroup.create_thread(boost::bind(&TraceThread, "opencon", &ThreadOpenConnections)); - - // Process messages - threadGroup.create_thread(boost::bind(&TraceThread, "msghand", &ThreadMessageHandler)); - - // Dump network addresses - threadGroup.create_thread(boost::bind(&LoopForever, "dumpaddr", &DumpAddresses, DUMP_ADDRESSES_INTERVAL * 1000)); -} - -bool StopNode() -{ - printf("StopNode()\n"); - MapPort(false); - nTransactionsUpdated++; - if (semOutbound) - for (int i=0; ipost(); - MilliSleep(50); - DumpAddresses(); - - return true; -} - -class CNetCleanup -{ -public: - CNetCleanup() - { - } - ~CNetCleanup() - { - // Close sockets - BOOST_FOREACH(CNode* pnode, vNodes) - if (pnode->hSocket != INVALID_SOCKET) - closesocket(pnode->hSocket); - BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) - if (hListenSocket != INVALID_SOCKET) - if (closesocket(hListenSocket) == SOCKET_ERROR) - printf("closesocket(hListenSocket) failed with error %d\n", WSAGetLastError()); - - // clean up some globals (to help leak detection) - BOOST_FOREACH(CNode *pnode, vNodes) - delete pnode; - BOOST_FOREACH(CNode *pnode, vNodesDisconnected) - delete pnode; - vNodes.clear(); - vNodesDisconnected.clear(); - delete semOutbound; - semOutbound = NULL; - delete pnodeLocalHost; - pnodeLocalHost = NULL; - -#ifdef WIN32 - // Shutdown Windows Sockets - WSACleanup(); - -#endif - } -} -instance_of_cnetcleanup; - - - - - - - -void RelayTransaction(const CTransaction& tx, const uint256& hash) -{ - CDataStream ss(SER_NETWORK, PROTOCOL_VERSION); - ss.reserve(10000); - ss << tx; - RelayTransaction(tx, hash, ss); -} - -void RelayTransaction(const CTransaction& tx, const uint256& hash, const CDataStream& ss) -{ - CInv inv(MSG_TX, hash); - { - LOCK(cs_mapRelay); - // Expire old relay messages - while (!vRelayExpiration.empty() && vRelayExpiration.front().first < GetTime()) - { - mapRelay.erase(vRelayExpiration.front().second); - vRelayExpiration.pop_front(); - } - - // Save original serialized message so newer versions are preserved - mapRelay.insert(std::make_pair(inv, ss)); - vRelayExpiration.push_back(std::make_pair(GetTime() + 15 * 60, inv)); - } - LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - { - if(!pnode->fRelayTxes) - continue; - LOCK(pnode->cs_filter); - if (pnode->pfilter) - { - if (pnode->pfilter->IsRelevantAndUpdate(tx, hash)) - pnode->PushInventory(inv); - } else - pnode->PushInventory(inv); - } -} - - - diff --git a/src/net.h b/src/net.h index 6c530da..4ea8505 100644 --- a/src/net.h +++ b/src/net.h @@ -8,6 +8,9 @@ #include #include #include + +// openssl/rand.h includes windows.h, which includes winsock.h which we don't want to be included +#define WIN32_LEAN_AND_MEAN #include #ifndef WIN32 diff --git a/build/.gitignore b/src/obj/.gitignore similarity index 100% rename from build/.gitignore rename to src/obj/.gitignore diff --git a/src/obj/addrman.o b/src/obj/addrman.o deleted file mode 100644 index 14fbecc..0000000 Binary files a/src/obj/addrman.o and /dev/null differ diff --git a/src/obj/alert.o b/src/obj/alert.o deleted file mode 100644 index c1ef6d1..0000000 Binary files a/src/obj/alert.o and /dev/null differ diff --git a/src/obj/bitcoinrpc.o b/src/obj/bitcoinrpc.o deleted file mode 100644 index 05ee130..0000000 Binary files a/src/obj/bitcoinrpc.o and /dev/null differ diff --git a/src/obj/bloom.o b/src/obj/bloom.o deleted file mode 100644 index ee7a09d..0000000 Binary files a/src/obj/bloom.o and /dev/null differ diff --git a/src/obj/checkpoints.o b/src/obj/checkpoints.o deleted file mode 100644 index 7b810c3..0000000 Binary files a/src/obj/checkpoints.o and /dev/null differ diff --git a/src/obj/crypter.o b/src/obj/crypter.o deleted file mode 100644 index 7c76de3..0000000 Binary files a/src/obj/crypter.o and /dev/null differ diff --git a/src/obj/db.o b/src/obj/db.o deleted file mode 100644 index 8672fce..0000000 Binary files a/src/obj/db.o and /dev/null differ diff --git a/src/obj/hash.o b/src/obj/hash.o deleted file mode 100644 index d9294db..0000000 Binary files a/src/obj/hash.o and /dev/null differ diff --git a/src/obj/init.o b/src/obj/init.o deleted file mode 100644 index 1db538e..0000000 Binary files a/src/obj/init.o and /dev/null differ diff --git a/src/obj/key.o b/src/obj/key.o deleted file mode 100644 index d6531a2..0000000 Binary files a/src/obj/key.o and /dev/null differ diff --git a/src/obj/keystore.o b/src/obj/keystore.o deleted file mode 100644 index 9da0560..0000000 Binary files a/src/obj/keystore.o and /dev/null differ diff --git a/src/obj/leveldb.o b/src/obj/leveldb.o deleted file mode 100644 index f7086b6..0000000 Binary files a/src/obj/leveldb.o and /dev/null differ diff --git a/src/obj/main.o b/src/obj/main.o deleted file mode 100644 index 618afcf..0000000 Binary files a/src/obj/main.o and /dev/null differ diff --git a/src/obj/net.o b/src/obj/net.o deleted file mode 100644 index 1c21d5b..0000000 Binary files a/src/obj/net.o and /dev/null differ diff --git a/src/obj/netbase.o b/src/obj/netbase.o deleted file mode 100644 index baba9c1..0000000 Binary files a/src/obj/netbase.o and /dev/null differ diff --git a/src/obj/noui.o b/src/obj/noui.o deleted file mode 100644 index 4b2e60a..0000000 Binary files a/src/obj/noui.o and /dev/null differ diff --git a/src/obj/protocol.o b/src/obj/protocol.o deleted file mode 100644 index 4e806ce..0000000 Binary files a/src/obj/protocol.o and /dev/null differ diff --git a/src/obj/rpcblockchain.o b/src/obj/rpcblockchain.o deleted file mode 100644 index c26e68a..0000000 Binary files a/src/obj/rpcblockchain.o and /dev/null differ diff --git a/src/obj/rpcdump.o b/src/obj/rpcdump.o deleted file mode 100644 index ad92b60..0000000 Binary files a/src/obj/rpcdump.o and /dev/null differ diff --git a/src/obj/rpcmining.o b/src/obj/rpcmining.o deleted file mode 100644 index 7b47f03..0000000 Binary files a/src/obj/rpcmining.o and /dev/null differ diff --git a/src/obj/rpcnet.o b/src/obj/rpcnet.o deleted file mode 100644 index 6f82a17..0000000 Binary files a/src/obj/rpcnet.o and /dev/null differ diff --git a/src/obj/rpcrawtransaction.o b/src/obj/rpcrawtransaction.o deleted file mode 100644 index 6b7a1d7..0000000 Binary files a/src/obj/rpcrawtransaction.o and /dev/null differ diff --git a/src/obj/rpcwallet.o b/src/obj/rpcwallet.o deleted file mode 100644 index 1b3b7dd..0000000 Binary files a/src/obj/rpcwallet.o and /dev/null differ diff --git a/src/obj/script.o b/src/obj/script.o deleted file mode 100644 index 8ac32dd..0000000 Binary files a/src/obj/script.o and /dev/null differ diff --git a/src/obj/scrypt.o b/src/obj/scrypt.o deleted file mode 100644 index 0cdda97..0000000 Binary files a/src/obj/scrypt.o and /dev/null differ diff --git a/src/obj/sync.o b/src/obj/sync.o deleted file mode 100644 index 76c6011..0000000 Binary files a/src/obj/sync.o and /dev/null differ diff --git a/src/obj/txdb.o b/src/obj/txdb.o deleted file mode 100644 index 72b7545..0000000 Binary files a/src/obj/txdb.o and /dev/null differ diff --git a/src/obj/util.o b/src/obj/util.o deleted file mode 100644 index 5dc3f9a..0000000 Binary files a/src/obj/util.o and /dev/null differ diff --git a/src/obj/version.o b/src/obj/version.o deleted file mode 100644 index bed83b9..0000000 Binary files a/src/obj/version.o and /dev/null differ diff --git a/src/obj/wallet.o b/src/obj/wallet.o deleted file mode 100644 index 4ebe8e1..0000000 Binary files a/src/obj/wallet.o and /dev/null differ diff --git a/src/obj/walletdb.o b/src/obj/walletdb.o deleted file mode 100644 index 026f5f0..0000000 Binary files a/src/obj/walletdb.o and /dev/null differ diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp index 4f229cf..a97c591 100644 --- a/src/qt/aboutdialog.cpp +++ b/src/qt/aboutdialog.cpp @@ -3,19 +3,9 @@ #include "clientmodel.h" #include "clientversion.h" -#include -#include -#include -#include -#include -#include -#include "uint256.h" -#include "base58.h" -#include "../global_objects.hpp" -#include "../global_objects_noui.hpp" +#include "global_objects_noui.hpp" -// Forward declarations: const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013; AboutDialog::AboutDialog(QWidget *parent) : @@ -26,20 +16,10 @@ AboutDialog::AboutDialog(QWidget *parent) : // Set current copyright year and boinc utilization QString cr = "Copyright 2009-2013 The Bitcoin/Litecoin/Gridcoin developers"; - std::string sBoincUtilization=""; - sBoincUtilization = strprintf("%d",nBoincUtilization); - QString qsUtilization = QString::fromUtf8(sBoincUtilization.c_str()); - QString qsRegVersion = QString::fromUtf8(sRegVer.c_str()); - ui->copyrightLabel->setText("Boinc Utilization: " + qsUtilization + " " + ", Registered Version: " + qsRegVersion + " " + cr); - - + QString qsRegVersion = QString::fromUtf8(sRegVer.c_str()); + ui->copyrightLabel->setText("Boinc Utilization: " + QString::number(nBoincUtilization) + " " + ", Registered Version: " + qsRegVersion + " " + cr); } - - - - - void AboutDialog::setModel(ClientModel *model) { if(model) @@ -55,12 +35,6 @@ AboutDialog::~AboutDialog() void AboutDialog::on_buttonBox_accepted() { - std::string s1 = "Notepad.exe"; close(); } - - - - - diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index b877552..66fbb4f 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -28,9 +28,6 @@ #include #include -//#include "global_objects.hpp" - - #ifdef Q_OS_MAC #include "macdockiconhandler.h" #endif diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index c782cb7..58f3803 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -6,16 +6,12 @@ */ #include -#include -#include -#include #include #include "bitcoingui.h" -#include "..\global_objects.hpp" -#include "..\global_objects_noui.hpp" +#include "global_objects_noui.hpp" #include "transactiontablemodel.h" #include "optionsdialog.h" @@ -68,7 +64,7 @@ #include -using namespace std; +#include "boinc-cpp/boinchelper.h" const QString BitcoinGUI::DEFAULT_WALLET = "~Default"; int nTick = 0; @@ -94,8 +90,6 @@ void FlushGridcoinBlockFile(bool fFinalize); extern int ReindexBlocks(); bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAddSize, unsigned int nHeight, uint64 nTime, bool fKnown); -QAxObject *globalcom; - int cputick = 0; @@ -210,7 +204,9 @@ extern int CheckCPUWorkByBlock(int blocknumber); int CheckCPUWork(std::string lastblockhash, std::string greatblockhash, std::string greatgrandparentsblockhash, std::string boinchash) { - //+1 Valid + BoincHelper &helper = BoincHelper::instance(); + + //+1 Valid //-1 CPU Hash does not contain gridcoin block hash //-2 CPU Source Hash Invalid //-10 Boinc Hash Invalid @@ -224,6 +220,8 @@ int CheckCPUWork(std::string lastblockhash, std::string greatblockhash, std::str QString h2 = QString::fromUtf8(greatblockhash.c_str()); QString h3 = QString::fromUtf8(greatgrandparentsblockhash.c_str()); QString h4 = QString::fromUtf8(boinchash.c_str()); + + /* //Gridcoin start new instance; if (globalcom==NULL) { printf("globalcom==null"); @@ -239,8 +237,9 @@ int CheckCPUWork(std::string lastblockhash, std::string greatblockhash, std::str //globalcom = new QAxObject("Boinc.Utilization"); } if (globalcom==NULL) return -30; + */ - result = globalcom->dynamicCall("CheckWork(QString,QString,QString,QString)",h1,h2,h3,h4).toInt(); + result = helper.checkWork(h1, h2, h3, h4); return result; } @@ -432,44 +431,65 @@ int CheckCPUWorkByCurrentBlock(std::string boinchash, int nBlockHeight) int ReindexWallet() { - QString sFilename = "GRCRestarter.exe"; - QString sArgument = ""; - QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; - QProcess p; - globalcom->dynamicCall("ReindexWallet()"); - StartShutdown(); - return 1; +#if defined(WIN32) + QString sFilename = "GRCRestarter.exe"; + QString sArgument = ""; + QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; + QProcess p; + globalcom->dynamicCall("ReindexWallet()"); + StartShutdown(); + + return 1; +#else +#warning Not implemented +#endif + + return 0; } int RestartClient() { - QString sFilename = "GRCRestarter.exe"; - QString sArgument = ""; - QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; - QProcess p; - globalcom->dynamicCall("RestartWallet()"); - StartShutdown(); - return 1; +#if defined(WIN32) + QString sFilename = "GRCRestarter.exe"; + QString sArgument = ""; + QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; + QProcess p; + globalcom->dynamicCall("RestartWallet()"); + StartShutdown(); + + return 1; +#else +#warning Not implemented +#endif + + return 0; } int UpgradeClient() { - QString sFilename = "GRCRestarter.exe"; - QString sArgument = "upgrade"; - QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; - QProcess p; - globalcom->dynamicCall("UpgradeWallet()"); - StartShutdown(); - return 1; +#if defined(WIN32) + QString sFilename = "GRCRestarter.exe"; + QString sArgument = "upgrade"; + QString path = QCoreApplication::applicationDirPath() + "\\" + sFilename; + QProcess p; + globalcom->dynamicCall("UpgradeWallet()"); + StartShutdown(); + + return 1; +#else +#warning Not implemented +#endif + + return 0; } int CloseGuiMiner() { try { - globalcom->dynamicCall("CloseGUIMiner()"); + BoincHelper::instance().closeGuiMiner(); } catch(...) { return 0; } return 1; @@ -536,31 +556,33 @@ void BitcoinGUI::createActions() aboutAction->setStatusTip(tr("Show information about Gridcoin")); aboutAction->setMenuRole(QAction::AboutRole); - miningAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Mining Console"), this); - miningAction->setStatusTip(tr("Go to the mining console")); - miningAction->setMenuRole(QAction::TextHeuristicRole); - projectsAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Projects Console"), this); - projectsAction->setStatusTip(tr("Go to the projects console")); - projectsAction->setMenuRole(QAction::TextHeuristicRole); +#if defined(WIN32) + miningAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Mining Console"), this); + miningAction->setStatusTip(tr("Go to the mining console")); + miningAction->setMenuRole(QAction::TextHeuristicRole); + projectsAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Projects Console"), this); + projectsAction->setStatusTip(tr("Go to the projects console")); + projectsAction->setMenuRole(QAction::TextHeuristicRole); emailAction = new QAction(QIcon(":/icons/bitcoin"), tr("&E-Mail Center"), this); emailAction->setStatusTip(tr("Go to the E-Mail center")); emailAction->setMenuRole(QAction::TextHeuristicRole); - rebuildAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Rebuild Block Chain"), this); - rebuildAction->setStatusTip(tr("Rebuild Block Chain")); - rebuildAction->setMenuRole(QAction::TextHeuristicRole); + rebuildAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Rebuild Block Chain"), this); + rebuildAction->setStatusTip(tr("Rebuild Block Chain")); + rebuildAction->setMenuRole(QAction::TextHeuristicRole); - sqlAction = new QAction(QIcon(":/icons/bitcoin"), tr("&SQL Query Analyzer"), this); - sqlAction->setStatusTip(tr("SQL Query Analyzer")); - sqlAction->setMenuRole(QAction::TextHeuristicRole); + sqlAction = new QAction(QIcon(":/icons/bitcoin"), tr("&SQL Query Analyzer"), this); + sqlAction->setStatusTip(tr("SQL Query Analyzer")); + sqlAction->setMenuRole(QAction::TextHeuristicRole); - leaderboardAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Leaderboard"), this); - leaderboardAction->setStatusTip(tr("Leaderboard")); - leaderboardAction->setMenuRole(QAction::TextHeuristicRole); + leaderboardAction = new QAction(QIcon(":/icons/bitcoin"), tr("&Leaderboard"), this); + leaderboardAction->setStatusTip(tr("Leaderboard")); + leaderboardAction->setMenuRole(QAction::TextHeuristicRole); +#endif aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this); aboutQtAction->setStatusTip(tr("Show information about Qt")); @@ -597,13 +619,15 @@ void BitcoinGUI::createActions() connect(changePassphraseAction, SIGNAL(triggered()), walletFrame, SLOT(changePassphrase())); connect(signMessageAction, SIGNAL(triggered()), this, SLOT(gotoSignMessageTab())); connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(gotoVerifyMessageTab())); - connect(miningAction, SIGNAL(triggered()), this, SLOT(miningClicked())); + +#if defined(WIN32) + connect(miningAction, SIGNAL(triggered()), this, SLOT(miningClicked())); connect(emailAction, SIGNAL(triggered()), this, SLOT(emailClicked())); - connect(projectsAction, SIGNAL(triggered()), this, SLOT(projectsClicked())); - connect(rebuildAction, SIGNAL(triggered()), this, SLOT(rebuildClicked())); - connect(sqlAction, SIGNAL(triggered()), this, SLOT(sqlClicked())); - connect(leaderboardAction, SIGNAL(triggered()), this, SLOT(leaderboardClicked())); - + connect(projectsAction, SIGNAL(triggered()), this, SLOT(projectsClicked())); + connect(rebuildAction, SIGNAL(triggered()), this, SLOT(rebuildClicked())); + connect(sqlAction, SIGNAL(triggered()), this, SLOT(sqlClicked())); + connect(leaderboardAction, SIGNAL(triggered()), this, SLOT(leaderboardClicked())); +#endif } void BitcoinGUI::createMenuBar() @@ -636,32 +660,33 @@ void BitcoinGUI::createMenuBar() help->addAction(aboutAction); help->addAction(aboutQtAction); - QMenu *mining = appMenuBar->addMenu(tr("&Mining")); + +#if defined(WIN32) + QMenu *mining = appMenuBar->addMenu(tr("&Mining")); mining->addSeparator(); mining->addAction(miningAction); - - QMenu *email = appMenuBar->addMenu(tr("&E-Mail")); - email->addSeparator(); - email->addAction(emailAction); - - QMenu *projects = appMenuBar->addMenu(tr("&Projects")); + + QMenu *projects = appMenuBar->addMenu(tr("&Projects")); projects->addSeparator(); projects->addAction(projectsAction); + QMenu *email = appMenuBar->addMenu(tr("&E-Mail")); + email->addSeparator(); + email->addAction(emailAction); - QMenu *rebuild = appMenuBar->addMenu(tr("&Rebuild Block Chain")); - rebuild->addSeparator(); - rebuild->addAction(rebuildAction); + QMenu *rebuild = appMenuBar->addMenu(tr("&Rebuild Block Chain")); + rebuild->addSeparator(); + rebuild->addAction(rebuildAction); - - QMenu *sql = appMenuBar->addMenu(tr("&SQL Query Analyzer")); - sql->addSeparator(); - sql->addAction(sqlAction); - QMenu *leaderboard = appMenuBar->addMenu(tr("&Leaderboard")); - leaderboard->addSeparator(); - leaderboard->addAction(leaderboardAction); + QMenu *sql = appMenuBar->addMenu(tr("&SQL Query Analyzer")); + sql->addSeparator(); + sql->addAction(sqlAction); + QMenu *leaderboard = appMenuBar->addMenu(tr("&Leaderboard")); + leaderboard->addSeparator(); + leaderboard->addAction(leaderboardAction); +#endif } void BitcoinGUI::createToolBars() @@ -834,16 +859,9 @@ void BitcoinGUI::aboutClicked() dlg.exec(); } - void BitcoinGUI::emailClicked() { - //Launch the Email Center - if (globalcom==NULL) { - globalcom = new QAxObject("Boinc.Utilization"); - } - - globalcom->dynamicCall("ShowEmailModule()"); - + BoincHelper::instance().showEmailModule(); } void BitcoinGUI::rebuildClicked() @@ -853,47 +871,22 @@ void BitcoinGUI::rebuildClicked() void BitcoinGUI::projectsClicked() { - - if (globalcom==NULL) { - globalcom = new QAxObject("Boinc.Utilization"); - } - - globalcom->dynamicCall("ShowProjects()"); + BoincHelper::instance().showProjects(); } - - void BitcoinGUI::sqlClicked() { - - if (globalcom==NULL) { - globalcom = new QAxObject("Boinc.Utilization"); - } - - globalcom->dynamicCall("ShowSql()"); + BoincHelper::instance().showSql(); } void BitcoinGUI::leaderboardClicked() { - - if (globalcom==NULL) { - globalcom = new QAxObject("Boinc.Utilization"); - } - - globalcom->dynamicCall("ShowLeaderboard()"); + BoincHelper::instance().showLeaderBoard(); } - - void BitcoinGUI::miningClicked() { - - if (globalcom==NULL) { - globalcom = new QAxObject("Boinc.Utilization"); - } - - globalcom->dynamicCall("ShowMiningConsole()"); - + BoincHelper::instance().showMiningConsole(); } void BitcoinGUI::gotoOverviewPage() @@ -1275,10 +1268,6 @@ void BitcoinGUI::toggleHidden() showNormalIfMinimized(true); } - - - - int ReindexBlocks() { @@ -1287,9 +1276,6 @@ int ReindexBlocks() } - - - int ReindexBlocks_Old() { @@ -1342,9 +1328,6 @@ int ReindexBlocks_Old() } - - - void UpdateCPUPoW() { cputick++; @@ -1356,10 +1339,12 @@ void UpdateCPUPoW() try { + BoincHelper &helper = BoincHelper::instance(); + //For each CPU miner, verify PoW int inum=0; - for(map::iterator ii=cpupow.begin(); ii!=cpupow.end(); ++ii) + for(std::map::iterator ii=cpupow.begin(); ii!=cpupow.end(); ++ii) { MiningEntry ae = cpupow[(*ii).first]; @@ -1371,7 +1356,8 @@ void UpdateCPUPoW() std::string sCPUPoW = boost::lexical_cast(ae.projectid) + ":" + boost::lexical_cast(ae.projectuserid) + ":" + ae.strAccount; QString PoW = QString::fromUtf8(sCPUPoW.c_str()); - double iPoWResult = globalcom->dynamicCall("CPUPoW(QString)",PoW).toDouble(); + + double iPoWResult = helper.CPUPoW(PoW); ae.cpupowverificationresult = iPoWResult; ae.cpupowverificationtries++; ae.cpupowhash = sCPUPoW; @@ -1390,213 +1376,183 @@ void UpdateCPUPoW() } - - - void BitcoinGUI::timerfire() { - try { - std::string time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); - if (globalcom==NULL) { - //Note, on Windows, if the performance counters are corrupted, rebuild them by going to an elevated command prompt and - //issue the command: lodctr /r (to rebuild the performance counters in the registry) - globalcom = new QAxObject("Boinc.Utilization"); - globalcom->dynamicCall("ShowMiningConsole()"); - - } - - time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); - //Gridcoin - 10-29-2013 - Gather the Boinc Utilization Per Thread - int utilization = 0; - utilization = globalcom->dynamicCall("BoincUtilization()").toInt(); - int thread_count = 0; - thread_count = globalcom->dynamicCall("BoincThreads()").toInt(); - time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); - // Gridcoin - Gather the MD5 hash of the Boinc program: - QVariant md5_1 = globalcom->dynamicCall("BoincMD5()"); - QString md5 = md5_1.toString(); - sBoincMD5 = md5.toUtf8().constData(); - - QVariant minedHash_1 = globalcom->dynamicCall("MinedHash()"); - QString minedHash = minedHash_1.toString(); - sMinedHash = minedHash.toUtf8().constData(); - - QVariant sourceBlock_1 = globalcom->dynamicCall("SourceBlock()"); - QString sourceBlock = sourceBlock_1.toString(); - sSourceBlock = sourceBlock.toUtf8().constData(); - time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); - QVariant bdot_1 = globalcom->dynamicCall("BoincDeltaOverTime()"); - QString bdot = bdot_1.toString(); - sBoincDeltaOverTime = bdot.toUtf8().constData(); - int iRegVer = 0; - iRegVer = globalcom->dynamicCall("Version()").toInt(); - sRegVer = boost::lexical_cast(iRegVer); - - //Gather the authenticity level: - //1. Retrieve the Boinc MD5 Hash - //2. Verify the boinc.exe contains the Berkeley source libraries - //3. Verify the exe is an official release - //4. Verify the size of the exe is above the threshhold - - QVariant ba_1 = globalcom->dynamicCall("BoincAuthenticityString()"); - QString ba = ba_1.toString(); - sBoincBA = ba.toUtf8().constData(); - // -1 = Invalid Executable - // -2 = Failed Authenticity Check - // -3 = Failed library check - // -4 = Failed to Find boinc tray - // -10= Error during enumeration - // 1 = Success - - nTick++; - - if (nTick > 90) - { - printf("Boinc Utilization: %d, Thread Count: %d",utilization, thread_count); - //Send project beacons for TeamGridcoin: - try { - //Send Gridcoin Node Info to SQL: - QString gni = QString::fromUtf8(NodesToString().c_str()); - globalcom->dynamicCall("SetNodes(QString)",gni); - SendGridcoinProjectBeacons(); - } - catch (std::exception& e) - { - } - nTick=0; - - } - - nTickRestart++; - if (nTickRestart > 120) - { - nTickRestart = 0; - printf("Restarting gridcoin's network layer;"); - RestartGridcoin3(); - } - - - nBoincUtilization = utilization; - - //time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); - //printf("BestChain: new best=%s height=%d date=%s\n", hashBestChain.ToString().c_str(), nBestHeight, DateTimeStrFormat("%Y-%m-%d %H:%M:%S", pindexBest->GetBlockTime()).c_str()); - try { - //Upload the current block to the GVM - QString lbh = QString::fromUtf8(hashBestChain.ToString().c_str()); - globalcom->dynamicCall("SetLastBlockHash(QString)",lbh); - + try { + BoincHelper &helper = BoincHelper::instance(); + + std::string time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); + + //Note, on Windows, if the performance counters are corrupted, rebuild them by going to an elevated command prompt and + //issue the command: lodctr /r (to rebuild the performance counters in the registry) + + helper.showMiningConsole(); + + time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); + //Gridcoin - 10-29-2013 - Gather the Boinc Utilization Per Thread + int utilization = 0; + utilization = helper.utilization(); + int thread_count = 0; + thread_count = helper.threads(); + time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); + // Gridcoin - Gather the MD5 hash of the Boinc program: + QVariant md5_1 = helper.md5(); + QString md5 = md5_1.toString(); + sBoincMD5 = md5.toUtf8().constData(); + + QVariant minedHash_1 = helper.minedHash(); + QString minedHash = minedHash_1.toString(); + sMinedHash = minedHash.toUtf8().constData(); + + QVariant sourceBlock_1 = helper.sourceBlock(); + QString sourceBlock = sourceBlock_1.toString(); + sSourceBlock = sourceBlock.toUtf8().constData(); + time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); + QVariant bdot_1 = helper.deltaOverTime(); + QString bdot = bdot_1.toString(); + sBoincDeltaOverTime = bdot.toUtf8().constData(); + int iRegVer = 0; + iRegVer = helper.version(); + sRegVer = boost::lexical_cast(iRegVer); + + //Gather the authenticity level: + //1. Retrieve the Boinc MD5 Hash + //2. Verify the boinc.exe contains the Berkeley source libraries + //3. Verify the exe is an official release + //4. Verify the size of the exe is above the threshhold + + QVariant ba_1 = helper.authenticityString(); + QString ba = ba_1.toString(); + sBoincBA = ba.toUtf8().constData(); + // -1 = Invalid Executable + // -2 = Failed Authenticity Check + // -3 = Failed library check + // -4 = Failed to Find boinc tray + // -10= Error during enumeration + // 1 = Success + + nTick++; + + if (nTick > 90) + { + printf("Boinc Utilization: %d, Thread Count: %d",utilization, thread_count); + //Send project beacons for TeamGridcoin: + try { + //Send Gridcoin Node Info to SQL: + QString gni = QString::fromUtf8(NodesToString().c_str()); + helper.setNodes(gni); + SendGridcoinProjectBeacons(); + } + catch (std::exception& e) + { + } + nTick=0; - //Retrieve SQL high block number: - //RetrieveSqlHighBlock - int iSqlBlock = 0; - iSqlBlock = globalcom->dynamicCall("RetrieveSqlHighBlock()").toInt(); - printf("sql high block %d", iSqlBlock); + } - //Send Gridcoin block to SQL: - QString qsblock = QString::fromUtf8(RetrieveBlocksAsString(iSqlBlock).c_str()); - globalcom->dynamicCall("SetSqlBlock(Qstring)",qsblock); + nTickRestart++; + if (nTickRestart > 120) + { + nTickRestart = 0; + printf("Restarting gridcoin's network layer;"); + RestartGridcoin3(); + } - //Set Public Wallet Address - QString pwa = QString::fromUtf8(DefaultWalletAddress().c_str()); - globalcom->dynamicCall("SetPublicWalletAddress(QString)",pwa); + nBoincUtilization = utilization; - //Set Best Block - //12-22-2013 - globalcom->dynamicCall("SetBestBlock(int)", nBestHeight); + //time1 = DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()); + //printf("BestChain: new best=%s height=%d date=%s\n", hashBestChain.ToString().c_str(), nBestHeight, DateTimeStrFormat("%Y-%m-%d %H:%M:%S", pindexBest->GetBlockTime()).c_str()); + try { + //Upload the current block to the GVM + QString lbh = QString::fromUtf8(hashBestChain.ToString().c_str()); + helper.setLastBlockHash(lbh); - if (1==0) { - //////////////////////////////////////////////// OUTBOUND GETWORK - //If user is Gridcoin mining, send getwork - std::string gridwork = ""; - //If GridMiner GetWork is empty, execute getwork(): - QVariant gw_1 = globalcom->dynamicCall("GetWork()"); - QString gw_2 = gw_1.toString(); - gridwork = gw_2.toUtf8().constData(); - printf("Gridwork %s",gridwork.c_str()); - if (gridwork.length() == 0) { - gridwork = GetGridcoinWork(); - printf("gridwork2: %s",gridwork.c_str()); - QString qsGridwork = QString::fromUtf8(gridwork.c_str()); - globalcom->dynamicCall("SetWork(QString)",qsGridwork); - } - try { - ///////////////////////////////////////////// INBOUND GETWORK - QString sbd_1 = globalcom->dynamicCall("RetrieveSolvedBlockData()").toString(); - std::string sbd = sbd_1.toUtf8().constData(); - printf("Solvedblockdata %s",sbd.c_str()); - if (sbd.length() > 0) - { - bool result = TestGridcoinWork(sbd); - QString callback = "FALSE"; - if (result) callback="TRUE"; - globalcom->dynamicCall("SolvedBlockDataCallback(QString)",callback); - std::string sCallback = callback.toUtf8().constData(); - printf("Solvedblockdata callback %s",sCallback.c_str()); - } - } - catch (...) - { } - + //Retrieve SQL high block number: + //RetrieveSqlHighBlock + int iSqlBlock = 0; + iSqlBlock = helper.retrieveSqlHighBlock(); + printf("sql high block %d", iSqlBlock); - } - - } - catch (...) - { - } + //Send Gridcoin block to SQL: + QString qsblock = QString::fromUtf8(RetrieveBlocksAsString(iSqlBlock).c_str()); + helper.setSqlBlock(qsblock); - try { - UpdateCPUPoW(); - } - catch (std::exception& e) - { } + //Set Public Wallet Address + QString pwa = QString::fromUtf8(DefaultWalletAddress().c_str()); + helper.setPublicWalletAddress(pwa); - - } + //Set Best Block + //12-22-2013 + helper.setBestBlock(nBestHeight); - catch(std::runtime_error &e) { - printf("GENERAL RUNTIME ERROR!"); + if (1==0) { + //////////////////////////////////////////////// OUTBOUND GETWORK + //If user is Gridcoin mining, send getwork + std::string gridwork = ""; + //If GridMiner GetWork is empty, execute getwork(): + QString gw_2 = helper.getWork(); + gridwork = gw_2.toUtf8().constData(); + printf("Gridwork %s",gridwork.c_str()); + if (gridwork.length() == 0) { + gridwork = GetGridcoinWork(); + printf("gridwork2: %s",gridwork.c_str()); + QString qsGridwork = QString::fromUtf8(gridwork.c_str()); + helper.setWork(qsGridwork); + } + try { + ///////////////////////////////////////////// INBOUND GETWORK + QString sbd_1 = helper.retrieveSolvedBlockData(); + std::string sbd = sbd_1.toUtf8().constData(); + printf("Solvedblockdata %s",sbd.c_str()); + if (sbd.length() > 0) + { + bool result = TestGridcoinWork(sbd); + QString callback = "FALSE"; + if (result) callback="TRUE"; + helper.solvedBlockDataCallback(callback); + std::string sCallback = callback.toUtf8().constData(); + printf("Solvedblockdata callback %s",sCallback.c_str()); + } + } + catch (...) + { } - } - + } -} + } + catch (...) + { + } + try { + UpdateCPUPoW(); + } + catch (std::exception& e) + { } -QString BitcoinGUI::toqstring(int o) { - std::string pre=""; - pre=strprintf("%d",o); - QString str1 = QString::fromUtf8(pre.c_str()); - return str1; -} -std::string tostdstring(QString q) { - - std::string ss1 = q.toLocal8Bit().constData(); - return ss1; + } + catch(std::runtime_error &e) { + printf("GENERAL RUNTIME ERROR!"); + } } - - void BitcoinGUI::detectShutdown() { - - // Tell the main threads to shutdown. - if (ShutdownRequested()) + // Tell the main threads to shutdown. + if (ShutdownRequested()) QMetaObject::invokeMethod(QCoreApplication::instance(), "quit", Qt::QueuedConnection); } - - diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index a6dbacb..7c2e149 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -7,14 +7,9 @@ #include #include -#include #include #include -#include - -#include -#include #include @@ -59,9 +54,6 @@ class BitcoinGUI : public QMainWindow public: static const QString DEFAULT_WALLET; - QString toqstring(int o); - - explicit BitcoinGUI(QWidget *parent = 0); ~BitcoinGUI(); @@ -113,12 +105,15 @@ class BitcoinGUI : public QMainWindow QAction *signMessageAction; QAction *verifyMessageAction; QAction *aboutAction; - QAction *miningAction; + +#if defined(WIN32) + QAction *miningAction; + QAction *projectsAction; QAction *emailAction; - QAction *projectsAction; - QAction *rebuildAction; - QAction *sqlAction; - QAction *leaderboardAction; + QAction *rebuildAction; + QAction *sqlAction; + QAction *leaderboardAction; +#endif QAction *receiveCoinsAction; QAction *optionsAction; @@ -135,6 +130,7 @@ class BitcoinGUI : public QMainWindow RPCConsole *rpcConsole; QMovie *syncIconMovie; + /** Keep track of previous number of blocks, to detect progress */ int prevBlocks; @@ -153,11 +149,6 @@ class BitcoinGUI : public QMainWindow /** Restore window size and position */ void restoreWindowGeometry(); - - - - - public slots: /** Set number of connections shown in the UI */ void setNumConnections(int count); @@ -215,14 +206,15 @@ private slots: /** Show about dialog */ void aboutClicked(); - /**show Mining Console */ + /** Show Mining Console */ void miningClicked(); + /** Show the E-Mail Center */ void emailClicked(); void sqlClicked(); - void leaderboardClicked(); + void leaderboardClicked(); void rebuildClicked(); @@ -242,9 +234,7 @@ private slots: /** called by a timer to check if fRequestShutdown has been set **/ void detectShutdown(); - void timerfire(); - }; #endif // BITCOINGUI_H diff --git a/src/qt/forms/miningdialog.ui b/src/qt/forms/miningdialog.ui index 9ff135e..a7a41c1 100644 --- a/src/qt/forms/miningdialog.ui +++ b/src/qt/forms/miningdialog.ui @@ -6,304 +6,194 @@ 0 0 - 1126 - 594 + 575 + 351 Gridcoin - Mining Console + + 20 + + + 20 + + + 20 + + + 20 + - - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - 20 - 10 - 761 - 431 - - - - - - - 60 - 30 - 181 - 33 - - - - - 300 - 33 - - - - - 10 - 75 - true - - - - IBeamCursor - - - Boinc Processing Power: - - - Qt::RichText - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - 280 - 30 - 222 - 33 - - - - - 222 - 33 - - - - - 12 - 75 - true - - - - 0% - - - - - - 60 - 80 - 181 - 33 - - - - - 300 - 33 - - - - IBeamCursor - - - Threads: - - - Qt::RichText - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - 280 - 80 - 222 - 33 - - - - - 222 - 33 - - - - 0 - - - - - - -820 - 280 - 77 - 23 - - - - - 555 - 555 - - - - Qt::Horizontal - - - QDialogButtonBox::Ok - - - - - - 60 - 370 - 75 - 23 - - - - Refresh - - - - - - 60 - 120 - 181 - 33 - - - - - 300 - 33 - - - - IBeamCursor - - - Mining Module Registered Version: - - - Qt::RichText - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - 280 - 120 - 222 - 33 - - - - - 222 - 33 - - - - False - - - - - - 150 - 370 - 121 - 23 - - - - Register Mining Module - - - - - - 430 - 370 - 75 - 23 - - - - Exit - - - - - - 280 - 370 - 141 - 23 - - - - Un-Register Mining Module - - - - - + + + #widgetBackground { + background-color: rgb(255, 255, 255); +} + + + + + + + + + 300 + 33 + + + + + 10 + 75 + true + + + + IBeamCursor + + + Boinc Processing Power: + + + Qt::RichText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 222 + 33 + + + + + 12 + 75 + true + + + + 0% + + + + + + + + 300 + 33 + + + + IBeamCursor + + + Threads: + + + Qt::RichText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 222 + 33 + + + + 0 + + + + + + + + 300 + 33 + + + + IBeamCursor + + + Mining Module Registered Version: + + + Qt::RichText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 222 + 33 + + + + False + + + + + + + + + + + Refresh + + + + + + + Register Mining Module + + + + + + + Un-Register Mining Module + + + + + + + Exit + + + + + + + - - - - - - buttonBox - accepted() - MiningDialog - accept() - - - 360 - 308 - - - 157 - 274 - - - - - buttonBox - rejected() - MiningDialog - reject() - - - 428 - 308 - - - 286 - 274 - - - - + + diff --git a/src/qt/locale/.gitignore b/src/qt/locale/.gitignore new file mode 100644 index 0000000..0bbad46 --- /dev/null +++ b/src/qt/locale/.gitignore @@ -0,0 +1,2 @@ +!.gitignore +*.qm \ No newline at end of file diff --git a/src/qt/locale/bitcoin_af_ZA.qm b/src/qt/locale/bitcoin_af_ZA.qm deleted file mode 100644 index d7d12be..0000000 Binary files a/src/qt/locale/bitcoin_af_ZA.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ar.qm b/src/qt/locale/bitcoin_ar.qm deleted file mode 100644 index 591629b..0000000 Binary files a/src/qt/locale/bitcoin_ar.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_bg.qm b/src/qt/locale/bitcoin_bg.qm deleted file mode 100644 index 2f2d921..0000000 Binary files a/src/qt/locale/bitcoin_bg.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_bs.qm b/src/qt/locale/bitcoin_bs.qm deleted file mode 100644 index 2220c88..0000000 Binary files a/src/qt/locale/bitcoin_bs.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ca.qm b/src/qt/locale/bitcoin_ca.qm deleted file mode 100644 index 826558a..0000000 Binary files a/src/qt/locale/bitcoin_ca.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ca_ES.qm b/src/qt/locale/bitcoin_ca_ES.qm deleted file mode 100644 index 843c00a..0000000 Binary files a/src/qt/locale/bitcoin_ca_ES.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_cs.qm b/src/qt/locale/bitcoin_cs.qm deleted file mode 100644 index 5ddbf9d..0000000 Binary files a/src/qt/locale/bitcoin_cs.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_cy.qm b/src/qt/locale/bitcoin_cy.qm deleted file mode 100644 index 70b3383..0000000 Binary files a/src/qt/locale/bitcoin_cy.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_da.qm b/src/qt/locale/bitcoin_da.qm deleted file mode 100644 index d7aaf71..0000000 Binary files a/src/qt/locale/bitcoin_da.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_de.qm b/src/qt/locale/bitcoin_de.qm deleted file mode 100644 index f3f1e47..0000000 Binary files a/src/qt/locale/bitcoin_de.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_el_GR.qm b/src/qt/locale/bitcoin_el_GR.qm deleted file mode 100644 index 2e63e73..0000000 Binary files a/src/qt/locale/bitcoin_el_GR.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_en.qm b/src/qt/locale/bitcoin_en.qm deleted file mode 100644 index 9c34798..0000000 Binary files a/src/qt/locale/bitcoin_en.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_eo.qm b/src/qt/locale/bitcoin_eo.qm deleted file mode 100644 index 6d8872e..0000000 Binary files a/src/qt/locale/bitcoin_eo.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_es.qm b/src/qt/locale/bitcoin_es.qm deleted file mode 100644 index 2f15f27..0000000 Binary files a/src/qt/locale/bitcoin_es.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_es_CL.qm b/src/qt/locale/bitcoin_es_CL.qm deleted file mode 100644 index 4f4fff2..0000000 Binary files a/src/qt/locale/bitcoin_es_CL.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_et.qm b/src/qt/locale/bitcoin_et.qm deleted file mode 100644 index 0fc3aed..0000000 Binary files a/src/qt/locale/bitcoin_et.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_eu_ES.qm b/src/qt/locale/bitcoin_eu_ES.qm deleted file mode 100644 index 3c425d6..0000000 Binary files a/src/qt/locale/bitcoin_eu_ES.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_fa.qm b/src/qt/locale/bitcoin_fa.qm deleted file mode 100644 index 64a07dc..0000000 Binary files a/src/qt/locale/bitcoin_fa.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_fa_IR.qm b/src/qt/locale/bitcoin_fa_IR.qm deleted file mode 100644 index b031f06..0000000 Binary files a/src/qt/locale/bitcoin_fa_IR.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_fi.qm b/src/qt/locale/bitcoin_fi.qm deleted file mode 100644 index 6a51025..0000000 Binary files a/src/qt/locale/bitcoin_fi.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_fr.qm b/src/qt/locale/bitcoin_fr.qm deleted file mode 100644 index 89eab0f..0000000 Binary files a/src/qt/locale/bitcoin_fr.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_fr_CA.qm b/src/qt/locale/bitcoin_fr_CA.qm deleted file mode 100644 index afcd8a9..0000000 Binary files a/src/qt/locale/bitcoin_fr_CA.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_gu_IN.qm b/src/qt/locale/bitcoin_gu_IN.qm deleted file mode 100644 index e25894c..0000000 Binary files a/src/qt/locale/bitcoin_gu_IN.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_he.qm b/src/qt/locale/bitcoin_he.qm deleted file mode 100644 index 6ee97e8..0000000 Binary files a/src/qt/locale/bitcoin_he.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_hi_IN.qm b/src/qt/locale/bitcoin_hi_IN.qm deleted file mode 100644 index fca863d..0000000 Binary files a/src/qt/locale/bitcoin_hi_IN.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_hr.qm b/src/qt/locale/bitcoin_hr.qm deleted file mode 100644 index dba48db..0000000 Binary files a/src/qt/locale/bitcoin_hr.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_hu.qm b/src/qt/locale/bitcoin_hu.qm deleted file mode 100644 index 889a8d1..0000000 Binary files a/src/qt/locale/bitcoin_hu.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_it.qm b/src/qt/locale/bitcoin_it.qm deleted file mode 100644 index 123eb40..0000000 Binary files a/src/qt/locale/bitcoin_it.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ja.qm b/src/qt/locale/bitcoin_ja.qm deleted file mode 100644 index 06b9e97..0000000 Binary files a/src/qt/locale/bitcoin_ja.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_la.qm b/src/qt/locale/bitcoin_la.qm deleted file mode 100644 index 25b69aa..0000000 Binary files a/src/qt/locale/bitcoin_la.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_lt.qm b/src/qt/locale/bitcoin_lt.qm deleted file mode 100644 index ca9d4d1..0000000 Binary files a/src/qt/locale/bitcoin_lt.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_lv_LV.qm b/src/qt/locale/bitcoin_lv_LV.qm deleted file mode 100644 index cd538a7..0000000 Binary files a/src/qt/locale/bitcoin_lv_LV.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_nb.qm b/src/qt/locale/bitcoin_nb.qm deleted file mode 100644 index 169b0e0..0000000 Binary files a/src/qt/locale/bitcoin_nb.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_nl.qm b/src/qt/locale/bitcoin_nl.qm deleted file mode 100644 index 4707819..0000000 Binary files a/src/qt/locale/bitcoin_nl.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_pl.qm b/src/qt/locale/bitcoin_pl.qm deleted file mode 100644 index 7fdce9a..0000000 Binary files a/src/qt/locale/bitcoin_pl.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_pt_BR.qm b/src/qt/locale/bitcoin_pt_BR.qm deleted file mode 100644 index e6f6d1a..0000000 Binary files a/src/qt/locale/bitcoin_pt_BR.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_pt_PT.qm b/src/qt/locale/bitcoin_pt_PT.qm deleted file mode 100644 index 94389ea..0000000 Binary files a/src/qt/locale/bitcoin_pt_PT.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ro_RO.qm b/src/qt/locale/bitcoin_ro_RO.qm deleted file mode 100644 index 7b83d40..0000000 Binary files a/src/qt/locale/bitcoin_ro_RO.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_ru.qm b/src/qt/locale/bitcoin_ru.qm deleted file mode 100644 index 157496b..0000000 Binary files a/src/qt/locale/bitcoin_ru.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_sk.qm b/src/qt/locale/bitcoin_sk.qm deleted file mode 100644 index 946b918..0000000 Binary files a/src/qt/locale/bitcoin_sk.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_sr.qm b/src/qt/locale/bitcoin_sr.qm deleted file mode 100644 index 98b3dae..0000000 Binary files a/src/qt/locale/bitcoin_sr.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_sv.qm b/src/qt/locale/bitcoin_sv.qm deleted file mode 100644 index 5379bad..0000000 Binary files a/src/qt/locale/bitcoin_sv.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_th_TH.qm b/src/qt/locale/bitcoin_th_TH.qm deleted file mode 100644 index 3a6249d..0000000 Binary files a/src/qt/locale/bitcoin_th_TH.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_tr.qm b/src/qt/locale/bitcoin_tr.qm deleted file mode 100644 index 9b91cbf..0000000 Binary files a/src/qt/locale/bitcoin_tr.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_uk.qm b/src/qt/locale/bitcoin_uk.qm deleted file mode 100644 index fc1cf3d..0000000 Binary files a/src/qt/locale/bitcoin_uk.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_zh_CN.qm b/src/qt/locale/bitcoin_zh_CN.qm deleted file mode 100644 index a950de6..0000000 Binary files a/src/qt/locale/bitcoin_zh_CN.qm and /dev/null differ diff --git a/src/qt/locale/bitcoin_zh_TW.qm b/src/qt/locale/bitcoin_zh_TW.qm deleted file mode 100644 index 01d07a7..0000000 Binary files a/src/qt/locale/bitcoin_zh_TW.qm and /dev/null differ diff --git a/src/qt/miningdialog.cpp b/src/qt/miningdialog.cpp index 23b663b..a32f810 100644 --- a/src/qt/miningdialog.cpp +++ b/src/qt/miningdialog.cpp @@ -1,28 +1,25 @@ #include "miningdialog.h" #include "ui_miningdialog.h" -#include -#include -#include -#include +#include #include - +#include #include + #include "clientmodel.h" #include "clientversion.h" #include "uint256.h" #include "base58.h" -#include "../global_objects.hpp" -#include "../global_objects_noui.hpp" +#include "global_objects_noui.hpp" +#include "boinc-cpp/boinchelper.h" // Copyright 10-3-2013 const int MININGDIALOG_COPYRIGHT_YEAR = 2013; - MiningDialog::MiningDialog(QWidget *parent) : QDialog(parent), ui(new Ui::MiningDialog) @@ -31,19 +28,31 @@ MiningDialog::MiningDialog(QWidget *parent) : // Set current copyright year // ui->copyrightLabel->setText(tr("Copyright") + QString(" © 2009-%1 ").arg(COPYRIGHT_YEAR) + tr("The Bitcoin developers") + QString("
") + tr("Copyright") + QString(" © ")); + + QTimer *timer = new QTimer(this); + + connect(timer, SIGNAL(timeout()), this, SLOT(refreshClicked())); + + timer->start(1000); + +#if defined(LINUX) + + ui->btnRegister->hide(); + ui->btnUnregister->hide(); + +#endif } void MiningDialog::setModel(ClientModel *model) { - if(model) + if (model) { - - connect(ui->btnRefresh, SIGNAL(clicked()), this, SLOT(refreshClicked())); - connect(ui->btnExit, SIGNAL(clicked()), this, SLOT(exitClicked())); - connect(ui->btnRegister, SIGNAL(clicked()), this, SLOT(registerClicked())); - connect(ui->btnUnregister, SIGNAL(clicked()), this, SLOT(unregisterClicked())); - MiningDialog::refreshClicked(); + connect(ui->btnRefresh, SIGNAL(clicked()), this, SLOT(refreshClicked())); + connect(ui->btnExit, SIGNAL(clicked()), this, SLOT(exitClicked())); + connect(ui->btnRegister, SIGNAL(clicked()), this, SLOT(registerClicked())); + connect(ui->btnUnregister, SIGNAL(clicked()), this, SLOT(unregisterClicked())); + MiningDialog::refreshClicked(); } } @@ -52,33 +61,15 @@ MiningDialog::~MiningDialog() delete ui; } - - - void MiningDialog::refreshClicked() - { - //Show the boinc homogenized utilization - ui->lblProcessingPowerValue->setText(tr("Calculating...")); - std::string sBoincUtilization=""; - sBoincUtilization = strprintf("%d",nBoincUtilization); - QString qsUtilization = QString::fromUtf8(sBoincUtilization.c_str()); - ui->lblProcessingPowerValue->setText(qsUtilization); - - int thread_count = 0; - thread_count = globalcom->dynamicCall("BoincThreads()").toInt(); - std::string sThreads =strprintf("%d",thread_count); - QString qsThreads = QString::fromUtf8(sThreads.c_str()); - ui->lblThreads->setText(qsThreads); - - int boinc_proxy_version = 0; - boinc_proxy_version = globalcom->dynamicCall("Version()").toInt(); - std::string sVersion =strprintf("%d",boinc_proxy_version); - QString qsVersion = QString::fromUtf8(sVersion.c_str()); - ui->lblVersion->setText(qsVersion); + ui->lblProcessingPowerValue->setText(QString("%1%").arg(nBoincUtilization)); + BoincHelper &helper = BoincHelper::instance(); + ui->lblThreads->setText(QString::number(helper.threads())); + ui->lblVersion->setText(QString::number(helper.version())); } void MiningDialog::registerClicked() @@ -88,74 +79,40 @@ void MiningDialog::registerClicked() tr("GridCoin will now register the mining module to allow the measurement of boinc utilization. If successful, the mining module version will be above 0.") + "

" + tr("Continue?"), QMessageBox::Yes|QMessageBox::Cancel, QMessageBox::Cancel); - if(retval == QMessageBox::Yes) - { - - MiningDialog::regsvr("regtlibv12.exe","boinc.tlb",""); - MiningDialog::regsvr("regasm.exe","boinc.dll",""); - MiningDialog::refreshClicked(); - - } - else - { - - // No changes have been made. - } - + if(retval == QMessageBox::Yes) + { + BoincHelper::instance().registerBoinc(); - -} - - -void MiningDialog::regsvr(QString program, QString sFilename, QString sArgument) -{ - - - QString path = QCoreApplication::applicationDirPath() + "\\" + program; - QProcess p; - p.start(path, QStringList() << sFilename << sArgument); - p.waitForFinished(); - - if (sArgument=="") - { - globalcom = new QAxObject("boinc.Utilization"); - } else - { - globalcom = NULL; - } + refreshClicked(); + } + else + { + // No changes have been made. + } } - void MiningDialog::unregisterClicked() - { - QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Please Confirm un-registration of the mining module?"), - tr("GridCoin will now un-register the mining module. Please close and re-start the program to confirm success (the program may be using the DLL).") + "

" + tr("Continue?"), - QMessageBox::Yes|QMessageBox::Cancel, - QMessageBox::Cancel); - if(retval == QMessageBox::Yes) - { - - MiningDialog::regsvr("regtlibv12.exe","boinc.tlb","-u"); - MiningDialog::regsvr("regasm.exe","boinc.dll","-u"); - - MiningDialog::refreshClicked(); - - } - else - { - - // No changes have been made. - - } - + QMessageBox::StandardButton retval = QMessageBox::question(this, + tr("Please Confirm un-registration of the mining module?"), + tr("GridCoin will now un-register the mining module. Please close and re-start the program to confirm success (the program may be using the DLL).") + "

" + tr("Continue?"), + QMessageBox::Yes|QMessageBox::Cancel, + QMessageBox::Cancel); + if(retval == QMessageBox::Yes) + { + BoincHelper::instance().unregisterBoinc(); + MiningDialog::refreshClicked(); + } + else + { + // No changes have been made. + } } - void MiningDialog::exitClicked() { close(); -} \ No newline at end of file +} diff --git a/src/qt/miningdialog.h b/src/qt/miningdialog.h index b9a4d77..dc40177 100644 --- a/src/qt/miningdialog.h +++ b/src/qt/miningdialog.h @@ -3,13 +3,12 @@ #include - namespace Ui { class MiningDialog; } class ClientModel; -/** "About" dialog box */ +/** "Mining" dialog box */ class MiningDialog : public QDialog { Q_OBJECT @@ -28,9 +27,6 @@ private slots: void registerClicked(); void exitClicked(); void unregisterClicked(); - void regsvr(QString program, QString sFilename, QString sArgument); - - }; #endif // MININGDIALOG_H diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 30f7766..ad3a607 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -12,11 +12,11 @@ #include #include -#include +#include + #include "uint256.h" #include "base58.h" -#include "../global_objects.hpp" -#include "../global_objects_noui.hpp" +#include "global_objects_noui.hpp" #define DECORATION_SIZE 64 #define NUM_ITEMS 3 @@ -25,10 +25,6 @@ class TxViewDelegate : public QAbstractItemDelegate { Q_OBJECT - //QAxObject *globalcom; - - - public: TxViewDelegate(): QAbstractItemDelegate(), unit(BitcoinUnits::BTC) { @@ -134,13 +130,18 @@ OverviewPage::OverviewPage(QWidget *parent) : // start with displaying the "out of sync" warnings showOutOfSyncWarning(true); - + // updateBoincUtilization on timer + QTimer *timer = new QTimer(this); + + connect(timer, SIGNAL(timeout()), this, SLOT(updateBoincUtilization())); + + timer->start(1000); + + updateBoincUtilization(); } void OverviewPage::handleTransactionClicked(const QModelIndex &index) { - OverviewPage::UpdateBoincUtilization(); - if(filter) emit transactionClicked(filter->mapToSource(index)); } @@ -165,21 +166,18 @@ void OverviewPage::setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 bool showImmature = immatureBalance != 0; ui->labelImmature->setVisible(showImmature); ui->labelImmatureText->setVisible(showImmature); - OverviewPage::UpdateBoincUtilization(); } -void OverviewPage::UpdateBoincUtilization() +void OverviewPage::updateBoincUtilization() { ui->txtDisplay->setText(""); - if (nBoincUtilization > 0) - { - std::string sBoincUtilization=""; - sBoincUtilization = strprintf("%d",nBoincUtilization); - QString qsUtilization = QString::fromUtf8(sBoincUtilization.c_str()); - ui->txtDisplay->setText("Boinc Utilization: " + qsUtilization); - } + if (nBoincUtilization > 0) + { + ui->txtDisplay->setText(QString("Boinc Utilization: %1%").arg(nBoincUtilization)); + } } + void OverviewPage::setClientModel(ClientModel *model) { this->clientModel = model; @@ -188,7 +186,6 @@ void OverviewPage::setClientModel(ClientModel *model) // Show warning if this is a prerelease version connect(model, SIGNAL(alertsChanged(QString)), this, SLOT(updateAlerts(QString))); updateAlerts(model->getStatusBarWarnings()); - OverviewPage::UpdateBoincUtilization(); } } @@ -221,8 +218,6 @@ void OverviewPage::setWalletModel(WalletModel *model) void OverviewPage::updateDisplayUnit() { - OverviewPage::UpdateBoincUtilization(); - if(walletModel && walletModel->getOptionsModel()) { if(currentBalance != -1) @@ -239,12 +234,10 @@ void OverviewPage::updateAlerts(const QString &warnings) { this->ui->labelAlerts->setVisible(!warnings.isEmpty()); this->ui->labelAlerts->setText(warnings); - OverviewPage::UpdateBoincUtilization(); } void OverviewPage::showOutOfSyncWarning(bool fShow) { ui->labelWalletStatus->setVisible(fShow); ui->labelTransactionsStatus->setVisible(fShow); - OverviewPage::UpdateBoincUtilization(); } diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h index 7666c45..cc3e077 100644 --- a/src/qt/overviewpage.h +++ b/src/qt/overviewpage.h @@ -2,8 +2,6 @@ #define OVERVIEWPAGE_H #include -#include - namespace Ui { class OverviewPage; @@ -29,10 +27,10 @@ class OverviewPage : public QWidget void setClientModel(ClientModel *clientModel); void setWalletModel(WalletModel *walletModel); void showOutOfSyncWarning(bool fShow); - void UpdateBoincUtilization(); public slots: void setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance); + void updateBoincUtilization(); signals: void transactionClicked(const QModelIndex &index); diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 3173cf1..fbd7dc9 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -263,7 +263,7 @@ void RPCConsole::setClientModel(ClientModel *model) ui->clientName->setText(model->clientName()); ui->buildDate->setText(model->formatBuildDate()); ui->startupTime->setText(model->formatClientStartupTime()); - + setNumConnections(model->getNumConnections()); ui->isTestNet->setChecked(model->isTestNet()); } diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 1710bc8..0495549 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -12,8 +12,6 @@ using namespace json_spirit; using namespace std; -#include "io.h" - extern std::string GetGridcoinWork(); bool TestGridcoinWork(std::string sWork); diff --git a/src/util.h b/src/util.h index a07b718..fc96c3c 100644 --- a/src/util.h +++ b/src/util.h @@ -177,7 +177,11 @@ bool ATTR_WARN_PRINTF(1,2) error(const char *format, ...); * __attribute__((format(printf,X,Y))) gets expanded to __attribute__((format(OutputDebugStringF,X,Y))) * which confuses gcc. */ +#ifdef QT_GUI +#define printf(...) printf(__VA_ARGS__), fflush(stdout) +#else #define printf OutputDebugStringF +#endif void LogException(std::exception* pex, const char* pszThread); void PrintException(std::exception* pex, const char* pszThread);