mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-02 11:59:48 -08:00
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1deb085fa2 | ||
|
|
213e373b64 | ||
|
|
04474f996d | ||
|
|
6afd12465c | ||
|
|
5ae4422402 | ||
|
|
c374d23f37 | ||
|
|
cc9e4439d6 | ||
|
|
7300f8150a | ||
|
|
6fe7061421 | ||
|
|
ecd2ace6ae | ||
|
|
2ff46aa40b | ||
|
|
f4d665abec | ||
|
|
c53af9e553 | ||
|
|
37e00791b2 | ||
|
|
b597348e88 | ||
|
|
27408f6304 | ||
|
|
6154ff7d30 | ||
|
|
2447a9d633 | ||
|
|
271e65e905 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
|
||||
|
||||
77864
Makefile.Debug
77864
Makefile.Debug
File diff suppressed because one or more lines are too long
77844
Makefile.Release
77844
Makefile.Release
File diff suppressed because one or more lines are too long
20
README.md
20
README.md
@@ -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
|
||||
======
|
||||
|
||||
@@ -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
|
||||
|
||||
48
contrib/homebrew/makefile.osx.patch
Normal file
48
contrib/homebrew/makefile.osx.patch
Normal 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 += \
|
||||
@@ -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
|
||||
|
||||
|
||||
14
src/main.cpp
14
src/main.cpp
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
10
src/net.cpp
10
src/net.cpp
@@ -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}
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user