Skip to content

sgarnon/PAC

 
 

Repository files navigation

$PAC Core staging tree 0.12.6.0

https://www.paccoin.net

What is $PAC?

$PAC is an experimental new digital currency that enables anonymous, instant payments to anyone, anywhere in the world. $PAC uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried out collectively by the network. $PAC is the name of the open source software which enables the use of this currency.

For more information, as well as an immediately useable, binary version of the $PAC software, see https://wallets.paccoin.net/.

License

$PAC is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.

Development Process

The master branch is meant to be stable. Development is normally done in separate branches. Tags are created to indicate new official, stable release versions of $PAC.

The contribution workflow is described in CONTRIBUTING.md.

Testing

Testing and code review is the bottleneck for development; we get more pull requests than we can review and test on short notice. Please be patient and help out by testing other people's pull requests, and remember this is a security-critical project where any mistake might cost people lots of money.

Automated Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code. Unit tests can be compiled and run (assuming they weren't disabled in configure) with: make check

There are also regression and integration tests of the RPC interface, written in Python, that are run automatically on the build server. These tests can be run (if the test dependencies are installed) with: qa/pull-tester/rpc-tests.py

The Travis CI system makes sure that every pull request is built for Windows and Linux, OS X, and that unit and sanity tests are automatically run.

Manual Quality Assurance (QA) Testing

Changes should be tested by somebody other than the developer who wrote the code. This is especially important for large or high-risk changes. It is useful to add a test plan to the pull request description if testing the changes is not straightforward.

Setting up a masternode on a VPS (only for Cold wallet setup)

Go to your VPS and execute this:

  1. wget https://raw.githubusercontent.com/PACCommunity/PAC/master/pacmn.sh
  2. chmod +x pacmn.sh
  3. ./pacmn.sh

Follow the instructions and: Enter your external IP Enter your masternode genkey The script will setup the environment and run your masternode

Updating a masternode on a VPS to the latest verion (only for Cold wallet setup)

Go to your VPS and execute the following commands on the command line:

  1. wget https://raw.githubusercontent.com/PACCommunity/PAC/master/pac-update.sh
  2. chmod +x pac-update.sh
  3. ./pac-update.sh

Or run this single line to execute the previous commands in one go: wget -q -O- https://raw.githubusercontent.com/PACCommunity/PAC/master/pac-update.sh | bash

Follow the instructions: 1)Do you want to autobackup wallet.dat and continue with the process? [y/n]: Type yes to backup and continue or no to stop process

Updating multiple masternodes on a VPS to the latest verion (only for Cold wallet setup)

  1. Open your command line and run the following command:

    MacOS: curl https://raw.githubusercontent.com/PACCommunity/PAC/master/contrib/masternodetools/PacNodesUpdater.tar.gz -o PacNodesUpdater.tar.gz && tar -xzf PacNodesUpdater.tar.gz && cd PacNodesUpdater

    Linux:wget https://raw.githubusercontent.com/PACCommunity/PAC/master/contrib/masternodetools/PacNodesUpdater.tar.gz && tar -xzf PacNodesUpdater.tar.gz && cd PacNodesUpdater

  2. Open and edit the nodes.csv file by adding the following data in order to login to the each node:

    • hostname: This is the user name used to login to the node (ssh user)

    • ip: Is the address of the node, be it an url or an IP address

    • password: It is the password used by the ssh user to authenticate in the node

      Example in order to update 2 nodes the csv table will look like this:

      hostname ip password
      john 192.168.1.1 12345
      node2 198.39.0.1 12345
  3. Go back to the command line and run the following command: chmod +x updateMNs.sh && ./updateMNs.sh

Notes: Keep an eye on the execution as the script might ask you for confirmation or passwords to authorize certain actions.

About

$PAC - People's Alternative Choice

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.0%
  • C 15.7%
  • Python 9.0%
  • CSS 2.3%
  • M4 2.2%
  • Makefile 1.3%
  • Other 1.5%