Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 96bb8193a5d57b0d14b9a5fb16df8f9e134c3ff3 ClubCoin committed Nov 24, 2015
Showing 621 changed files with 323,955 additions and 0 deletions.
@@ -0,0 +1,23 @@
+Copyright (c) 2015- ClubCoin Developers
+Copyright (c) 2014-2015 BlackCoin Developers
+Copyright (c) 2013-2014 NovaCoin Developers
+Copyright (c) 2011-2012 PPCoin Developers
+Copyright (c) 2009-2015 Bitcoin Developers
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
@@ -0,0 +1,9 @@
+Building BlackCoin
+
+See doc/readme-qt.rst for instructions on building BlackCoin QT,
+the intended-for-end-users, nice-graphical-interface, reference
+implementation of BlackCoin.
+
+See doc/build-*.txt for instructions on building blackcoind,
+the intended-for-services, no-graphical-interface, reference
+implementation of BlackCoin.
@@ -0,0 +1,23 @@
+{\rtf1\ansi\deff3\adeflang1025
+{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\froman\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset0 Candara;}{\f6\froman\fprq2\fcharset0 Arial;}{\f7\fnil\fprq2\fcharset0 Mangal;}{\f8\fnil\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}}
+{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
+{\stylesheet{\s0\snext0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\alang1081\loch\f5\fs24\lang1050 Normal;}
+{\s15\sbasedon0\snext16\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\loch\f4\fs28\lang1050 Heading;}
+{\s16\sbasedon0\snext16\sl288\slmult1\ql\nowidctlpar\sb0\sa140\ltrpar\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\loch\f5\fs24\lang1050 Text Body;}
+{\s17\sbasedon16\snext17\sl288\slmult1\ql\nowidctlpar\sb0\sa140\ltrpar\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\loch\f6\fs24\lang1050 List;}
+{\s18\sbasedon0\snext18\ql\nowidctlpar\sb120\sa120\ltrpar\cf1\i\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\loch\f6\fs24\lang1050 Caption;}
+{\s19\sbasedon0\snext19\ql\nowidctlpar\ltrpar\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\loch\f6\fs24\lang1050 Index;}
+}{\*\generator LibreOffice/4.4.2.2$Windows_x86 LibreOffice_project/c4c7d32d0d49397cad38d62472b0bc8acff48dd6}{\info{\author ClubCoin}{\creatim\yr2015\mo7\dy29\hr23\min10}{\revtim\yr2015\mo10\dy12\hr17\min16}{\printim\yr0\mo0\dy0\hr0\min0}}\deftab709
+\viewscale100
+{\*\pgdsctbl
+{\pgdsc0\pgdscuse451\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Default Style;}}
+\formshade{\*\pgdscno0}\paperh16838\paperw11906\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\sectunlocked1\pgndec\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
+{\*\ftnsep}\pgndec\pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\alang1081\loch\f5\fs24\lang1050\qc\nowidctlpar{\cf1\b\kerning1\dbch\af7\langfe1081\ab\rtlch \ltrch\loch\fs24\lang1050
+ClubCoin Software License}
+\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\alang1081\loch\f5\fs24\lang1050\qc\nowidctlpar\b\ab\rtlch \ltrch\loch
+
+\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\alang1081\loch\f5\fs24\lang1050\nowidctlpar{\cf1\kerning1\dbch\af7\langfe1081\rtlch \ltrch\loch\fs24\lang1050
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,}
+\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\langfe1081\dbch\af8\afs24\alang1081\loch\f5\fs24\lang1050\nowidctlpar{\cf1\kerning1\dbch\af7\langfe1081\rtlch \ltrch\loch\fs24\lang1050
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.}
+\par }
Binary file not shown.
@@ -0,0 +1,85 @@
+; example1.nsi
+;
+; This script is perhaps one of the simplest NSIs you can make. All of the
+; optional settings are left to their default settings. The installer simply
+; prompts the user asking them where to install, and drops a copy of example1.nsi
+; there.
+
+;--------------------------------
+
+; The name of the installer
+Name "ClubCoin Setup"
+Caption "ClubCoin cryptocurrency coin setup"
+
+; The file to write
+OutFile "clubcoin-setup.exe"
+
+; The default installation directory
+InstallDir $PROGRAMFILES\ClubCoin
+
+; Request application privileges for Windows Vista
+RequestExecutionLevel admin
+
+Icon "clubcoin.ico"
+BrandingText "(c) 2015 ClubCoin Developers"
+
+SetDatablockOptimize on
+
+;--------------------------------
+
+; Pages
+
+Page license
+LicenseData "clubcoin-license.rtf"
+
+Page directory
+Page instfiles
+
+!define MUI_FINISHPAGE_RUN "$INSTDIR\clubcoin-qt.exe"
+
+UninstPage uninstConfirm
+UninstPage instfiles
+
+
+;--------------------------------
+
+; The stuff to install
+Section "" ;No components page, name is not important
+
+ ; Set output path to the installation directory.
+ SetOutPath $INSTDIR
+
+ ; Put file there
+ File ..\release\clubcoin-qt.exe
+ File libwinpthread-1.dll
+
+ ; write uninstall strings
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ClubCoin" "DisplayName" "ClubCoin (remove only)"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ClubCoin" "UninstallString" '"$INSTDIR\cc-uninst.exe"'
+ WriteUninstaller "cc-uninst.exe"
+
+ CreateShortcut "$DESKTOP\ClubCoin.lnk" "$INSTDIR\clubcoin-qt.exe"
+
+SectionEnd ; end the section
+
+Function .onInstSuccess
+ ExecShell open "$DESKTOP\ClubCoin.lnk"
+FunctionEnd
+
+
+;--------------------------------
+
+; Uninstaller
+
+UninstallText "This will uninstall ClubCoin. Hit next to continue."
+UninstallIcon "clubcoin.ico"
+
+Section "Uninstall"
+
+ Delete "$DESKTOP\ClubCoin.lnk"
+ Delete "$INSTDIR\clubcoin-qt.exe"
+ Delete "$INSTDIR\libwinpthread-1.dll"
+ Delete "$INSTDIR\cc-uninst.exe"
+
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ClubCoin"
+SectionEnd
Binary file not shown.
@@ -0,0 +1,60 @@
+
+ClubCoin development tree
+
+ClubCoin is a PoS-based cryptocurrency forked from BlackCoin.
+
+Resetting the blockchain
+========================
+
+For development purposes or experimentation, the blockchain can be reset,
+restarted and pre-mined by following these steps:
+
+* Stop all nodes - servers, clients, mobile, etc. The alternative is to
+ generate a new genesis block, which isn't hard but isn't plug & play also.
+* Remove the servers' data directories. The Ansible playbook named
+ `reset-ccnodes.yml` can be used to do that while installing new root
+ nodes.
+* Start the servers with empty databases.
+* Mine 402 blocks in PoW, doesn't matter where or how.
+* Transfer some coins so that all server nodes have some money they can use
+ for staking. The idea is for the staking to start as soon as possible on
+ as large number of nodes as possible. An example number of coins is
+ 100,000.
+* Continue mining PoW for at least 1 hour for the transferred coins from the
+ previous steps become mature for staking and that staking starts on all nodes.
+* Stop PoW mining at some point.
+* If this is to be the production chain, make this point in blockchain a
+ checkpoint (see `checkpoints.cpp`).
+
+Parameters such as the PoW block reward, the maturity for mined blocks (101
+blocks) and for staking (1 hour) are all hard-coded in the executables.
+
+
+Development process
+===================
+
+Developers work in their own trees, then submit pull requests when
+they think their feature or bug fix is ready.
+
+The patch will be accepted if there is broad consensus that it is a
+good thing. Developers should expect to rework and resubmit patches
+if they don't match the project's coding conventions (see coding.txt)
+or are controversial.
+
+The master branch is regularly built and tested, but is not guaranteed
+to be completely stable. Tags are regularly created to indicate new
+stable release versions of ClubCoin.
+
+Feature branches are created when there are major new features being
+worked on by several people.
+
+From time to time a pull request will become outdated. If this occurs, and
+the pull is no longer automatically mergeable; a comment on the pull will
+be used to issue a warning of closure. The pull will be closed 15 days
+after the warning if action is not taken by the author. Pull requests closed
+in this manner will have their corresponding issue labeled 'stagnant'.
+
+Issues with no commits will be given a similar warning, and closed after
+15 days from their last activity. Issues closed in this manner will be
+labeled 'stale'.
+
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# install and configure bdb 4.8 manually, from http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
+
+qmake "BDB_LIB_PATH=/usr/local/BerkeleyDB.4.8/lib" "BDB_INCLUDE_PATH=/usr/local/BerkeleyDB.4.8/include" "QMAKE_LFLAGS+=-static-libstdc++"
+nice make -j`nproc`
+
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+#./autogen.sh
+
+export CPPFLAGS="-I/c/devel/deps/build/db-4.8.30.NC/build_unix \
+-I/c/devel/deps/build/openssl-1.0.1l/include \
+-I/c/devel/deps/build \
+-I/c/devel/deps/build/protobuf-2.6.1/src \
+-I/c/devel/deps/build/libpng-1.6.16 \
+-I/c/devel/deps/build/boost_1_57_0 \
+-I/c/devel/deps/build/qrencode-3.4.4"
+
+export LDFLAGS="-L/c/devel/deps/build/db-4.8.30.NC/build_unix \
+-L/c/devel/deps/build/openssl-1.0.1l \
+-L/c/devel/deps/build/miniupnpc \
+-L/c/devel/deps/build/protobuf-2.6.1/src/.libs \
+-L/c/devel/deps/build/libpng-1.6.16/.libs \
+-L/c/devel/deps/build/boost_1_57_0/stage/lib \
+-L/c/devel/deps/build/qrencode-3.4.4/.libs"
+
+export BOOST_ROOT=/c/devel/deps/build/boost_1_57_0
+
+#./configure \
+#--disable-upnp-default \
+#--disable-tests \
+#--with-qt-incdir=/c/Qt/5.3.2/include \
+#--with-qt-libdir=/c/Qt/5.3.2/lib \
+#--with-qt-plugindir=/c/Qt/5.3.2/plugins \
+#--with-qt-bindir=/c/Qt/5.3.2/bin \
+#--with-protoc-bindir=/c/devel/deps/build/protobuf-2.6.1/src
+
+export PATH=${PATH}:/c/devel/deps/build/qtbase-opensource-src-5.3.2/bin
+
+qmake USE_UPNP=-
+
+make
+
Oops, something went wrong.

0 comments on commit 96bb819

Please sign in to comment.