13 Commits

Author SHA1 Message Date
jacobbdavis1991
d7cfdfc0d9 Update memenv.h 2018-01-19 11:09:48 -08:00
jacobbdavis1991
bf69de0c94 Update memenv.h 2018-01-19 10:53:10 -08:00
jacobbdavis1991
5f7d4fba37 Update memenv.h 2018-01-19 10:44:45 -08:00
jacobbdavis1991
106f4b72a1 Update memenv.h 2018-01-19 10:36:42 -08:00
jacobbdavis1991
9f47402b63 Update rpcrawtransaction.cpp 2018-01-19 09:54:46 -08:00
ubuntu
20725f9897 updated for ubuntu 16 and systemd 2016-09-15 08:42:39 -04:00
Kepoly
c3b802d64b Update .travis.yml 2016-06-19 16:55:27 -04:00
Kepoly
e7458b9b09 Casinocoind 2016-06-19 16:50:41 -04:00
Kepoly
1e625e6b50 Fix missing . 2016-06-19 16:49:52 -04:00
Kepoly
2b5d7a5f7f YML file for travis 2016-06-19 16:47:44 -04:00
Kepoly
1ba6eb79a3 Added Wiki 2016-06-17 16:37:52 -04:00
Kepoly
aec0a42158 New Update V 3.0.0.0
Updated links and new V number
2016-06-17 15:33:17 -04:00
ajochems
ca31d8e720 Merge pull request #25 from casinocoin/development
Merge for v3.0.0.0 commits
2016-06-17 08:25:14 +02:00
8 changed files with 108 additions and 15 deletions

69
.travis.yml Normal file
View File

@@ -0,0 +1,69 @@
# errata:
# - A travis bug causes caches to trample eachother when using the same
# compiler key (which we don't use anyway). This is worked around for now by
# replacing the "compilers" with a build name prefixed by the no-op ":"
# command. See: https://github.com/travis-ci/casher/issues/6
os: linux
language: cpp
compiler: gcc
env:
global:
- MAKEJOBS=-j3
- RUN_TESTS=false
- CCACHE_SIZE=100M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
cache:
apt: true
directories:
- depends/built
- depends/sdk-sources
- $HOME/.ccache
matrix:
fast_finish: true
include:
- compiler: ": ARM"
env: HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat"
- compiler: ": bitcoind"
env: HOST=x86_64-unknown-linux-gnu PACKAGES="bc" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat CPPFLAGS=-DDEBUG_LOCKORDER"
- compiler: ": No wallet"
env: HOST=x86_64-unknown-linux-gnu DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat"
- compiler: ": 32-bit + dash"
env: HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat" USE_SHELL="/bin/dash"
- compiler: ": Cross-Mac"
env: HOST=x86_64-apple-darwin11 PACKAGES="cmake libcap-dev libz-dev libbz2-dev" OSX_SDK=10.9 GOAL="deploy"
- compiler: ": Win64"
env: HOST=x86_64-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui" MAKEJOBS="-j2"
- compiler: ": Win32"
env: HOST=i686-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui" MAKEJOBS="-j2"
exclude:
- compiler: gcc
install:
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
before_script:
- unset CC; unset CXX
- mkdir -p depends/SDKs depends/sdk-sources
- if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then wget $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -O depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
- if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
script:
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export CCACHE_READONLY=1; fi
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make distdir PACKAGE=bitcoin VERSION=$HOST
- cd bitcoin-$HOST
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
- if [ "$RUN_TESTS" = "true" ]; then make check; fi
- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.sh; fi
after_script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi

View File

@@ -1,5 +1,8 @@
Building CasinoCoin
Please visit the Wiki for details on building CasinoCoin-qt and Casinocoind
https://github.com/casinocoin/casinocoin/wiki
See doc/readme-qt.rst for instructions on building CasinoCoin-Qt,
the intended-for-end-users, nice-graphical-interface, reference
implementation of CasinoCoin.

View File

@@ -1,5 +1,5 @@
<h2>Wallet 2.0.1.0 Release available</h2>
[Click here to download the most recent wallet version -> 2.0.1.0 (Updated on December, 11 2015)](https://github.com/casinocoin/casinocoin/releases/tag/2.0.1.0 "Click to go to releases page")
<h2>Wallet 3.0.0.0 Release available</h2>
[Click here to download the most recent wallet version -> 3.0.0.0 (Updated on June, 17 2016)](https://github.com/casinocoin/casinocoin/releases/tag/3.0.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>
@@ -35,7 +35,7 @@ Technical Specifications
- 30 second block time targets
- ~63 million total coins
- new digishield difficulty retargetting system (from block 445000)
- 50 coins per block, permanent reduction to 10 coins per block after block 575000
- 50 coins per block, permanent reduction to 1 coins per block after block 1750000
- fair launch, absolutely no premine
Casinocoin Mailing Lists

View File

@@ -0,0 +1,3 @@
CASINOCOIND_CONFIGFILE=/opt/CSC/.casinocoin/casinocoin.conf
CASINOCOIND_DATADIR=/opt/CSC/data
CASINOCOIND_CACHESIZE=512

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Casinocoin Daemon Service
After=network.target
[Service]
Type=simple
Restart=always
User=ubuntu
Group=ubuntu
PIDFile=/opt/CSC/data/casinocoind.pid
EnvironmentFile=/etc/systemd/casinocoind.env
ExecStart=/usr/bin/casinocoind -daemon -datadir=${CASINOCOIND_DATADIR} -conf=${CASINOCOIND_CONFIGFILE} -dbcache=${CASINOCOIND_CACHESIZE}
ExecStop=/usr/bin/casinocoind -conf=${CASINOCOIND_CONFIGFILE} stop
[Install]
WantedBy=multi-user.target

View File

@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
#define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
#ifndef STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H__STDC_LIMIT_MACROS
#define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H__STDC_LIMIT_MACROS
namespace leveldb {

View File

@@ -16,16 +16,18 @@ USE_IPV6:=1
USE_QRCODE=1
# define libraries
BOOST_LIB_PATH=$HOME/deps/boost_1_60_0/stage/lib
BDB_LIB_PATH=$HOME/deps/db-5.1.29.NC/build_unix
OPENSSL_LIB_PATH=$HOME/deps/openssl-1.0.2g
MINIUPNPC_LIB_PATH=$HOME/deps/miniupnpc-1.9
BOOST_LIB_PATH=$(HOME)/deps/boost_1_60_0/stage/lib
BDB_LIB_PATH=$(HOME)/deps/db-5.1.29.NC/build_unix
OPENSSL_LIB_PATH=$(HOME)/deps/openssl-1.0.2g
MINIUPNPC_LIB_PATH=$(HOME)/deps/miniupnpc-1.9
# define includes
BOOST_INCLUDE_PATH=$HOME/deps/boost_1_60_0
BDB_INCLUDE_PATH=$HOME/deps/db-5.1.29.NC/build_unix
OPENSSL_INCLUDE_PATH=$HOME/deps/openssl-1.0.2g
MINIUPNPC_INCLUDE_PATH=$HOME/deps/miniupnpc-1.9
BOOST_INCLUDE_PATH=$(HOME)/deps/boost_1_60_0
BDB_INCLUDE_PATH=$(HOME)/deps/db-5.1.29.NC/build_unix
OPENSSL_INCLUDE_PATH=$(HOME)/deps/openssl-1.0.2g/include
MINIUPNPC_INCLUDE_PATH=$(HOME)/deps/miniupnpc-1.9
BOOST_LIB_SUFFIX=-mt
LINK:=$(CXX)
@@ -119,7 +121,7 @@ DEBUGFLAGS=-g
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
xCXXFLAGS=-O2 -std=c++14 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
xCXXFLAGS=-O2 -std=c++14 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-unused-variable \
$(DEBUGFLAGS) $(DEFS) $(HARDENING) $(CXXFLAGS)
# LDFLAGS can be specified on the make command line, so we use xLDFLAGS that only

View File

@@ -239,7 +239,7 @@ Value listunspent(const Array& params, bool fHelp)
CTxDestination address;
if (ExtractDestination(pk, address))
{
const CScriptID& hash = boost::get<const CScriptID&>(address);
const CScriptID& hash = boost::get<CScriptID>(address);
CScript redeemScript;
if (pwalletMain->GetCScript(hash, redeemScript))
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));