Skip to content

Commit

Permalink
3.5.1.7-Mandatory Upgrade
Browse files Browse the repository at this point in the history
Gridcoin Research 3.5.1.7/MSI=35.9
Mandatory Upgrade (before block 364500)

- Plugged vulnerability discovered by bitcoin - please upgrade to this
new version asap
- Added checkpoint
- Research Age starts at block 364500
- Mandatory (auto disconnect of other nodes) automatically starts at
364500
- Added business logic to verify superblocks to enforce quality of
magnitude averages and project averages
- Only lock neural network grid/buttons during sync, show the progress
bar, sync efficiency improved, allow user to minimize during sync
Note: Efficiency will not improve until 364500 :)
- Retreive explainmagnitude from a synced node otherwise retry (with
daily limit of 10 retries)
- Superblock Spacing: 86400
- Expanded block index starts at 364500 (stores votes/superblock
indicators more efficiently)
- Added logging to Neural Network sync process (Dreibo, please check
debug2.txt)
- Lets burn this in tonight and verify everything (even though we won't
be in the RA phase) - before we ask the exchanges to upgrade
  • Loading branch information
gridcoin committed Oct 20, 2015
1 parent 5b500f8 commit 475054a
Show file tree
Hide file tree
Showing 20 changed files with 259 additions and 187 deletions.
10 changes: 5 additions & 5 deletions Makefile.Debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: gridcoinresearch
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Oct 13 16:36:37 2015
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Oct 20 18:39:25 2015
# Project: gridcoinstake.pro
# Template: app
#############################################################################
Expand All @@ -9,13 +9,13 @@

CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_THREAD_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_THREAD_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -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 -g -fexceptions -mthreads -frtti -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -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'libs/miniupnpc-1.8' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_55_0' -I'libs/db-4.8.30.NC/build_unix' -I'libs/openssl-1.0.1e/include' -I'libs/curl/include' -I'libs/libzip/include' -I'../Qt/4.8.4/include/ActiveQt' -I'build' -I'build' -I'../Qt/4.8.4/mkspecs/win32-g++'
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'libs/miniupnpc-1.9' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_55_0' -I'libs/db-4.8.30.NC/build_unix' -I'libs/openssl-1.0.1e/include' -I'libs/curl/include' -I'libs/libzip/include' -I'../Qt/4.8.4/include/ActiveQt' -I'build' -I'build' -I'../Qt/4.8.4/mkspecs/win32-g++'
LINK = g++
LFLAGS = -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -mthreads -Wl,-subsystem,windows
LIBS = -L'a:/Qt/4.8.4/lib' -lmingwthrd -lmingw32 -lqtmaind build/bitcoin-qt_res.o -Llibs/miniupnpc-1.8 -lminiupnpc -liphlpapi A:/Gridcoin-Research/src/leveldb/libleveldb.a A:/Gridcoin-Research/src/leveldb/libmemenv.a -lshlwapi -Llibs/boost_1_55_0/stage/lib -Llibs/db-4.8.30.NC/build_unix -Llibs/openssl-1.0.1e -Llibs/curl/include -Llibs/libzip/lib -lssl -lcrypto -ldb_cxx -lcurl -lzip -lws2_32 -lshlwapi -lmswsock -lboost_system-mgw46-mt-1_55 -lboost_filesystem-mgw46-mt-1_55 -lboost_program_options-mgw46-mt-1_55 -lboost_thread-mgw46-mt-1_55 -lcurl -lzip -lboost_chrono-mgw46-mt-1_55 -lQAxContainerd -lQtNetworkd4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGuid4 -lQtCored4
LIBS = -L'a:/Qt/4.8.4/lib' -lmingwthrd -lmingw32 -lqtmaind build/bitcoin-qt_res.o -Llibs/miniupnpc-1.9 -lminiupnpc -liphlpapi A:/Gridcoin-Research/src/leveldb/libleveldb.a A:/Gridcoin-Research/src/leveldb/libmemenv.a -lshlwapi -Llibs/boost_1_55_0/stage/lib -Llibs/db-4.8.30.NC/build_unix -Llibs/openssl-1.0.1e -Llibs/curl/include -Llibs/libzip/lib -lssl -lcrypto -ldb_cxx -lcurl -lzip -lws2_32 -lshlwapi -lmswsock -lboost_system-mgw46-mt-1_55 -lboost_filesystem-mgw46-mt-1_55 -lboost_program_options-mgw46-mt-1_55 -lboost_thread-mgw46-mt-1_55 -lcurl -lzip -lboost_chrono-mgw46-mt-1_55 -lQAxContainerd -lQtNetworkd4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGuid4 -lQtCored4
QMAKE = a:/Qt/4.8.4/bin/qmake.exe
IDC = a:/Qt/4.8.4/bin/idc.exe
IDL = midl
Expand Down Expand Up @@ -290,7 +290,7 @@ 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_55_0 BOOST_LIB_PATH=libs/boost_1_55_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_55 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 CURL_INCLUDE_PATH=libs/curl/include CURL_LIB_PATH=libs/curl/include LIBZIP_INCLUDE_PATH=libs/libzip/include LIBZIP_LIB_PATH=libs/libzip/lib 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" USE_QRCODE=0 ZZZ=1 -o Makefile.Debug gridcoinstake.pro
@$(QMAKE) BOOST_INCLUDE_PATH=libs/boost_1_55_0 BOOST_LIB_PATH=libs/boost_1_55_0/stage/lib BOOST_LIB_SUFFIX=-mgw46-mt-1_55 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 CURL_INCLUDE_PATH=libs/curl/include CURL_LIB_PATH=libs/curl/include LIBZIP_INCLUDE_PATH=libs/libzip/include LIBZIP_LIB_PATH=libs/libzip/lib MINIUPNPC_INCLUDE_PATH=libs/miniupnpc-1.9 MINIUPNPC_LIB_PATH=libs/miniupnpc-1.9 "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" USE_QRCODE=0 ZZZ=1 -o Makefile.Debug gridcoinstake.pro

dist:
$(ZIP) gridcoinresearch.zip $(SOURCES) $(DIST) gridcoinstake.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/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/exceptions.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/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 a:\Qt\4.8.4\lib\qtmaind.prl a:\Qt\4.8.4\lib\QAxContainerd.prl src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca@valencia.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_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.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_gl.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_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.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_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.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_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.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_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca@valencia.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_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.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_gl.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_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.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_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.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_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.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
Expand Down
Loading

0 comments on commit 475054a

Please sign in to comment.