Skip to content

Commit

Permalink
sativacoin change logo and up proto
Browse files Browse the repository at this point in the history
sativacoin change logo and up proto
old proto work not rejected
  • Loading branch information
sativaowner committed Mar 13, 2015
1 parent d5b3160 commit 2e9e29b
Show file tree
Hide file tree
Showing 97 changed files with 48 additions and 25 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
sativacoin
==========
before build need to add flag to build_detect_platform
example: chmod 777 src\leveldb\build_detect_platform
47 changes: 28 additions & 19 deletions sativacoin-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,39 @@ TEMPLATE = app
TARGET = sativacoin-Qt
VERSION = 1.0.1337
INCLUDEPATH += src src/json src/qt src/qt/plugins/mrichtexteditor
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
QT += core gui network printsupport
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE USE_IPV6 BOOST_SPIRIT_THREADSAFE BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN __NO_SYSTEM_INCLUDES
DEFINES += STATIC
DEFINES += QT_STATIC_BUILD
CONFIG += no_include_pwd
CONFIG += thread
CONFIG += static
QT += core gui network widgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
lessThan(QT_MAJOR_VERSION, 5): CONFIG += static
QMAKE_CXXFLAGS = -fpermissive

greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
}

win32 {
BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55
BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1h/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1h
MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.3
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.3/.libs
}
windows:LIBS += -lshlwapi
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
windows:LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32
LIBS += -lboost_system-mgw49-mt-s-1_57 -lboost_filesystem-mgw49-mt-s-1_57 -lboost_program_options-mgw49-mt-s-1_57 -lboost_thread-mgw49-mt-s-1_57
BOOST_LIB_SUFFIX=-mgw49-mt-s-1_57
BOOST_INCLUDE_PATH=C:/deps/boost_1_57_0
BOOST_LIB_PATH=C:/deps/boost_1_57_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1l/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1l
MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
LIBPNG_INCLUDE_PATH=d:/deps/libpng-1.6.16
LIBPNG_LIB_PATH=d:/deps/libpng-1.6.16/.libs
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
}



Expand Down Expand Up @@ -64,7 +71,8 @@ QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
# We need to exclude this for Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
# on win32: enable GCC large address aware linker flag
win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static
win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
lessThan(QT_MAJOR_VERSION, 5): win32: QMAKE_LFLAGS *= -static
Expand Down Expand Up @@ -93,6 +101,7 @@ contains(USE_UPNP, -) {
DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
win32:LIBS += -liphlpapi
}

# use: qmake "USE_DBUS=1" or qmake "USE_DBUS=0"
Expand Down Expand Up @@ -440,7 +449,7 @@ OTHER_FILES += \
# platform specific defaults, if not overridden on command line
isEmpty(BOOST_LIB_SUFFIX) {
macx:BOOST_LIB_SUFFIX = -mt
windows:BOOST_LIB_SUFFIX = -mgw48-mt-s-1_550
windows:BOOST_LIB_SUFFIX = -mgw49-mt-s-1_57
}

isEmpty(BOOST_THREAD_LIB_SUFFIX) {
Expand Down
4 changes: 4 additions & 0 deletions src/checkpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ namespace Checkpoints
static MapCheckpoints mapCheckpoints =
boost::assign::map_list_of
( 0, hashGenesisBlock )
( 7200, uint256("0x00000000116d4b70d0607dd2170ff8b49021a60dd2d414bb5e0a0d52f3df9396"))
( 7201, uint256("0x0ec62de445763e573e0880d1ab46d2890d138f7f9112f0b7be6d247da7b34e98"))
( 8701, uint256("0xce2ee9a3b6d7ee27aa35351dc52044929e5655b3d417f41863336a8117bd0537"))
( 30701, uint256("0x3bfd98e3f924b14a714d32e7a00e04bab1fb8a3106fc6f83495f79d009d02741"))
;

// TestNet has no checkpoints
Expand Down
4 changes: 2 additions & 2 deletions src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_MINOR 1
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 1337
#define CLIENT_VERSION_BUILD 0

// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
Expand Down
3 changes: 3 additions & 0 deletions src/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ typedef std::map<int, unsigned int> MapModifierCheckpoints;
static std::map<int, unsigned int> mapStakeModifierCheckpoints =
boost::assign::map_list_of
( 0, 0x00000000fd11f4e7 )
( 7201, 0x05f76b68 )
( 8701, 0xcd9af1ff )
( 30701, 0xe9042faa )
;

// Hard checkpoints of stake modifiers to ensure they are deterministic (testNet)
Expand Down
7 changes: 6 additions & 1 deletion src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,12 @@ void MapPort()
// The second name should resolve to a list of seed addresses.

static const char *strDNSSeed[][2] = {
{"176.31.30.93", "176.31.30.93"} //Main sativacoin Seed Node
{"5.196.226.54", "5.196.226.54"},
{"192.99.111.227", "192.99.111.227"},
{"198.50.151.86", "198.50.151.86"},
{"5.196.29.188", "5.196.29.188"},
{"176.31.30.93", "176.31.30.93"}
// {NULL, NULL}
};

void ThreadDNSAddressSeed(void* parg)
Expand Down
Binary file added src/qt/locale/bitcoin_af_ZA.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ar.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_be_BY.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_bg.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_bs.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ca.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ca@valencia.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ca_ES.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_cs.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_cy.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_da.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_de.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_el_GR.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_en.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_eo.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_es.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_es_CL.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_es_DO.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_es_MX.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_es_UY.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_et.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_eu_ES.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_fa.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_fa_IR.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_fi.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_fr.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_fr_CA.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_gl.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_he.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_hi_IN.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_hr.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_hu.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_id_ID.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_it.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ja.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ka.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_kk_KZ.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ko_KR.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ky.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_la.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_lt.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_lv_LV.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ms_MY.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_nb.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_nl.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_pam.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_pl.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_pt_BR.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_pt_PT.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ro_RO.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ru.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sah.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sk.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sl_SI.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sq.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sr.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_sv.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_th_TH.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_tr.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_uk.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_ur_PK.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_vi.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_vi_VN.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_zh_CN.qm
Binary file not shown.
Binary file added src/qt/locale/bitcoin_zh_TW.qm
Binary file not shown.
Binary file added src/qt/res/icons/STV-Accepted--420x160.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-118x45.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-202x77.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-840x321.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-Full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-Small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Accepted-X-Small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-Black-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-Black-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-Black-Full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Coin-Full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/STV-Icon.ico
Binary file not shown.
Binary file added src/qt/res/icons/SativaCoin-Black-Accepted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/bitcoin.icns
Binary file not shown.
Binary file modified src/qt/res/icons/sativa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/sativacoin.icns
Binary file not shown.
Binary file modified src/qt/res/icons/sativacoin.ico
Binary file not shown.
Binary file modified src/qt/res/icons/sativacoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/sativacoin256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/sativacoin_testnet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/stv blue 256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/images/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ static const int DATABASE_VERSION = 100050;
// network protocol versioning
//

static const int PROTOCOL_VERSION = 100050;
static const int PROTOCOL_VERSION = 100051;

// intial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
static const int INIT_PROTO_VERSION = 210;

// disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 209;
Expand All @@ -44,7 +44,7 @@ static const int CADDR_TIME_VERSION = 31402;

// only request blocks from nodes outside this range of versions
static const int NOBLKS_VERSION_START = 100002;
static const int NOBLKS_VERSION_END = 100006;
static const int NOBLKS_VERSION_END = 100049;

// BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 100000;
Expand Down

0 comments on commit 2e9e29b

Please sign in to comment.