Skip to content

pastelnetwork/pastel

Repository files navigation

Pastel v2.2.7 - Vermeer

PastelNetwork

What is Pastel?

🔒 Security Warnings

See important security warnings on the Pastel Security Information page.

Pastel is experimental and a work-in-progress. Use at your own risk.

📒 Deprecation Policy

This release is considered deprecated 16 weeks after the release day. There is an automatic deprecation shutdown feature which will halt the node some time after this 16 week time period. The automatic feature is based on block height.

Getting Started

Building

Build Pastel along with most dependencies from source by running ./build.sh. Currently only Linux and Windows are officially supported.

Dependencies

Main

sudo apt-get install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python python-zmq \
zlib1g-dev wget curl bsdmainutils automake

To build for Windows (on Linux)

sudo apt-get install mingw-w64

## To display a current selection and make a new selection - !!! POSIX version must be selected !!!
sudo update-alternatives --config x86_64-w64-mingw32-gcc
sudo update-alternatives --config x86_64-w64-mingw32-g++

To run test suite

sudo apt-get install python-pip
sudo pip install pyblake2

Build

Default build (for Ubuntu on Ubuntu)

./build.sh -j$(nproc)

For build without built-in CPU miner use

./build.sh -j$(nproc) --disable-mining

Cross-platforms builds on Ubuntu

For Windows
HOST=x86_64-w64-mingw32 ./build.sh -j$(nproc)

Windows build must be done on the clean tree:

make clean && make -C src/univalue clean
For Mac OSX
HOST=x86_64-apple-darwin ./build.sh -j$(nproc)

Apple build must be done on the clean tree:

make clean && make -C src/univalue clean

Test

qa/test-suite/full-test-suite.sh

or

qa/pull-tester/rpc-tests.sh

See here

More info

Pastel Network Docs

Command line help

pasteld Pastel RPC

License

For license information see the file COPYING.