Powercoin / PowerCoinFinal

Powercoin [PWR] Official CoinMarketCap: https://coinmarketcap.com/currencies/powercoin/ *** Official:

Home Page:https://powercoin.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important Notice: PWR Coin will be hard forking at block 823000 around May 14th. You must update to wallet version 2.0.1 prior to the fork. Any coins generated via POS on the old wallet after the fork will be rejected and lost when you update.

Important Links

Development Updates

  • New block explorer - Completed
  • New Professionally Managed Github Repository – Completed
  • New ANN Announcement – Completed
  • New Name And Tagline – Completed
  • Listing At A New Market Cap Site – Completed
  • New Social Pages At Facebook, Twitter, Google Plus, YouTube & Discord – Completed
  • New Logo – Completed
  • Listing At A New Exchange – Completed
  • New Social Media Graphics – Completed
  • Review And Analysis Of Existing Code Deficiencies – Completed
  • Set Up VPS Node For TestNet Testing – Completed
  • Code Rework & Release Of New Binaries – Completed
  • Multiple VPS Seed Nodes – Completed
  • New Website – In Progress
  • New RoadMap – In Progress
  • New White Paper – In Progress
  • 2nd Block Explorer – On The Do List

PWR Coin Specifications

Name: PWR Coin
Ticker: PWR
Maturity: 30 Blocks
Block Size: 8MB
Block time: 60 seconds
POW Algo: Nist5
POS: 1% Annually – Maximum single POS payout is 500 coins
Port: 4504
Rpcport: 4502  

POW Block Reward:
- block 823000-993600    -> 5000 COINS 
- block 993600-1123200   -> 2500 COINS 
- block 1123200-1389600  -> 1250 COINS 
- block 1389600-1915200  ->  750 COINS 
- block 1915200-2440800  ->  500 COINS 
- block 2440800-2966400  ->  400 COINS 
- block 2966400-3492000  ->  300 COINS
- block 3492000 and up   ->  200 COINS

Wallet Instructions

PWR Coin Linux QT Compiled With Ubuntu 16.04.4 x86_64 (Tested 3-19-2018)

Install dependencies

When running the commands in the build instructions below, copy and paste one line and let it complete before running the next line. Watch for prompts in case you need to respond to a requested input and also to watch for any errors if they occur.

sudo add-apt-repository universe
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install build-essential make g++
sudo apt-get install libssl-dev libboost-all-dev libqrencode-dev libminiupnpc-dev software-properties-common libdb4.8-dev libdb4.8++-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qtbase5-dev-tools qt5-qmake qt5-default qttools5-dev-tools libprotobuf-dev protobuf-compiler

Get the source and compile

git clone https://github.com/Powercoin/PowerCoinFinal.git pwrcoin
cd pwrcoin
qmake
make

Note: It's possible the compile may fail and give an error message that you have run out of memory. If this happens please follow the steps below to create a swap file:

fallocate -l 2G /swapfile
chown root:root /swapfile
chmod 0600 /swapfile
sudo bash -c "echo 'vm.swappiness = 10' >> /etc/sysctl.conf"
mkswap /swapfile
swapon /swapfile

After creating the swap file above run the folowing commands again:

qmake
make

Setup And Launch The QT

From the command line:

./pwrcoin-qt

From the desktop GUI:

Double click the PWRcoin-QT icon wherever you have it located in your system

Note: The above will launch the QT and create some necessary files however it will fail and close and will have to be restarted a second time. From then on it will launch with no failures:

Navigate to the location on your computer where the pwrcoin.conf file will need to be setup at - you will know you are in the right folder because the wallet.dat file will be in there:

Create a new file called pwrcoin.conf and add the following lines:

addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere

You will need to replace SomeIPAddressHere with IP addresses that you can find here https://cryptohub.online/glossary/ajax_coin_nodes/58/ or here https://blockexplorer.pwr-coin.com/network

After you add the IP addresses save the pwrcoin.conf file and then you will need to restart the QT wallet for the changes to take effect. You will now note that your wallet is sychronizing the blockchain. If your wallet will not begin to synchronize you should try adding some more/different IP addresses in the pwrcoin.conf file. If your wallet partially synchronizes but then stops at some point and won't progress you should shut it down and restart it. Once your QT wallet is fully synchronized you should check and make sure that the wallet block number matches the block height on the official block eplorer at https://blockexplorer.pwr-coin.com/



PWR Coin Linux Daemon Compiled With Ubuntu 16.04.4 x86_64 (Tested 3-19-2018)

Install dependencies

When running the commands in the build instructions below, copy and paste one line and let it complete before running the next line. Watch for prompts in case you need to respond to a requested input and also to watch for any errors if they occur.

sudo add-apt-repository universe
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install build-essential make g++
sudo apt-get install libssl-dev libboost-all-dev libqrencode-dev libminiupnpc-dev software-properties-common libdb4.8-dev libdb4.8++-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qtbase5-dev-tools qt5-qmake qt5-default qttools5-dev-tools libprotobuf-dev protobuf-compiler

Get The Source Code And Compile

git clone https://github.com/Powercoin/PowerCoinFinal.git pwrcoin
cd pwrcoin/src
make clean -f makefile.unix
make -f makefile.unix

Note: It's possible the compile may fail and give an error message that you have run out of memory. If this happens please follow the steps below to create a swap file:

fallocate -l 2G /swapfile
chown root:root /swapfile
chmod 0600 /swapfile
sudo bash -c "echo 'vm.swappiness = 10' >> /etc/sysctl.conf"
mkswap /swapfile
swapon /swapfile

After creating the swap file above run the folowing commands again:

make clean -f makefile.unix
make -f makefile.unix

Setup And Launch The Daemon

./pwrcoind -daemon 

Note: The above command will launch the daemon and create some necessary files however it will fail with a complaint that your pwrcoin.conf file is not setup properly:

Navigate to the default location where the pwrcoin.conf file will need to be setup at: /root/.pwrcoin/

Once you are inside the .pwrcoin/ directory you will need to create and setup the pwrcoin.conf file:

sudo nano pwrcoin.conf

The bare minimum pwrcoin.conf configuration required to get the daemon running is:

rpcuser=PutRpcUserHere
rpcpassword=PutPasswordHere

Note: The rpcuser and rpcpassword can't be the same they must be different from one another!

While each pwrcoin.conf file may need different setup depending on what you are doing a typical configuration might look like this:

rpcuser=PutRpcUserHere
rpcpassword=PutPasswordHere
rpcallowip=127.0.0.1   
daemon=1
listen=1
server=1
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere
addnode=SomeIPAddressHere

Now that you have created, setup and saved the pwrcoin.conf file you should set it to read only:

sudo chmod 400 pwrcoin.conf

Now you will need to navigate back to the directory where the PWR coin daemon is.

Once you are in the proper directory where the daemon is located you are ready to launch again:

./pwrcoind 

You should get a message that says, "pwrcoin server starting."

Give it a few seconds and check that it is running:

./pwrcoind getinfo

You should get a full response with all of the getinfo output. If you take a look at "blocks": make a note of the block number.

Let the daemon run for several more minutes and once again check it with:

./pwrcoind getinfo

You should compare the block number now to the last one you saw and you should see it climbing higher because it is synchronizing the blockchain. If the number stays at 0 you need to revisit your pwrcoin.conf file and try some different addnodes. A good place to get those is here https://cryptohub.online/glossary/ajax_coin_nodes/58/ or here https://blockexplorer.pwr-coin.com/network

Let your daemon run and check it periodically. Once the block number in getinfo matches the block number on the block explorer you are fully synchronized. If you notice that your daemon reaches a certain block height but then stops synchronizing for any reason it's always a good idea to try stopping and restarting it using the commands listed below:

If for any reason you want to stop the daemon from running use this command:

./pwrcoind stop

If for any reason you need to start the daemon use this command:

./pwrcoind -daemon

About

Powercoin [PWR] Official CoinMarketCap: https://coinmarketcap.com/currencies/powercoin/ *** Official:

https://powercoin.us

License:Other


Languages

Language:C++ 81.5%Language:C 12.8%Language:Assembly 1.5%Language:HTML 1.5%Language:Python 1.1%Language:QMake 0.5%Language:Makefile 0.4%Language:OpenEdge ABL 0.3%Language:Shell 0.2%Language:Objective-C++ 0.1%Language:CSS 0.0%Language:Objective-C 0.0%