Skip to content

Commit

Permalink
1.0.5.1 (#29)
Browse files Browse the repository at this point in the history
* Update to reduce reward to 5%, and change of exchange links

* switch travis branch to 1.0.5.0

* Update README.md

* Set BlockHeight 2 Months out

* Move travis to our branch

* Readd Miniupnp

* [Build] Client 1.0.5.1

* Update checkpoints

* [Core] Disconnect from old peers after fork is reached

* Update README.md

* Update README.md

* Update README.md

* [GUI] Update Exchanges

* [GUI] Update Exchange Header file

* Rename function cpatexLTCClicked

* Fix Mis-spelling

* Update qt version

* Update README.md

* Adjust CLIENT_VERSION after Fork

* Update macdeployqtplus

* Update .travis.yml

* Remove extra language packs

* Rename qt_ to bitcoin_ for translations

* Splash Update

Updated splash screen

* Splash update

Updated splash screen

Co-authored-by: sibcool <sibcool@gmail.com>
Co-authored-by: Liquid369 <45834289+Liquid369@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 6, 2020
1 parent 5efdd77 commit c237f39
Show file tree
Hide file tree
Showing 65 changed files with 243 additions and 327 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ matrix:
before_install:
brew install git;
brew install berkeley-db4;
brew install openssl;
brew install boost@1.60;
brew link boost@1.60 -f;
brew upgrade wget;
wget -O openssl.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/75b573845a17aaf3f7c84dc58e97cf5fe39a502b/Formula/openssl.rb;
brew install ./openssl.rb;
wget -O protobuf.rb https://gist.githubusercontent.com/shlima/b64087606b2f7c9495fcb0bcb886b5be/raw/265e879f7971f80b4543f34179edaaaac3c08413/protobuf260.rb;
brew install ./protobuf.rb;
brew link protobuf -f;
wget -O qt.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/a57d0deab976cd8dee32404abe73f63cc5fbd60d/Formula/qt.rb;
brew install ./qt.rb;
brew link qt -f;
Expand All @@ -37,8 +41,7 @@ matrix:
cd ${TRAVIS_BUILD_DIR};
chmod -R 755 contrib;
echo "Before dmg packaging";
T=$(contrib/qt_translations.py $QTDIR/translations src/qt/locale);
python2.7 contrib/macdeploy/macdeployqtplus -add-qt-tr $T -dmg -fancy contrib/macdeploy/fancy.plist Peepcoin-Qt.app;
python2.7 contrib/macdeploy/macdeployqtplus -dmg -fancy contrib/macdeploy/fancy.plist Peepcoin-Qt.app -add-qt-tr en;
ls -ltr;
echo "DMG file";

Expand Down Expand Up @@ -129,4 +132,4 @@ deploy:
on:
repo: PXN-Foundation/Peepcoin
tags: true
branch: QA
branch: 1.0.5.1
2 changes: 1 addition & 1 deletion Peepcoin-qt.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = peepcoin-qt
VERSION = 1.0.4.1
VERSION = 1.0.5.1
INCLUDEPATH += src src/json src/qt
QT += core gui network printsupport
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE USE_IPV6 BOOST_SPIRIT_THREADSAFE BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN __NO_SYSTEM_INCLUDES
Expand Down
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
[![Build Status](https://travis-ci.com/PXN-Foundation/Peepcoin.svg?branch=master)](https://travis-ci.com/PXN-Foundation/Peepcoin)
[![Build Status](https://travis-ci.org/PXN-Foundation/Peepcoin.svg?branch=1.0.5.1)](https://travis-ci.org/PXN-Foundation/Peepcoin)

Peepcoin v1.0.4.1
# Intro
-----
Peepcoin is a free open source project derived from Bitcoin, with the goal of providing a long-term energy-efficient scrypt-based crypto-currency. Built on the foundation of Bitcoin using the Libzerocoin extension, Peepcoin was Proof-Of-Work until August 2016, then it became pure Proof-Of-Stake.
Peepcoin v1.0.5.1
## Intro

# Specs
Peepcoin is a free open source project derived from Bitcoin, with the goal of providing a long-term energy-efficient scrypt-based crypto-currency. Built on the foundation of Bitcoin using the Libzerocoin extension, Peepcoin was Proof-Of-Work until August 2016, then it became pure Proof-Of-Stake - PoSv1.

Expolorer:
https://chainz.cryptoid.info/pcn/

PoS
## Coin Specifications

Min.stake 2 hours
| Specification | Value |
|:-----------|:-----------|
| Block Spacing | `60 seconds` |
| Stake Minimum Age | `2 hours` |
| Stake Reward Height < 2422000 | `100% p.a` |
| Stake Reward Height >= 2422000 | `5% p.a` |
| Port | `8193` |
| RPC Port | `8194` |

Pos 100% per year
## Expolorer:
https://chainz.cryptoid.info/pcn/

# Build
## Build
Build the wallet from source using the build-guides provided under "docs"


# Wiki
## Wiki
https://github.com/PXN-Foundation/Peepcoin/wiki
12 changes: 12 additions & 0 deletions src/checkpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ namespace Checkpoints
( 896207, uint256("0x9c329d4ec10a8f35dea55a31ad3a5e28c272ecbc2de3575e67a95d2c32dc7d53"))
( 1000000, uint256("0x2c3ab186e34253d3447247985aeff1282856dba1b818b446dfc40123a404537c"))
( 1120535, uint256("0x2fb31e250c23e68cc42e69c826ff87737a9add0f39b3d91dc2fa0f5b311e212d")) // DAPScoin snapshot point (27-Jun-2018 02:00:38 UTC+0)
( 1200000, uint256("0x15cb2cb55f7fef0a5aec4e513537c767f0ca5eb2f041ca5eee8d906a92601064"))
( 1300000, uint256("0x9fab733ce7830b880c40a81c67a95d2e4b8c9f1f96da60fb3e7887e5a4b1a94b"))
( 1400000, uint256("0xf65114b8fd578dbbf7c53ca7d5e82c0c4768401df38832a6086cedaeaa5a2400"))
( 1500000, uint256("0x9ff30020db2eb3359e5b7c0805e858ba5d8582fc44ad4d17658ed86960817234"))
( 1600000, uint256("0x25c2ee5e241cd1646addf803fbce439cf843a4c402569f1a3d3b755888303157"))
( 1700000, uint256("0x79cff47d0dc5815f2acf90a51183f41be259a1a79558ae4d56899466dd70764e"))
( 1800000, uint256("0x25ffe4d10ec53ff5ce16333b2ca77517c632a65248c75144adcdd0c1cdc6c4d4"))
( 1900000, uint256("0xc8ca13dc7f484c469282eada108a7873c99bd10c55484b811a547d02dcc44d07"))
( 2000000, uint256("0xd6b867c283354d308a3afcb149ccbb43fa6ff8faeb29849de7d0bdcb0b47a7e3"))
( 2100000, uint256("0x35943f801e51482490fd5214f60fcafd8d7c3318c50efd620036bf27d7c61484"))
( 2200000, uint256("0x0a35d37a66dfc3937e1ce23406526e38fcd42bdd3efc72cead28b6d861ea3e52"))
( 2300000, uint256("0xb7a4b8001b10f2a1a1a0a19e200ad878cd737667ed17b2bd02145514055f1594"))
;

// TestNet has no checkpoints
Expand Down
4 changes: 2 additions & 2 deletions src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
// 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 0
#define CLIENT_VERSION_REVISION 4
#define CLIENT_VERSION_REVISION 5
#define CLIENT_VERSION_BUILD 1

//Windows has trouble inserting a Build Date, let's set one
#ifdef WIN32
#define BUILD_DATE "Sat March 30 00:00:00 2019"
#define BUILD_DATE "Sat October 19 00:00:00 2019"
#endif

// Converts the parameter X to a string after macro replacement on X has been performed.
Expand Down
24 changes: 16 additions & 8 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,12 @@ int64_t GetProofOfWorkReward(int64_t nFees)
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees)
{
int64_t nSubsidy = nCoinAge * COIN_YEAR_REWARD * 33 / (365 * 33 + 8);

// Reward is 100% so divide by 20 to bring down to 5% - block ‭1969837‬ roughly end of November
if (nBestHeight >= 2422000)
{
nSubsidy = nCoinAge * (COIN_YEAR_REWARD / 20) * 33 / (365 * 33 + 8);
}

if (fDebug && GetBoolArg("-printcreation"))
printf("GetProofOfStakeReward(): create=%s nCoinAge=%" PRId64 "\n", FormatMoney(nSubsidy).c_str(), nCoinAge);
Expand Down Expand Up @@ -2891,14 +2897,16 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
vRecv >> addrFrom >> nNonce;
if (!vRecv.empty())
vRecv >> pfrom->strSubVer;

if (!((pfrom->strSubVer == "/Satoshi:1.0.4/") || (pfrom->strSubVer == "/PXN:1.0.4.1/")))
{
// disconnect from peers other than these sub versions
printf("partner %s using obsolete version %s; disconnecting\n", pfrom->addr.ToString().c_str(), pfrom->strSubVer.c_str());
pfrom->fDisconnect = true;
return false;
}
// Subversion check and disconnect older peers
if (((pfrom->strSubVer == "/Satoshi:1.0.4.0/") ||
(pfrom->strSubVer == "/PXN:1.0.4.1/") ||
(pfrom->strSubVer == "/PXN:1.0.5.0/")) && pfrom->nStartingHeight >= 2422000)
{
// disconnect from peers other than these sub versions after fork
printf("partner %s using obsolete version %s; disconnecting\n", pfrom->addr.ToString().c_str(), pfrom->strSubVer.c_str());
pfrom->fDisconnect = true;
return false;
}

if (!vRecv.empty())
vRecv >> pfrom->nStartingHeight;
Expand Down
2 changes: 1 addition & 1 deletion src/mxe-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sudo apt-get update
sudo apt-get --yes install mxe-${MXE_TARGET}-cc
# sudo apt-get --yes install mxe-${MXE_TARGET}-openssl
# sudo apt-get --yes install mxe-${MXE_TARGET}-boost
# sudo apt-get --yes install mxe-${MXE_TARGET}-miniupnpc
sudo apt-get --yes install mxe-${MXE_TARGET}-miniupnpc
sudo apt-get --yes install mxe-${MXE_TARGET}-qttools
#sudo apt-get --yes install mxe-${MXE_TARGET}-db

Expand Down
19 changes: 16 additions & 3 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,22 @@ void CNode::PushVersion()
CAddress addrYou = (addr.IsRoutable() && !IsProxy(addr) ? addr : CAddress(CService("0.0.0.0",0)));
CAddress addrMe = GetLocalAddress(&addr);
RAND_bytes((unsigned char*)&nLocalHostNonce, sizeof(nLocalHostNonce));
printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str());
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight);
if(nBestHeight >= 2422000) {
printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str());
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight);
} else {
std::string CLIENT_NAME2 = "PXN";
static const int CLIENT_VERSION2 =
1000000 * 1
+ 10000 * 0
+ 100 * 4
+ 1 * 1;
printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str());
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
nLocalHostNonce, FormatSubVersion(CLIENT_NAME2, CLIENT_VERSION2, std::vector<string>()), nBestHeight);
}

}


Expand Down
3 changes: 3 additions & 0 deletions src/obj/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!zerocoin
Binary file removed src/obj/addrman.o
Binary file not shown.
Binary file removed src/obj/alert.o
Binary file not shown.
Binary file removed src/obj/bitcoinrpc.o
Binary file not shown.
Binary file removed src/obj/checkpoints.o
Binary file not shown.
Binary file removed src/obj/crypter.o
Binary file not shown.
Binary file removed src/obj/db.o
Binary file not shown.
Binary file removed src/obj/init.o
Binary file not shown.
Binary file removed src/obj/irc.o
Binary file not shown.
Binary file removed src/obj/kernel.o
Binary file not shown.
Binary file removed src/obj/key.o
Binary file not shown.
Binary file removed src/obj/keystore.o
Binary file not shown.
Binary file removed src/obj/main.o
Binary file not shown.
Binary file removed src/obj/miner.o
Binary file not shown.
Binary file removed src/obj/net.o
Binary file not shown.
Binary file removed src/obj/netbase.o
Binary file not shown.
Binary file removed src/obj/noui.o
Binary file not shown.
Binary file removed src/obj/pbkdf2.o
Binary file not shown.
Binary file removed src/obj/protocol.o
Binary file not shown.
Binary file removed src/obj/rpcblockchain.o
Binary file not shown.
Binary file removed src/obj/rpcdump.o
Binary file not shown.
Binary file removed src/obj/rpcmining.o
Binary file not shown.
Binary file removed src/obj/rpcnet.o
Binary file not shown.
Binary file removed src/obj/rpcrawtransaction.o
Binary file not shown.
Binary file removed src/obj/rpcwallet.o
Binary file not shown.
Binary file removed src/obj/script.o
Binary file not shown.
1 change: 0 additions & 1 deletion src/obj/scrypt-x86.d

This file was deleted.

Binary file removed src/obj/scrypt-x86.o
Binary file not shown.
1 change: 0 additions & 1 deletion src/obj/scrypt-x86_64.d

This file was deleted.

Binary file removed src/obj/scrypt-x86_64.o
Binary file not shown.
Binary file removed src/obj/scrypt.o
Binary file not shown.
Binary file removed src/obj/sync.o
Binary file not shown.
Binary file removed src/obj/txdb-leveldb.o
Binary file not shown.
Binary file removed src/obj/util.o
Binary file not shown.
Binary file removed src/obj/version.o
Binary file not shown.
Binary file removed src/obj/wallet.o
Binary file not shown.
Binary file removed src/obj/walletdb.o
Binary file not shown.
2 changes: 2 additions & 0 deletions src/obj/zerocoin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
Binary file removed src/obj/zerocoin/Accumulator.o
Binary file not shown.
Binary file removed src/obj/zerocoin/AccumulatorProofOfKnowledge.o
Binary file not shown.
Binary file removed src/obj/zerocoin/Coin.o
Binary file not shown.
Binary file removed src/obj/zerocoin/CoinSpend.o
Binary file not shown.
Binary file removed src/obj/zerocoin/Commitment.o
Binary file not shown.
Binary file removed src/obj/zerocoin/ParamGeneration.o
Binary file not shown.
Binary file removed src/obj/zerocoin/Params.o
Binary file not shown.
Binary file removed src/obj/zerocoin/SerialNumberSignatureOfKnowledge.o
Binary file not shown.
Binary file removed src/obj/zerocoin/SpendMetaData.o
Binary file not shown.
Binary file removed src/obj/zerocoin/ZeroTest.o
Binary file not shown.
4 changes: 3 additions & 1 deletion src/qt/bitcoin.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<file alias="twitter">res/icons/twitter.png</file>
<file alias="discord">res/icons/discord.png</file>
<file alias="bleutrade">res/icons/bleutrade.png</file>
<file alias="crex24">res/icons/crex24.png</file>
<file alias="tradesatoshi">res/icons/tradesatoshi.png</file>
<file alias="tradeogre">res/icons/tradeogre.png</file>
<file alias="cryptohub">res/icons/cryptohub.png</file>
<file alias="cpatex">res/icons/cpatex.png</file>
Expand All @@ -61,7 +63,7 @@
</qresource>
<qresource prefix="/images">
<file alias="about">res/images/about.png</file>
<file alias="splash">res/images/splash3.png</file>
<file alias="splash">res/images/splash4.png</file>
<file alias="bkg">res/images/bkg.png</file>
<file alias="bkg2">res/images/bkg2.png</file>
<file alias="2b">res/images/2b.png</file>
Expand Down
71 changes: 27 additions & 44 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,18 +328,14 @@ void BitcoinGUI::createActions()
signMessageAction = new QAction(QIcon(":/icons/edit"), tr("Sign &message..."), this);
verifyMessageAction = new QAction(QIcon(":/icons/transaction_0"), tr("&Verify message..."), this);

bleuBTCAction = new QAction(QIcon(":/icons/bleutrade"), tr("&Bleutrade - PCN/BTC"), this);
bleuBTCAction->setToolTip(tr("Buy Peepcoin with BTC on Bleutrade"));
bleuDOGEAction = new QAction(QIcon(":/icons/bleutrade"), tr("&Bleutrade - PCN/DOGE"), this);
bleuDOGEAction->setToolTip(tr("Buy Peepcoin with DOGE on Bleutrade"));
bleuETHAction = new QAction(QIcon(":/icons/bleutrade"), tr("&Bleutrade - PCN/ETH"), this);
bleuETHAction->setToolTip(tr("Buy Peepcoin with ETH on Bleutrade"));
bleuUSDTAction = new QAction(QIcon(":/icons/bleutrade"), tr("&Bleutrade - PCN/USDT"), this);
bleuUSDTAction->setToolTip(tr("Buy Peepcoin with USDT on Bleutrade"));
tradeOgreAction = new QAction(QIcon(":/icons/tradeogre"), tr("&TradeOgre - PCN/BTC"), this);
tradeOgreAction->setToolTip(tr("Buy Peepcoin for BTC on TradeOgre"));
tradeOgreBTCAction = new QAction(QIcon(":/icons/tradeogre"), tr("&TradeOgre - PCN/BTC"), this);
tradeOgreBTCAction->setToolTip(tr("Buy Peepcoin for BTC on TradeOgre"));
tradeOgreLTCAction = new QAction(QIcon(":/icons/tradeogre"), tr("&TradeOgre - PCN/LTC"), this);
tradeOgreLTCAction->setToolTip(tr("Buy Peepcoin for LTC on TradeOgre"));
cpatexBTCAction = new QAction(QIcon(":/icons/cpatex"), tr("&C-Patex - PCN/BTC"), this);
cpatexBTCAction->setToolTip(tr("Buy Peepcoin for BTC on C-Patex"));
cpatexLTCAction = new QAction(QIcon(":/icons/cpatex"), tr("&C-Patex - PCN/BTC"), this);
cpatexLTCAction->setToolTip(tr("Buy Peepcoin for LTC on C-Patex"));
cpatexDOGEAction = new QAction(QIcon(":/icons/cpatex"), tr("&C-Patex - PCN/DOGE"), this);
cpatexDOGEAction->setToolTip(tr("Buy Peepcoin for DOGE on C-Patex"));
cryptopiaAction = new QAction(QIcon(":/icons/cryptopia"), tr("Cryptopia - Coming Soon"), this);
Expand Down Expand Up @@ -396,14 +392,13 @@ void BitcoinGUI::createActions()
connect(signMessageAction, SIGNAL(triggered()), this, SLOT(gotoSignMessageTab()));
connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(gotoVerifyMessageTab()));

connect(bleuBTCAction, SIGNAL(triggered()), this, SLOT(bleuBTCClicked()));
connect(bleuDOGEAction, SIGNAL(triggered()), this, SLOT(bleuDOGEClicked()));
connect(bleuETHAction, SIGNAL(triggered()), this, SLOT(bleuETHClicked()));
connect(bleuUSDTAction, SIGNAL(triggered()), this, SLOT(bleuUSDTClicked()));
connect(tradeOgreAction, SIGNAL(triggered()), this, SLOT(tradeOgreClicked()));
connect(tradeOgreBTCAction, SIGNAL(triggered()), this, SLOT(tradeOgreBTCClicked()));
connect(tradeOgreLTCAction, SIGNAL(triggered()), this, SLOT(tradeOgreLTCClicked()));
connect(cpatexBTCAction, SIGNAL(triggered()), this, SLOT(cpatexBTCClicked()));
connect(cpatexLTCAction, SIGNAL(triggered()), this, SLOT(cpatexLTCClicked()));
connect(cpatexDOGEAction, SIGNAL(triggered()), this, SLOT(cpatexDOGEClicked()));
connect(otherExchangesAction, SIGNAL(triggered()), this, SLOT(otherExchangesClicked()));

connect(otherExchangesAction, SIGNAL(triggered()), this, SLOT(otherExchangesClicked()));

connect(facebookAction, SIGNAL(triggered()), this, SLOT(facebookActionClicked()));
connect(twitterAction, SIGNAL(triggered()), this, SLOT(twitterActionClicked()));
Expand Down Expand Up @@ -446,16 +441,14 @@ void BitcoinGUI::createMenuBar()
settings->addSeparator();
settings->addAction(optionsAction);

QMenu *exchanges = appMenuBar->addMenu(tr("Exchanges"));
exchanges->addAction(bleuBTCAction);
exchanges->addAction(bleuDOGEAction);
exchanges->addAction(bleuETHAction);
exchanges->addAction(bleuUSDTAction);
QMenu *exchanges = appMenuBar->addMenu(tr("Exchanges"));
exchanges->addSeparator();
exchanges->addAction(tradeOgreAction);
exchanges->addSeparator();
exchanges->addAction(cpatexBTCAction);
exchanges->addAction(cpatexDOGEAction);
exchanges->addAction(tradeOgreBTCAction);
exchanges->addAction(tradeOgreLTCAction);
exchanges->addSeparator();
exchanges->addAction(cpatexBTCAction);
exchanges->addAction(cpatexLTCAction);
exchanges->addAction(cpatexDOGEAction);
exchanges->addSeparator();
exchanges->addAction(otherExchangesAction);
/*
Expand Down Expand Up @@ -678,29 +671,14 @@ void BitcoinGUI::whitepaperClicked()
QDesktopServices::openUrl(QUrl("https://dapscoin.com/whitepaper.pdf"));
}

void BitcoinGUI::bleuBTCClicked()
{
QDesktopServices::openUrl(QUrl("https://bleutrade.com/exchange/PCN/BTC"));
}

void BitcoinGUI::bleuDOGEClicked()
void BitcoinGUI::tradeOgreBTCClicked()
{
QDesktopServices::openUrl(QUrl("https://bleutrade.com/exchange/PCN/DOGE"));
}

void BitcoinGUI::bleuETHClicked()
{
QDesktopServices::openUrl(QUrl("https://bleutrade.com/exchange/PCN/ETH"));
}

void BitcoinGUI::bleuUSDTClicked()
{
QDesktopServices::openUrl(QUrl("https://bleutrade.com/exchange/PCN/USDT"));
QDesktopServices::openUrl(QUrl("https://tradeogre.com/exchange/BTC-PCN"));
}

void BitcoinGUI::tradeOgreClicked()
void BitcoinGUI::tradeOgreLTCClicked()
{
QDesktopServices::openUrl(QUrl("https://tradeogre.com/exchange/BTC-PCN"));
QDesktopServices::openUrl(QUrl("https://tradeogre.com/exchange/LTC-PCN"));
}

void BitcoinGUI::cpatexBTCClicked()
Expand All @@ -713,6 +691,11 @@ void BitcoinGUI::cpatexDOGEClicked()
QDesktopServices::openUrl(QUrl("https://c-patex.com/markets/pcndoge"));
}

void BitcoinGUI::cpatexLTCClicked()
{
QDesktopServices::openUrl(QUrl("https://c-patex.com/markets/pcnltc"));
}

void BitcoinGUI::otherExchangesClicked()
{
QDesktopServices::openUrl(QUrl("https://coinmarketcap.com/currencies/peepcoin/#markets"));
Expand Down
18 changes: 8 additions & 10 deletions src/qt/bitcoingui.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,11 @@ class BitcoinGUI : public QMainWindow
QAction *lockWalletAction;
QAction *aboutQtAction;
QAction *openRPCConsoleAction;
QAction *bleuBTCAction;
QAction *bleuDOGEAction;
QAction *bleuETHAction;
QAction *bleuUSDTAction;
QAction *tradeOgreAction;

QAction *tradeOgreBTCAction;
QAction *tradeOgreLTCAction;
QAction *cpatexBTCAction;
QAction *cpatexLTCAction;
QAction *cpatexDOGEAction;
QAction *otherExchangesAction;
QAction *facebookAction;
Expand Down Expand Up @@ -206,12 +205,11 @@ private slots:
void faq3Clicked();
void swapClicked();
void whitepaperClicked();
void bleuBTCClicked();
void bleuDOGEClicked();
void bleuETHClicked();
void bleuUSDTClicked();
void tradeOgreClicked();

void tradeOgreBTCClicked();
void tradeOgreLTCClicked();
void cpatexBTCClicked();
void cpatexLTCClicked();
void cpatexDOGEClicked();
void otherExchangesClicked();
void facebookActionClicked();
Expand Down
Binary file added src/qt/res/icons/crex24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/icons/tradesatoshi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/qt/res/images/splash4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c237f39

Please sign in to comment.