diff --git a/README.md b/README.md index 0c7877c..d190beb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -#Curecoin Client -###Client for the CureCoin cryptocurrency +## CureCoin Wallet ### Overview @@ -7,19 +6,21 @@ If you are a newcomer, check out this [this website](http://curecoin.net/) which Joining the Curecoin network is easy: -1. Install the [Folding@home software] (http://folding.stanford.edu/) -2. Pick a username & get a [passkey] (http://folding.stanford.edu/home/faq/faq-passkey/) +1. Install the [Folding@home software](http://folding.stanford.edu/) +2. Pick a username & get a [passkey](http://folding.stanford.edu/home/faq/faq-passkey/) 3. Enter "224497" as the team number to fold under -4. Register on [cryptobullionpools.com] (https://www.cryptobullionpools.com/) with the **exact** same username +4. Register on [cryptobullionpools.com](https://www.cryptobullionpools.com/) with the **exact** same username 5. Expect your coins within 24 hours! ### Standard Installation -1. Windows, Mac, Linux operating system - for client downloads visit [curecoin releases](https://github.com/cygnusxi/CurecoinSource/releases) +1. To see all version for Windows, Mac, Linux wallet downloads visit [curecoin releases](https://github.com/cygnusxi/CurecoinSource/releases) +2. [Windows Download](https://github.com/cygnusxi/CurecoinSource/releases/download/v1.3.4/CurecoinWindowsClientv1-3-4.zip) +3. [Mac Download](https://github.com/cygnusxi/CurecoinSource/releases/download/1.3.0/curecoin-0.1.3.0-mac.dmg) ### Installation for Linux from source -There are two CureCoin clients that you can choose: one with a nice graphical interface, and one that operates entirely in the command-line. The first is highly recommended and is a good choice for most users, but expert users may prefer the command-line (headless) client instead. The GUI client is known as "curecoin-qt" and the headless client is called "curecoind". Installing either one or both is extremely simple. Just follow these directions: +If you do not use Linux see previous section for a prebuilt wallet. There are two CureCoin Linux based clients that you can compile for yourself: one with a nice graphical interface, and one that operates entirely in the command-line. The first is highly recommended and is a good choice for most users, but expert users may prefer the command-line (headless) client instead. The GUI client is known as "curecoin-qt" and the headless client is called "curecoind". Installing either one or both is extremely simple. Just follow these directions: * **Install from source** @@ -32,19 +33,19 @@ There are two CureCoin clients that you can choose: one with a nice graphical in > 1. **sudo apt-get install qt4-qmake libqt4-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential** > 2. From the main directory, run the following: > 3. **qmake && make** - > 4. **sudo make install** Alternatively, don't run that command and just place the binary wherever you want. FOR THE HEADLESS CURECOIND: > 1. **sudo apt-get install libboost-all-dev libqrencode-dev libssl-dev libdb5.3-dev libdb5.3++-dev libminiupnpc-dev dh-make build-essential** - > 2. **cd src/ && mkdir obj/ && make -f makefile.unix** + > 2. **cd src** + > 3. **make -f makefile.unix** > 4. **sudo make install** Alternatively, don't run that command and just place the binary wherever you want. libdb4.8 should also work if libdb5.1 is too high a version for you. Newer versions of Linux will need libdb5.3++-dev ### Reporting bugs or getting assistance -General help for CureCoin can be found on the forums at https://www.curecoin.net/forum or on #curecoin in irc.freenode. The forum is recommended for non frequent users of irc. +General help for CureCoin can be found on the forums at https://www.curecoin.net/forum or on Slack http://slack.curecoin.net:30000/ . The forum is recommended for non frequent users of irc. ### Donations diff --git a/src/kernel.cpp b/src/kernel.cpp index c47e2ff..f9a2a9f 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -26,6 +26,7 @@ static std::map mapStakeModifierCheckpoints = ( 148000, 0x111af91cu ) ; + // Get the last stake modifier and its generation time from a given block static bool GetLastStakeModifier(const CBlockIndex* pindex, uint64& nStakeModifier, int64& nModifierTime) {