19 Commits

Author SHA1 Message Date
salvatore giudice
1deb085fa2 updated README.md 2014-07-18 15:44:05 +09:00
Salvatore Giudice
213e373b64 merge of casinocoin_1.3.0-uat into master 2014-07-17 23:36:12 -07:00
Salvatore Giudice
04474f996d added homebrew support patch to contrib for osx builds 2014-07-17 23:34:05 -07:00
qwerty55
6afd12465c incremented min proto version to facilitate hardfork 2014-07-17 05:04:20 -04:00
qwerty55
5ae4422402 reverted min proto version 2014-07-17 04:05:30 -04:00
qwerty55
c374d23f37 block height for subsidy reduction changed from 620000 to 577000 to allow for cut in 10 days 2014-07-17 03:35:50 -04:00
qwerty55
cc9e4439d6 resolved client version merge conflict 2014-07-17 03:18:25 -04:00
qwerty55
7300f8150a changed seed dns from casinoco.in to casinocoin.org; updated version number to 1.2.1 2014-06-16 21:18:47 -04:00
qwerty55
6fe7061421 update README.md to fix mailing lists header 2014-06-11 20:48:36 -04:00
qwerty55
ecd2ace6ae update README.md to include mailing lists 2014-06-11 20:47:22 -04:00
qwerty55
2ff46aa40b added upper boundary to block reward reduction to ensure 63 million coins maximum 2014-06-11 04:13:32 -04:00
qwerty55
f4d665abec updated README.md 2014-06-10 03:02:57 -04:00
qwerty55
c53af9e553 changed version to 1.3.0.0 in casinocoin-qt.pro 2014-06-10 02:59:27 -04:00
qwerty55
37e00791b2 incremented PROTOCOL_VERSION to 70004; missed this in last push 2014-06-10 01:04:58 -04:00
root
b597348e88 max coins changed to 63 million; permanent block reward reduction to 10 added in place of previous block reward halving scheme; PROTOCOL_VERSION and MIN_PEER_PROTO_VERSION incremented forward by 1 to facilitate hardfork; client version number incremented to 1.3.0 2014-06-10 00:46:26 -04:00
Viktor Kruug
27408f6304 Changed to be Linux friendly
Running through the qmake/make process will now look for the Linux paths instead of Windows paths.  Currently, this will build on Linux, but still references a lot of Windows paths.  Doing more research, one should be able to replace all paths with Linux-based paths that should also work under CYGWIN on Windows.
2014-05-20 12:33:53 -05:00
EmBi
6154ff7d30 Enabled disconnecting from old version nodes 2014-05-20 02:39:37 +02:00
EmBi
2447a9d633 Readme updated 2014-05-19 23:08:21 +02:00
EmBi
271e65e905 Readme updated 2014-05-19 23:07:05 +02:00
11 changed files with 154369 additions and 1465 deletions

3
.gitignore vendored
View File

@@ -8,7 +8,6 @@ src/test_casinocoin
*.rej
*.orig
*.o
*.patch
.casinocoin
# Compilation and Qt preprocessor part
@@ -31,4 +30,4 @@ qrc_*.cpp
.DS_Store
build
!src/leveldb/Makefile
!src/leveldb/Makefile

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,6 @@
<h2>Correct Wallet Version = 1.2.x</h2>
<h2>Please download the updated wallet asap, hard fork incoming at block 547000</h2>
[Click here to download the most recent wallet version -> 1.3.0 (Updated on July, 18 2014)](https://github.com/casinocoin/casinocoin/releases/tag/1.3.0.0 "Click to go to releases page")
<p align="center"><img src="https://raw.github.com/transcoder/CasinoCoin/master/src/qt/res/images/logo.png" /></p>
CasinoCoin: An open source, peer-to-peer Internet currency specifically designed for online casino gaming.
@@ -31,11 +33,23 @@ Technical Specifications
- scrypt proof-of-work algorithm
- 30 second block time targets
- ~336 million total coins
- ~63 million total coins
- new digishield difficulty retargetting system (from block 445000)
- 50 coins per block, halves every 3,153,600 blocks (~3 years)
- 50 coins per block, permanent reduction to 10 cons per block after block 575000
- fair launch, absolutely no premine
Casinocoin Mailing Lists
========================
If you operate a pool or service that relies on Casinocoin wallets, please subscribe to the "Csinocoin Development" mailing list for notifications of client updates, hardforks,or other issues that may impact you.
- Casinocoin Development mailing list subscription form: http://eepurl.com/WGcoP
If you are a community mber interested in more general announcements related to Casinocoin, please subscribe to the "Casinocoin Announcements" mailing list.
- Casinocoin Announcements mailing list subscription form: http://eepurl.com/WGeu1
Links
======

View File

@@ -1,7 +1,7 @@
TEMPLATE = app
TARGET = casinocoin-qt
macx:TARGET = "CasinoCoin-Qt"
VERSION = 1.2.0.0
VERSION = 1.3.0.0
INCLUDEPATH += src src/json src/qt
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -19,14 +19,19 @@ CONFIG += thread
# BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
# BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
BOOST_INCLUDE_PATH=E:/crypto/deps/boost_1_53_0
BOOST_LIB_PATH=E:/crypto/deps/boost_1_53_0/stage/lib
BDB_INCLUDE_PATH=E:/crypto/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=E:/crypto/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=E:/crypto/deps/openssl-1.0.1g/include
OPENSSL_LIB_PATH=E:/crypto/deps/openssl-1.0.1g
QRENCODE_INCLUDE_PATH=E:/crypto/deps/qrencode-3.4.3
QRENCODE_LIB_PATH=E:/crypto/deps/qrencode-3.4.3/.libs
#BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55
#BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_INCLUDE_PATH=/usr/include/boost
#BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BOOST_LIB_PATH=/usr/include/boost/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.1g/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1g
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
OBJECTS_DIR = build
MOC_DIR = build

View File

@@ -0,0 +1,48 @@
diff --git a/src/makefile.osx b/src/makefile.osx
index bef0ef3..07ef8d3 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -7,17 +7,21 @@
# Originally by Laszlo Hanyecz (solar@heliacal.net)
CXX=llvm-g++
-DEPSDIR=/opt/local
+DEPSDIR=/usr/local
+DB4DIR=/usr/local/opt/berkeley-db4
+OPENSSLDIR=/usr/local/opt/openssl
INCLUDEPATHS= \
-I"$(CURDIR)" \
- -I"$(CURDIR)"/obj \
+ -I"$(CURDIR)/obj" \
-I"$(DEPSDIR)/include" \
- -I"$(DEPSDIR)/include/db48"
+ -I"$(DB4DIR)/include" \
+ -I"$(OPENSSLDIR)/include"
LIBPATHS= \
-L"$(DEPSDIR)/lib" \
- -L"$(DEPSDIR)/lib/db48"
+ -L"$(DB4DIR)/lib" \
+ -L"$(OPENSSLDIR)/lib"
USE_UPNP:=1
USE_IPV6:=1
@@ -31,14 +35,14 @@ ifdef STATIC
TESTLIBS += \
$(DEPSDIR)/lib/libboost_unit_test_framework-mt.a
LIBS += \
- $(DEPSDIR)/lib/db48/libdb_cxx-4.8.a \
+ $(DB4DIR)/lib/libdb_cxx-4.8.a \
$(DEPSDIR)/lib/libboost_system-mt.a \
$(DEPSDIR)/lib/libboost_filesystem-mt.a \
$(DEPSDIR)/lib/libboost_program_options-mt.a \
$(DEPSDIR)/lib/libboost_thread-mt.a \
$(DEPSDIR)/lib/libboost_chrono-mt.a \
- $(DEPSDIR)/lib/libssl.a \
- $(DEPSDIR)/lib/libcrypto.a \
+ $(OPENSSLDIR)/lib/libssl.a \
+ $(OPENSSLDIR)/lib/libcrypto.a \
-lz
else
TESTLIBS += \

View File

@@ -7,7 +7,7 @@
// 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 2
#define CLIENT_VERSION_MINOR 3
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 0

View File

@@ -1108,8 +1108,18 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
nSubsidy = 45 * COIN;
}
// Subsidy is cut in half every 3153600 blocks, which will occur approximately every 3 years
nSubsidy >>= (nHeight / 3153600);
// Permantently reduce the number of mined coins to 10 after block 575000
if(nHeight > 575000){
if(nHeight < 3756000){
nSubsidy = 10 * COIN;
}
else
{
nSubsidy = 0 * COIN;
}
}
return nSubsidy + nFees;
}

View File

@@ -54,7 +54,7 @@ static const int64 DUST_SOFT_LIMIT = 100000; // 0.001 CSC
/** Dust Hard Limit, ignored as wallet inputs (mininput default) */
static const int64 DUST_HARD_LIMIT = 1000; // 0.00001 CSC mininput
/** No amount larger than this (in satoshi) is valid */
static const int64 MAX_MONEY = 336000000 * COIN;
static const int64 MAX_MONEY = 63000000 * COIN;
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
static const int COINBASE_MATURITY = 8;

View File

@@ -1192,15 +1192,15 @@ void MapPort(bool)
// 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] = {
{"casinoco.in seed", "seed.casinoco.in"},
{"casinoco.in seed #1", "seed1.casinoco.in"},
{"casinoco.in seed #2", "seed2.casinoco.in"},
{"casinoco.in seed #3", "seed3.casinoco.in"},
{"casinocoin.org seed", "seed.casinocoin.org"},
{"casinocoin.org seed #1", "seed1.casinocoin.org"},
{"casinocoin.org seed #2", "seed2.casinocoin.org"},
{"casinocoin.org seed #3", "seed3.casinocoin.org"},
{NULL, NULL}
};
static const char *strTestNetDNSSeed[][2] = {
{"casinoco.in testnet seed #1", "testnet-seed1.casinoco.in"},
{"casinocoin.org testnet seed #1", "testnet-seed1.casinocoin.org"},
{NULL, NULL}
};

View File

@@ -25,13 +25,13 @@ extern const std::string CLIENT_DATE;
// network protocol versioning
//
static const int PROTOCOL_VERSION = 70003;
static const int PROTOCOL_VERSION = 70004;
// intial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
// disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 60002; // TODO: Change to 70003 before block 445000 to force new client downloading and therefore doing the actual hard fork
static const int MIN_PEER_PROTO_VERSION = 70004; // TODO: Change to 70004 before block 445000 to force new client downloading and therefore doing the actual hard fork
// nTime field added to CAddress, starting with this version;
// if possible, avoid requesting addresses nodes older than this