Node configuration

Prerequisites

  • Operating system: MacOS(x86 intel chip) or Ubuntu (tested on 18.04).
  • Hardware: 4 cores, 8-16GB RAM, 512 GB drive, arm64 or amd64. Recommended 6-8 cores, 16-32 GB RAM, 1 TB+ drive.
  • Increase the maximum number of open files on your system. Example: ulimit -n 16384. You may wish to add this command to your shell profile so that you don’t need to execute it next time you restart your machine.
  • CLI configuration.
πŸ’‘

Tip: Planning to run your own validator? Validators have different hardware requirements. See Validator setup.

Download binaries and initialize configuration

Clone the axelerate-community repo:

git clone https://github.com/ferrumnet/QPate-community.git
cd QPate-community

Run setup-node.sh to download the QPd binary and configure your node:

./scripts/setup-node.sh -n [mainnet|testnet]

Some additional flags:

  • -a : Version of QPd.
  • -d : Home directory path.
  • --help : Print a complete list of flags.

Verifying Binaries

By default, the binary signatures are downloaded and the binary is verified using the QPdev PGP key. To verify the binary manually, you can download the PGP signature and verify using the following commands:

curl https://keybase.io/QPdev/key.asc | gpg --import
gpg --verify [QPd_binary_signature_path] [QPd_binary_path]

On github the signatures are attached to the releases. To download the signatures from the QP-releases AWS Bucket, you can add .asc to the end of the binary URL. For example, if the path of the binary is:

https://QP-releases.s3.us-east-2.amazonaws.com/QPd/v0.26.0/QPd-darwin-arm64-v0.26.0

The path for the signature will be:

https://QP-releases.s3.us-east-2.amazonaws.com/QPd/v0.26.0/QPd-darwin-arm64-v0.26.0.asc

Home directory

By default the setup-node.sh script sets the home directory for your node as follows:

NetworkHome directory path
mainnet$HOME/.QP
testnet$HOME/.QP_testnet

On a fresh install setup-node.sh puts the following in your node’s home directory:

.QP
β”œβ”€β”€ bin
β”‚Β Β  β”œβ”€β”€ QPd -> /Users/gus/.foo/bin/QPd-vx.y.z
β”‚Β Β  └── QPd-vx.y.z
β”œβ”€β”€ config
β”‚Β Β  β”œβ”€β”€ app.toml
β”‚Β Β  β”œβ”€β”€ config.toml
β”‚Β Β  β”œβ”€β”€ genesis.json
β”‚Β Β  └── seeds.toml
β”œβ”€β”€ lib
β”‚Β Β  └── libwasmvm.${arch}.so
└── logs
Edit this page